linux/drivers/media/usb
Frank Schaefer 4078d625c9 [media] em28xx: move caching of pointer to vmalloc memory in videobuf to struct em28xx_buffer
In the current code em28xx_urb_data_copy() caches the pointer to the vmalloc
memory in videobuf locally.
The alternative would be to call videobuf_to_vmalloc() for each processed USB
data packet (isoc USB transfers => 64 times per URB) in the em28xx_copy_*()
functions.
With the next commits, the data processing code will be split into functions
for serveral reasons:
- em28xx_urb_data_copy() is generally way to long, making it less readable
- there is code duplication between VBI and video data processing
- support for em25xx data processing (uses a different header and frame
  end signaling mechanism) will be added
This would require extensive usage of pointer-pointers, which usually makes the
code less readable and prone to bugs.
The better solution is to cache the pointer in struct em28xx_buffer.
This also improves consistency, because we already track the buffer fill count there.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2012-12-22 20:55:01 -02:00
..
au0828 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
b2c2
cpia2 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
cx231xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
dvb-usb [media] dw2102: Declare MODULE_FIRMWARE usage 2012-12-04 14:42:09 -02:00
dvb-usb-v2 [media] rtl28xxu: add NOXON DAB/DAB+ USB dongle rev 2 2012-11-28 09:51:22 -02:00
em28xx [media] em28xx: move caching of pointer to vmalloc memory in videobuf to struct em28xx_buffer 2012-12-22 20:55:01 -02:00
gspca [media] gspca_sonixj: Add a small delay after i2c_w1 2012-12-21 13:40:19 -02:00
hdpvr [media] drivers/media/usb/hdpvr/hdpvr-core.c: fix error return code 2012-11-22 14:22:31 -02:00
pvrusb2 [media] pvr2: fix minor storage 2012-11-21 18:10:33 -02:00
pwc [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
s2255 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
siano [media] siano: fix RC compilation 2012-11-07 11:09:08 +01:00
sn9c102 [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
stk1160 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
stkwebcam [media] stk-webcam: Add an upside down dmi table, and add the Asus G1 to it 2012-12-21 13:34:30 -02:00
tlg2300 [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
tm6000 [media] tm6000-dvb: Fix module unload 2012-12-21 18:45:31 -02:00
ttusb-budget
ttusb-dec
usbvision [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
uvc [media] uvcvideo: Fix control value clamping for unsigned integer controls 2012-11-28 10:31:14 -02:00
zr364xx [media] v4l: Convert drivers to use monotonic timestamps 2012-12-21 10:56:43 -02:00
Kconfig [media] au0828: remove forced dependency of VIDEO_AU0828 on VIDEO_V4L2 2012-12-17 14:31:26 -02:00
Makefile