commit | a442940534b77f3892dd629c12b0d01e65d4f314 | [log] [tgz] |
---|---|---|
author | André Almeida <andre.almeida@collabora.com> | Mon Feb 04 12:37:33 2019 -0500 |
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | Thu Feb 07 12:24:03 2019 -0500 |
tree | e15c155e3db1f26c20aed340117ffa42e1b79ec6 | |
parent | adc589d2a20808fb99d46a78175cd023f2040338 [diff] |
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 <andre.almeida@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>