aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorBenoit Parrot <[email protected]>2019-10-07 12:09:58 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-10 13:48:37 -0300
commite20b248051ca0f90d84b4d9378e4780bc31f16c6 (patch)
tree283b46ea8b399ac5ed02f8f058d31766810c9325 /tools/perf/scripts/python/stat-cpi.py
parent06bec72b250b2cb3ba96fa45c2b8e0fb83745517 (diff)
media: ti-vpe: vpe: Make sure YUYV is set as default format
v4l2-compliance fails with this message: fail: v4l2-test-formats.cpp(672): \ Video Capture Multiplanar: TRY_FMT(G_FMT) != G_FMT fail: v4l2-test-formats.cpp(672): \ Video Output Multiplanar: TRY_FMT(G_FMT) != G_FMT ... test VIDIOC_TRY_FMT: FAIL The default pixel format was setup as pointing to a specific offset in the vpe_formats table assuming it was pointing to the V4L2_PIX_FMT_YUYV entry. This became false after the addition on the NV21 format (see above commid-id) So instead of hard-coding an offset which might change over time we need to use a lookup helper instead so we know the default will always be what we intended. Signed-off-by: Benoit Parrot <[email protected]> Fixes: 40cc823f7005 ("media: ti-vpe: Add support for NV21 format") Reviewed-by: Tomi Valkeinen <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions