diff options
author | Benoit Parrot <bparrot@ti.com> | 2019-10-07 17:10:09 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 18:54:22 +0200 |
commit | 3ff3a712a9eabb3d7bf52c263dd1ece054345df4 (patch) | |
tree | 0076018844bfa661b8e3bfe7098a700d9342ffeb /drivers/media/usb/dvb-usb-v2/dvbsky.c | |
parent | media: v4l2-common: add RGB565 and RGB55 to v4l2_format_info (diff) | |
download | linux-3ff3a712a9eabb3d7bf52c263dd1ece054345df4.tar.xz linux-3ff3a712a9eabb3d7bf52c263dd1ece054345df4.zip |
media: ti-vpe: vpe: don't rely on colorspace member for conversion
Up to now VPE was relying on the colorspace value of struct v4l2_format
as an indication to perform color space conversion from YUV to RGB or
not.
Instead we should used the source/destination fourcc codes as a more
reliable indication to perform color space conversion or not.
To do so, we rework the csc module to use "struct v4l2_format *" as
parameters, and reorganize the coefficients tables in a more logical
way.
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/dvbsky.c')
0 files changed, 0 insertions, 0 deletions