summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/gspca.h
AgeCommit message (Collapse)Author
2008-12-29gspca - many subdrivers: Set 'const' the pixel format table.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-12-10gspca - main: Allow subdrivers to handle v4l2_streamparm requests.Jean-Francois Moine
From: Jim Paris <jim@jtan.com> Add get_streamparm and set_streamparm operations so subdrivers can get/set stream parameters such as framerate. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-19gspca: Remove the event counter and simplify the frame wait.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-19gspca: Use the ref counting of v4l2 for disconnection.Jean-Francois Moine
From: Hans de Goede <hdegoede@redhat.com> Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-19gspca: Revert the previous change.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-19gspca: Move the video device to a separate area.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The video device was part of the gspca device. On device disconnection while streaming, the device structure is freed at close time. In this case, the remaining close job on the video device run out of allocated memory. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-18gspca: Lock the subdrivers via module_get/put.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The previous subdriver protection against rmmod was done via the file operations table in the device descriptor. On device disconnection while streaming, the device structure was freed at close time, and the module_put still used the module name in the freed area. Now, explicit module get/put are done on open and close. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-18gspca: Memory leak when disconnect while streaming.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> As a side effect, the sd routine stop0 is called on disconnect. This permits the subdriver to free its resources. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-11-14gspca: New subdriver parameter 'bulk_nurbs'.Jean-Francois Moine
From: Antonio Ospite <ospite@studenti.unina.it> Some webcams with image transfer by bulk messages accept one or many permanent bulk read. Priority: normal Signed-off-by: Antonio Ospite <ospite@studenti.unina.it> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-23gspca: Add a flag for empty ISOC packets.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - This flag is needed by some subdrivers as tv8532 for start of frame detection. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-17gspca: Compilation problem of gspca.c and the kernel version.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-10-03gspca: Cleanup code and small changes.Jean-Francois Moine
From: Erik Andren <erik.andren@gmail.com> - convert some #define to enum. - remove some comments. - return ENOMEM on memory allocation failure. Priority: normal Signed-off-by: Erik Andren <erik.andren@gmail.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-29gspca: Image transfer by bulk uses altsetting 0 with any buffer size.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - gspca_dev field 'bulk_size' added. - when only one altsetting usable, do image transfer by bulk. Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-28gspca: Use a kref to avoid potentialy blocking forever in disconnect.Jean-Francois Moine
From: Frank Zago <frank@zago.net> Priority: normal Signed-off-by: Frank Zago <frank@zago.net> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-20gspca: Return error code from stream start functions.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-20gspca: New exported function to retrieve the current frame buffer.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-09-04gspca: Add support of image transfer by bulk and minor change.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - image transfer by bulk - set the max number of transfer URS's to 4 (was 16) Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-27gspca: Have a clean kmalloc-ated buffer for USB exchanges.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The USB buffer may be used for DMA and there may be a caching problem if the buffer is part of the device structure. Thanks to Alan Stern. Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-26gspca: Change some subdriver functions for suspend/resume.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - new function 'init' called on probe and resume - remove the functions 'open' and 'closed' - 'stopN' and 'stop0' are optional Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-23gspca: Set DISABLED the disabled controls at query control time.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-22gspca: Revert the previous patch (sensor upside down).Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> Priority: high Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-22gspca: V4L2_CAP_SENSOR_UPSIDE_DOWN added as a cap for some webcams.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> This patch adds a V4L2_CAP_SENSOR_UPSIDE_DOWN flag to the capabilities flags, and sets this flag for the Philips SPC200NC cam (which has its sensor installed upside down). The same flag is also needed and added for the Philips SPC300NC. Together with a patch to libv4l which adds flipping the image in software this fixes the upside down display with the SPC200NC cam. Signed-of-by: Hans de Goede <j.w.r.degoede@hhs.nl> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-21gspca: suspend/resume added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: high Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-11gspca: Remove the unused field 'dev_name' of the device structure.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-30gspca: Don't use CONFIG_VIDEO_ADV_DEBUG as a compile option.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> This option is changed to GSPCA_DEBUG and it is set by default in gspca.h. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-14gspca: Buffers for USB exchanges cannot be in the stack.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> gspca: Protect dq_callback() against simultaneous USB exchanges. Temporary buffer for USB exchanges added in the device struct. (all) Use a temporary buffer for all USB exchanges. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-10gspca: Add auto gain/exposure to sonixb and tas5110 / ov6650 sensors.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> sonixb: Do auto gain for tas5110 / ov6650 sensors. pac207: Move the auto_gain function to gspca. gspca: New function gspca_auto_gain_n_exposure(). Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-08gspca: Change the USERPTR mechanism.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> main: Change the packet copy mechanism for userptr. Cannot do reqbufs ioctl when already done and count != 0. Accept count < frame size in read(). Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-05gspca: v4l2_pix_format in each subdriver.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> main: Parameter comp_fac removed. main, pac207: get_buff_size op removed. (all) v4l2_pix_format in each subdriver. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-04gspca: pac207 frames no more decoded in the subdriver.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> videodev2: New pixfmt pac207: Remove the specific decoding. main: get_buff_size operation added for the subdriver. Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-04gspca: Input buffer overwritten in spca561 + cleanup code.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> spca561: Input buffer may be changed on reg write. (all sd): Cleanup code, 'const' added. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-03gspca: Make CONFIG_VIDEO_ADV_DEBUG actually work.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-06-30gspca: all subdriversJean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - remaning subdrivers added - remove the decoding helper and some specific frame decodings Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-06-12Many bug fixes, zc3xx added.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-05-04Fix protection problems in the main driver.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> - Protect format change when streaming active. - Protect USB exchanges on close. - Set a timeout in frame wait. - Have only one capture file and free the resources when closing this file. - Simplify the URB buffer. - Don't reset the control values at open time in pac207. - Fix compilation warnings of stk014. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-04-23Subdriver pac207 added and minor changes.Jean-Francois Moine
From: Hans de Goede <j.w.r.degoede@hhs.nl> pac207 added. Check status on mutex lock. Call back on frame dequeue. Free the resources on last close only. Avoid URB and ISOC errors on close. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-04-12Initial release of gspca with only one driver.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>