aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2023-12-29 16:41:55 +0100
committerMauro Carvalho Chehab <[email protected]>2024-02-01 06:57:35 +0100
commit26b53392ca0e3c86df9a2bf7eb29a86a72377a37 (patch)
tree8f0bd174fdcf97fccbbdbdad9935ff74ae1079c0 /tools/perf/scripts/python
parent592bb51d048c180ac9f5a52167548f18fe896a43 (diff)
media: atomisp: Refactor sensor crop + fmt setting
There are 3 code-paths all of 3 which need to do: 1. Get try or active state 2. lock state 3. Call atomisp_set_crop() 4. Call v4l2_subdev_call(input->camera, pad, set_fmt, state, fmt) 5. unlock state Change atomisp_set_crop into atomisp_set_crop_and_fmt() which does all of this and change the 3 code-paths which need this to use the new atomisp_set_crop_and_fmt() function. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions