diff options
| author | Hans Verkuil <[email protected]> | 2017-03-06 11:23:15 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-03-22 10:16:17 -0300 |
| commit | 5086924ad4f219ad6498b2cb217a98637b0b55b9 (patch) | |
| tree | b19234532ffdef9582dc9fbd33a4a53f1cd2e210 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | 733e009c37b6caa219d7057838582d1259c4554f (diff) | |
[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 <[email protected]>
Tested-by: Vincent Abriou <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions