summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/cec
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-03-06 11:23:15 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-03-22 10:16:17 -0300
commit5086924ad4f219ad6498b2cb217a98637b0b55b9 (patch)
treeb19234532ffdef9582dc9fbd33a4a53f1cd2e210 /Documentation/media/uapi/cec
parent733e009c37b6caa219d7057838582d1259c4554f (diff)
downloadop-kernel-dev-5086924ad4f219ad6498b2cb217a98637b0b55b9.zip
op-kernel-dev-5086924ad4f219ad6498b2cb217a98637b0b55b9.tar.gz
[media] vivid: fix try_fmt behavior
vivid_try_fmt_vid_cap() called tpg_calc_line_width to calculate the sizeimage value, but that tpg function uses the current format, not the proposed (tried) format. Rewrote this code to calculate this correctly. The vivid_try_fmt_vid_out() code was completely wrong w.r.t. sizeimage, and neither did it take the vdownsampling[] factors into account. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Tested-by: Vincent Abriou <vincent.abriou@st.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/cec')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud