aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <[email protected]>2019-04-29 12:16:56 -0400
committerMauro Carvalho Chehab <[email protected]>2019-05-28 15:56:44 -0400
commit65efeca0a6411139fc1956805f6334f3decc3c1b (patch)
tree18c51ea3a049dd27e2a770436653e38a1a377783 /tools/perf/scripts/python
parente81a9076b4d60351bd574bc1c353793301427635 (diff)
media: cx25840: set_fmt operation should clamp out-of-range picture sizes
According to V4L2 API set_fmt subdev operation should not return an error on out-of-range picture sizes, the values should be clamped instead to the supported range. The cx25840 datasheet says that the chip is capable of scaling down the picture width and height, respectively, 16 and 8 times. These values agree with what the old implementation enforced. Signed-off-by: Maciej S. Szmigiero <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions