OMAPDSS: DISPC: Allow both upscaling and downscaling of chroma
authorArchit Taneja <archit@ti.com>
Wed, 22 Aug 2012 11:34:48 +0000 (17:04 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 26 Sep 2012 11:58:49 +0000 (14:58 +0300)
commit20fbb50be4ff22b443183ffb4b5e6dd0691a4fc1
treea42b5e78d453c585e297249886561e97e3648f82
parent8ba85306ba0fd87a3c15a02fe83d817832705a7d
OMAPDSS: DISPC: Allow both upscaling and downscaling of chroma

In the function dispc_plane_set_scaling_uv(), create a parameter which tells if
we want to upscale or downscale the chroma plane.

Downscaling of chroma is required by writeback pipeline for converting the input
YUV444 color format to YUV422 or NV12.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dispc.c