aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2017-11-27 19:27:32 -0500
committerMauro Carvalho Chehab <[email protected]>2018-05-17 06:22:08 -0400
commit3d7899c21fbba1706014fcbb2a499ea24e6f103c (patch)
treee6779eb9f457e47340c157c90ae7094f8f351190 /tools/perf/scripts/python
parentb4ccae1025f3c7dac3c35019369627622ec01e94 (diff)
media: v4l: vsp1: Reset the crop and compose rectangles in the set_fmt helper
To make vsp1_subdev_set_pad_format() usable by entities that support selection rectangles, we need to reset the crop and compose rectangles when setting the format on the sink pad. Do so and replace the custom set_fmt implementation of the histogram code by a call to vsp1_subdev_set_pad_format(). Resetting the crop and compose rectangles for entities that don't support crop and compose has no adverse effect as the rectangles are ignored anyway. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Jacopo Mondi <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions