linux/drivers/media/video/uvc
Jayakrishnan c854a48a97 [media] uvcvideo: Fix frame drop in bulk video stream
When video endpoint is configured as bulk, a ZLP is sent after every
video frames with size as multiple of 512 bytes. This is done so that
host can detect end of transfer and pass data for processing.
Still, frames that are multiple of 16K in size gets dropped. The ZLP
sent by camera is ignored by uvc_video_decode_bulk(). The makes sure
that the ZLP is not part of a video frame before ignoring it. If ZLP
follows a video frame, then it triggers completion callback.

[mchehab@redhat.com: Fix a small CodingStyle issue]
Signed-off-by: Jayakrishnan Memana <jayakrishnan.memana@maxim-ic.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-07-06 15:26:46 -03:00
..
Kconfig [media] uvc/Kconfig: Fix INPUT/EVDEV dependencies 2012-07-06 10:52:43 -03:00
Makefile [media] uvcvideo: Add debugfs support 2011-12-11 11:22:07 -02:00
uvc_ctrl.c [media] uvcvideo: Fix V4L2 button controls that share the same UVC control 2012-05-20 10:41:18 -03:00
uvc_debugfs.c [media] uvcvideo: Extract video stream statistics 2011-12-11 11:22:08 -02:00
uvc_driver.c [media] uvcvideo: uvc_driver.c: use linux/atomic.h 2012-03-19 14:08:34 -03:00
uvc_entity.c [media] uvcvideo: Fix crash when linking entities 2011-09-21 22:18:07 -03:00
uvc_isight.c [media] uvcvideo: Move fields from uvc_buffer::buf to uvc_buffer 2011-12-11 11:12:05 -02:00
uvc_queue.c [media] uvcvideo: Use videobuf2 .get_unmapped_area() implementation 2012-05-08 13:46:19 -03:00
uvc_status.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_v4l2.c [media] uvcvideo: Fix ENUMINPUT handling 2012-05-08 13:45:53 -03:00
uvc_video.c [media] uvcvideo: Fix frame drop in bulk video stream 2012-07-06 15:26:46 -03:00
uvcvideo.h [media] uvcvideo: Drop unused ctrl member from struct uvc_control_mapping 2012-05-07 16:41:57 -03:00