diff options
author | Archit Taneja <archit@ti.com> | 2013-12-12 09:36:03 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-07 09:57:32 +0100 |
commit | 30496799b07137654d2892270d063a4559acff3d (patch) | |
tree | 44474b8d0e3f5f66112d52bb06d2dee6abe9ea65 /drivers/nubus | |
parent | [media] v4l: ti-vpe: Add helper to perform color conversion (diff) | |
download | linux-30496799b07137654d2892270d063a4559acff3d.tar.xz linux-30496799b07137654d2892270d063a4559acff3d.zip |
[media] v4l: ti-vpe: enable CSC support for VPE
Use the csc library functions to configure the CSC block in VPE.
Some changes are required in try_fmt to handle the pix->colorspace parameter
more correctly. Previously, we copied the source queue colorspace to the
destination queue colorspace as we didn't support RGB formats. Now, we configure
pix->colorspace based on the color format set(and the height of the image if
it's a YUV format).
Add basic RGB color formats to the list of supported vpe formats.
If the destination format is RGB colorspace, we also need to use the RGB output
port instead of the Luma and Chroma output ports. This requires configuring the
output data descriptors differently.
Also, make the default colorspace V4L2_COLORSPACE_SMPTE170M as that resembles
the Standard Definition colorspace more closely.
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions