aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2018-10-04 16:44:01 -0400
committerMauro Carvalho Chehab <[email protected]>2018-11-20 13:28:20 -0500
commit8cbd94bda98368d9fc0c5d69f64e221dbcb5a3a8 (patch)
tree837551426aeff8b42c9fd6e54ebee75473d38d66 /tools/perf/scripts/python/export-to-sqlite.py
parent177bbc67812d96dfec517ef293017ca614a0955a (diff)
media: v4l2-ioctl: add QUIRK_INVERTED_CROP
Some old Samsung drivers use the legacy crop API incorrectly: the crop and compose targets are swapped. Normally VIDIOC_G_CROP will return the CROP rectangle of a CAPTURE stream and the COMPOSE rectangle of an OUTPUT stream. The Samsung drivers do the opposite. Note that these drivers predate the selection API. If this 'QUIRK' flag is set, then the v4l2-ioctl core will swap the CROP and COMPOSE targets as well. That way backwards compatibility is ensured and we can convert the Samsung drivers to the selection API. Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Niklas Söderlund <[email protected]> Acked-by: Sakari Ailus <[email protected]> Reviewed-by: Sylwester Nawrocki <[email protected]> Tested-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions