]> 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)
commit041514466f7bcd99ec65fa28431860eaad2c205a
tree73ab3376fd255d8d9e61fa0f03de967fddd4f2d6
parent36809d2c05c3eb71da7393440805f93d95caed7e
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