On Fri, Dec 07, 2012 at 12:43:44PM +0100, Laurent Pinchart wrote: > The preview engine includes filters that consume columns and lines as > part of their operation, thus resulting in a cropped image. To allow > turning those filters on/off during streaming without affecting the > output image size, the driver adds additional cropping to make the total > number of cropped columns and lines constant regardless of which filters > are enabled. > > This process needlessly includes the CFA filter, as whether the filter > is enabled only depends on the sink pad format, which can't change > during streaming. > > Exclude the CFA filter from the preview engine margins. > > Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> > --- > drivers/media/platform/omap3isp/isppreview.c | 40 +++++++++++++------------ > 1 files changed, 21 insertions(+), 19 deletions(-) Thanks! Acked-by: Sakari Ailus <sakari.ailus@xxxxxx> -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html