]> git.baikalelectronics.ru Git - kernel.git/commit
media: staging: rkisp1: rsz: change (hv)div only if capture format is YUV
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Sun, 12 Apr 2020 12:05:03 +0000 (14:05 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 5 May 2020 15:07:01 +0000 (17:07 +0200)
commit0d6466d08193684dbeb9996ce6e0a70c7617524b
tree73ab3376fd255d8d9e61fa0f03de967fddd4f2d6
parent9bedb670990442d0c294c0ccd998c5d5d3ead87e
media: staging: rkisp1: rsz: change (hv)div only if capture format is YUV

RGB formats in selfpath should receive input format as YUV422.
The resizer input format is always YUV422 and therefore
if the capture format is RGB, the resizer should not change
the YUV rations.

Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/rkisp1/rkisp1-resizer.c