diff options
| author | Jacek Anaszewski <[email protected]> | 2013-11-21 13:34:01 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-12-18 11:50:24 -0200 |
| commit | 11fbea3ef3d2d47c5cba37cf275f043cb41ddbc7 (patch) | |
| tree | b1a2fa2b7dce835e283db98212f48783d45fc1a6 /tools/perf/scripts/python/bin | |
| parent | 4a30d30b87e5aa444a7f5983cd5b7d2466f4cb31 (diff) | |
[media] s5p-jpeg: Ensure setting correct value of the chroma subsampling control
Exynos4x12 has limitations regarding setting chroma subsampling
of an output JPEG image. It cannot be lower than the subsampling
of the raw source image. Also in case of V4L2_JPEG_CHROMA_SUBSAMPLING_GRAY
option the source image fourcc has to be V4L2_PIX_FMT_GREY.
This patch implements try_ctrl callback containing mechanism that
prevents setting invalid value of the V4L2_CID_JPEG_CHROMA_SUBSAMPLING
control.
Signed-off-by: Jacek Anaszewski <[email protected]>
Signed-off-by: Kyungmin Park <[email protected]>
Acked-by: Hans Verkuil <[email protected]>
Signed-off-by: Sylwester Nawrocki <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions