aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorGuilherme Alcarde Gallo <[email protected]>2019-11-10 19:33:21 +0100
committerMauro Carvalho Chehab <[email protected]>2019-12-16 10:22:00 +0100
commit69e39d40587b8d7538f966607299c360dc935b1f (patch)
tree122d312052f30225a48ec9d6945ab3d630c95433 /tools/perf/scripts/python/event_analyzing_sample.py
parent94010145a58f169e73e6c7e88b57017112814955 (diff)
media: vimc: Implement get/set selection in sink
Add support for the sink pad of scaler subdevice to respond VIDIOC_G_SELECTION and VIDIOC_S_SELECTION ioctls with the following targets: V4L2_SEL_TGT_COMPOSE_BOUNDS and V4L2_SEL_TGT_CROP. * Add new const struct crop_rect_default to initialize subdev scaler properly. * Make changes in sink pad format reflect to the crop rectangle. E.g. changing the frame format to a smaller size one can make the former crop rectangle selects a non existing frame area. To solve this situation the crop rectangle is clamped to the frame boundaries. * Clamp crop rectangle respecting the sink bounds during set_selection ioctl. Co-developed-by: Danilo Figueiredo Rocha <[email protected]> Signed-off-by: Guilherme Alcarde Gallo <[email protected]> Signed-off-by: Danilo Figueiredo Rocha <[email protected]> Acked-by: Helen Koike <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions