aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/vimc/vimc-sensor.c
diff options
context:
space:
mode:
authorAndrĂ© Almeida <[email protected]>2019-02-04 17:37:33 +0000
committerMauro Carvalho Chehab <[email protected]>2019-02-07 17:24:03 +0000
commita442940534b77f3892dd629c12b0d01e65d4f314 (patch)
treee15c155e3db1f26c20aed340117ffa42e1b79ec6 /drivers/media/platform/vimc/vimc-sensor.c
parentmedia: vimc: Add vimc-streamer for stream control (diff)
downloadkernel-a442940534b77f3892dd629c12b0d01e65d4f314.tar.gz
kernel-a442940534b77f3892dd629c12b0d01e65d4f314.zip
media: vivid: add vertical down sampling to imagesize calc
To correctly set the size of the image in a plane, it's needed to divide the height of image by the vertical down sampling factor. This was only happening in vivid_try_fmt_vid_cap(), but now it applied in others sizeimage calculations as well. Signed-off-by: AndrĂ© Almeida <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-sensor.c')
0 files changed, 0 insertions, 0 deletions