summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-08-08v4l2: extend MPEG Encoding API with AVC and AACHans Verkuil
From: Janne Grunau <j@jannau.net> Adds Advanced Audio Coding (AAC) and MPEG-4 Advanced Video Coding (AVC/H.264) as audio/video codecs to the extended controls API. Updates cx2341x driver to the new values. Priority: normal Signed-off-by: Janne Grunau <j@jannau.net> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-07ivtv: update ivtv version numberHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Since for 2.6.27 ivtvfb uses DMA for write it is important that you can identify which ivtv version supports this and which doesn't. Increase the version number so we can tell the difference. Thanks to Ian Armstrong for pointing this out to me. Priority: high Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-28v4l2-ctl: show name and afc when calling VIDIOC_G_TUNERHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-27v4l2-apps: some capture_example improvementsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - show progress even when sending captured data to stdout - use bytesused rather than length - use /dev/video0 instead of /dev/video (conform xawtv tools) Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-25First mxb cleanup phaseHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-27v4l2-ioctl: do not try to handle private V4L1 ioctlsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Some drivers (e.g. zoran) have private V4L1 ioctls. Do not try to pass them to v4l1_compat_translate because then the driver will never see them. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-05bttv: Add support for Encore ENLTV2-FMMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil (www.cdibrasil.com.br/) for sponsoring this development. Priority: normal Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05Fix mute on bttv driverMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05Add support for TCL tuner MF02GIP-5N-EMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil (www.cdibrasil.com.br/) for sponsoring this development. Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05saa7134: Add NEC prococol IR decoding capabilityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch adds the capability of decoding NEC protocol, received via GPIO18 line. This GPIO port can trigger saa7134 IRQ. A future improvement would be to make it a little more generic to work also with GPIO16 line. A pure IRQ code didn't work, since some delays were introduced on the tests we did. A possible approach would be to use polling at a rate of 2.5 ms or less. If a new code were taken, a code similar to nec_task() could be used. However, this would add an extra overhead to kernel, and will consume more power. Due to that, we took an hybrid approach: an IRQ upper half to trigger when a new key is received and a bottom half to convert pulse-distance into a keycode. The bottom half is polling based, to improve performance. During the bottom half proccess, GPIO18 IRQ line is disabled, preventing IRQ reentrancy and improving performance a little bit. Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) for sponsoring this development. Priority: normal Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05Improve scripts to allow developers to add a hint about patch priorityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> After this patch, a new meta-tag will be added, to give a hint about the priority: low - patches that add new drivers that aren't ready for kernel, but it would be interesting to be at the main tree; normal - Patches that will be merged on the next merge window; high - Bug fixes Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05Remove library .so files from hg statusMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-fixesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04ivtv/cx18-ctl: fix same overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04v4l2-dbg/v4l2-ctl: fix buffer overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04v4l: fix compile errors/warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04backport changeset c9b1a9b0ec5cc30279fd51ea11f04432683961ccMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> kernel-sync: Author: Randy Dunlap <randy.dunlap@oracle.com> Date: Mon Jul 28 15:39:38 2008 -0300 V4L/DVB (8549a): fix kernel-doc warning, function name, and docbook filename Change function name in kernel-doc and add kernel-doc for parameter @index: Warning(linhead//drivers/media/video/videodev.c:2090): No description found for parameter 'index' Also change source file name in DocBook/videobook.tmpl to match the new source file name. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-31uvcvideo: don't use stack-based buffers for USB transfers.Mauro Carvalho Chehab
From: Laurent Pinchart <laurent.pinchart@skynet.be> Data buffers on the stack are not allowed for USB I/O. Use dynamically allocated buffers instead. Signed-off-by: Bruce Schmid <duck@freescale.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-30uvcvideo: Add support for two Bison Electronics webcamsMauro Carvalho Chehab
From: Laurent Pinchart <laurent.pinchart@skynet.be> The Bison Electronics 5986:0300 and 5986:0303 webcams require the UVC_QUIRK_PROBE_MINMAX quirk. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-02Add to .hgignore v4l/oss and v4l/modules.orderMauro Carvalho Chehab
From: Igor M. Liplianin <liplianin@me.by> Add to .hgignore v4l/oss and v4l/modules.order Signed-off-by: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-bklMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~mkrufky/cxusbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~jfrancois/gspca/Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-04merge: http://linuxtv.org/hg/~hgoede/v4l-dvbMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-03libv4l: mmap return value should be void * not voidhans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: mmap return value should be void * not void Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: use driver read() when possiblehans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> When the driver supports read() and we are not converting let the driver handle read() instead of emulating it with mmap mode Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: remove 2 unused variable declarationshans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: remove 2 unused variable declarations Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: drop appl-patcheshans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> Drop the appl-patches dir, all application patches are now available and tracked here: http://linuxtv.org/v4lwiki/index.php/Libv4l_Progress Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: add rgb24 <-> bgr24 conversionhans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: add rgb24 <-> bgr24 conversion Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: prefer native formatshans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> When the hardware supports a format natively prefer using the native version over converting from another supported format Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: mpa buffers before queuinghans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> With some drivers the buffers must be mapped before queuing, so when converting map the (real) buffers before calling the qbuf ioctl Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: link against pthreadhans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> libv4l: link against pthread Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: makefile and pkgconfig improvementshans@localhost.localdomain
From: Gregor Jasny <jasny@vidsoft.de> Various Makefile and pkgconfig file improvements by Gregor Jasny (Debian) Signed-off-by: Gregor Jasny <jasny@vidsoft.de> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03gspca: Fix of gspca_zc3xx oops - 2.6.27-rc1Jean-Francois Moine
From: Rabin Vincent <rabin@rab.in> Bad mini/max check in setting control values (the gamma in zc3xx could be set to null). Signed-off-by: Rabin Vincent <rabin@rab.in> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-03gspca: Fix of "scheduling while atomic" crash.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The crash is due to USB exchanges done at interrupt level. These exchanges, tied to autogain, are now done by the application. Also, there is a fix about autogain start. Concerned subdrivers: etoms, pac7311, sonixj and spca561. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-08-03libv4l: add support for converting to rgb24hans@localhost.localdomain
From: Jean-Francois Moine <moinejf@free.fr> Add support for conversion to RGB24 (before we only support BGR24) based on a patch by Jean-Francois Moine Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-03libv4l: make xawtv happyhans@localhost.localdomain
From: Hans de Goede <j.w.r.degoede@hhs.nl> Be more relaxed in our checks for mixing read and mmap access, we were being more strict in this then certain kernel drivers (bttv) making xawtv unhappy Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-08-02Add suspend/resume to pxa_camera driverRobert Jarzmik
PXA suspend switches off DMA core, which loses all context of previously assigned descriptors. As pxa_camera driver relies on DMA transfers, setup the lost descriptors on resume and retrigger frame acquisition if needed. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/pxa_camera.c | 56 ++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-)
2008-08-01au0828: explicitly set 6 MHz IF frequency in hauppauge_hvr950q_configMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Explicitly set 6 MHz IF frequency for VSB and QAM in hauppauge_hvr950q_config. The default value is 6 MHz, so this patch doesn't change anything -- this only improves code readability and may prevent future bugs. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-01au8522: remove if frequency settings from vsb/qam modulation tablesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Since IF frequency is set after the vsb/qam modulation tables are written, remove the redundant register settings from the vsb/qam modulation tables. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-01au8522: clean up function au8522_set_ifMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> re-write this function to make it simpler Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2008-08-02Add suspend/resume capabilities to soc_camera.Robert Jarzmik
Add suspend/resume hooks to call soc operation specific suspend and resume functions. This ensures the camera chip has been previously resumed, as well as the camera bus. These hooks in camera chip drivers should save/restore chip context between suspend and resume time. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/soc_camera.c | 26 ++++++++++++++++++++++++++ include/media/soc_camera.h | 5 +++++ 2 files changed, 31 insertions(+), 0 deletions(-)
2008-08-02media: Clean up platform_driver_unregister() bogosity.Paul Mundt
So, platform_driver_unregister() doesn't actually have a return value, nor do any of the void __exit routines. It's reassuring to know that people copy and paste blindly. This completely blew up my compiler. Signed-off-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> --- drivers/media/video/pxa_camera.c | 2 +- drivers/media/video/sh_mobile_ceu_camera.c | 2 +- drivers/media/video/soc_camera_platform.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
2008-08-01merge: v4l-dvbJean-Francois Moine
2008-08-01set mts_firmware for em2882 based Pinnacle Hybrid ProMauro Carvalho Chehab
From: Eugeniy Meshcheryakov <eugen@debian.org> Pinnacle Hybrid Pro (2304:0226) requires mts_firmware flag to have any sound. Without this flag it is useful only for watching silent movies. Signed-off-by: Eugeniy Meshcheryakov <eugen@debian.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-01gspca: Fix small bugs, simplify and cleanup ov519.Jean-Francois Moine
From: Jean-Francois Moine <moinejf@free.fr> The hflip and vflip controls work for ov519 - ov7670 only. Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
2008-07-31libv4l: fixup copyright headershans@localhost.localdomain
From: Brandon Philips <bphilips@suse.de> Part of the copyright headers refered GPL instead of LGPL due to a copy and paste error (Brandon Philips) Signed-off-by: Brandon Philips <bphilips@suse.de> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
2008-07-30libv4l: add /dev/v4l/ to the paths supported by open() overrideBrandon Philips
Signed-off-by: Brandon Philips <bphilips@suse.de>