diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2018-10-04 16:12:06 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-11-20 13:53:57 -0500 |
commit | f72b9d8cfcd60f76146ac5ec31b0284fab0071b5 (patch) | |
tree | 2089e766ae59040b308f9458bd44b324327eba00 /include/media | |
parent | 158efdeebc4871aebd4d99ee009a350515e9d509 (diff) |
media: s5p-g2d: convert g/s_crop to g/s_selection
Replace g/s_crop by g/s_selection and set the V4L2_FL_QUIRK_INVERTED_CROP
flag since this is one of the old drivers that predates the selection
API. Those old drivers allowed g_crop when it really shouldn't have since
g_crop returns a compose rectangle instead of a crop rectangle for the
CAPTURE stream, and vice versa for the OUTPUT stream.
Also drop the now unused vidioc_cropcap.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions