linux/drivers/media/v4l2-core
Hans Verkuil 95dd7b7e30 [media] v4l2-ioctl.c: improve cropcap compatibility code
- Add a check for the case that both the cropcap and g_selection ops
  are NULL. This shouldn't happen, but I feel happier if the code
  guards against this.

- If g_selection exists, then ignore ENOTTY and ENOIOCTLCMD error
  codes from cropcap. Just assume square pixelaspect ratio in that
  case. This situation can happen if the bridge driver's cropcap op
  calls the corresponding subdev's op. So the cropcap ioctl is set,
  but it might return ENOIOCTLCMD anyway. In the past this would
  just return an error which is wrong.

- Call cropcap first and let g_selection overwrite the bounds and
  defrect. This safeguards against subdev cropcap implementations
  that set those rectangles as well. What g_selection returns has
  priority over what such cropcap implementations return.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-05-06 15:43:45 -03:00
..
Kconfig
Makefile
tuner-core.c
v4l2-async.c
v4l2-clk.c
v4l2-common.c
v4l2-compat-ioctl32.c [media] media: v4l2-compat-ioctl32: fix missing reserved field copy in put_v4l2_create32 2016-04-13 17:08:30 -03:00
v4l2-ctrls.c
v4l2-dev.c [media] media: Add obj_type field to struct media_entity 2016-04-13 17:20:22 -03:00
v4l2-device.c
v4l2-dv-timings.c
v4l2-event.c
v4l2-fh.c [media] media: Change v4l-core to check if source is free 2016-02-27 08:46:55 -03:00
v4l2-flash-led-class.c
v4l2-ioctl.c [media] v4l2-ioctl.c: improve cropcap compatibility code 2016-05-06 15:43:45 -03:00
v4l2-mc.c [media] media: Rename is_media_entity_v4l2_io to is_media_entity_v4l2_video_device 2016-04-13 17:20:48 -03:00
v4l2-mem2mem.c
v4l2-of.c
v4l2-subdev.c [media] media: change pipeline validation return error 2016-04-29 08:07:17 -03:00
v4l2-trace.c
vb2-trace.c
videobuf2-core.c [media] media: vb2: Fix regression on poll() for RW mode 2016-04-25 10:21:23 -03:00
videobuf2-dma-contig.c
videobuf2-dma-sg.c
videobuf2-dvb.c
videobuf2-memops.c [media] vb2-memops: Fix over allocation of frame vectors 2016-04-25 10:22:55 -03:00
videobuf2-v4l2.c [media] media: vb2: Fix regression on poll() for RW mode 2016-04-25 10:21:23 -03:00
videobuf2-vmalloc.c
videobuf-core.c [media] V4L: fix a confusing function name 2016-03-03 07:30:43 -03:00
videobuf-dma-contig.c
videobuf-dma-sg.c mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macros 2016-04-04 10:41:08 -07:00
videobuf-dvb.c
videobuf-vmalloc.c