diff options
| author | Benoit Parrot <bparrot@ti.com> | 2019-10-07 18:10:09 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-10-10 19:54:22 +0300 |
| commit | 3ff3a712a9eabb3d7bf52c263dd1ece054345df4 (patch) | |
| tree | 0076018844bfa661b8e3bfe7098a700d9342ffeb /include | |
| parent | b373f84d77e1c409aacb4ff5bb5726c45fc8b166 (diff) | |
| download | linux-3ff3a712a9eabb3d7bf52c263dd1ece054345df4.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
