09 May, 2007
1 commit
-
This patch adds a proper prototype for saa7146_video_do_ioctl() in
include/media/saa7146_vv.h.Signed-off-by: Adrian Bunk
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab
02 May, 2007
1 commit
-
Clean up the includes of . Only include this header file
when we actually need it.Signed-off-by: Jean Delvare
28 Apr, 2007
10 commits
-
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!Signed-off-by: Kevin Thayer
Signed-off-by: Chris Kennedy
Signed-off-by: Hans Verkuil
Signed-off-by: John P Harvey
Signed-off-by: Ian Armstrong
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The documentation of Several miscellaneous commands was updated.
As a result of which the CX2341X_ENC_UNKNOWN command was renamed to
CX2341X_ENC_SET_VERT_CROP_LINE.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
This change supplies a more generic version of the tuner callback.
The tuner struct now has a function pointer
int (*tuner_callback) (void *dev, int command, int arg)
additionally to a int config parameter.
both can be set through the TUNER_SET_TYPE_ADDR client call.
Note that the meaning of the parameters depend on the tuner type.Signed-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab -
These entries mainly are to support configurations of the tda827x
silicon tuner with a preamplifier.
The values can be set throgh the attach inform or through
the extended TUNER_SET_TYPE_ADDR client call. The function pointer
will only be updated if the parameter is not NULL.
Since a typecast is necessary to set the pointer, i added a typedef for
this pointer (tuner_gpio_func_t) in tuner.hSigned-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab -
VIDIOC_G_CHIP_IDENT improves debugging of card problems: it can be
used to detect which chips are on the board and based on that information
selected register dumps can be made, making it easy to debug complicated
media chips containing tens or hundreds of registers.
This ioctl replaces the internal VIDIOC_INT_G_CHIP_IDENT ioctl.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Added VIDIOC_INT_G_STD_OUTPUT and VIDIOC_INT_S_STD_OUTPUT to allow drivers
to set the TV standard for video output separately from the video capture.
This is needed for cx23415 support where the decoder is separate from the
encoder and can have a different TV standard.
Modified the saa7127 module to listen to VIDIOC_INT_G/S_STD_OUTPUT instead
of VIDIOC_G/S_STD.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Add V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY support.
Also add support for local and global alpha overlays.
Add new field enums V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT.
These changes are needed to support the ivtv On Screen Display features.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Added V4L2_CID_MPEG_AUDIO_MUTE, V4L2_CID_MPEG_VIDEO_MUTE and
V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS controls together with
their implementation in the cx2341x module.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
27 Mar, 2007
1 commit
-
Olaf Hering pointed out that SAA7146_CLIPPING_MEM would become
very large for PAGE_SIZE > 4K.
In fact, the number of clipping windows is limited to 16,
and calculate_clipping_registers_rect() does not use more
than 256 bytes. SAA7146_CLIPPING_MEM adjusted accordingly.Thanks-to: Olaf Hering
Acked-by: Michael Hunold
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab
01 Mar, 2007
3 commits
-
Add support for starting, stopping, pausing and resuming an MPEG (or similar
compressed stream) encoder.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The VIDIOC_G_ENC_INDEX ioctl can obtain the MPEG index from an MPEG
encoder.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
The chip matching in struct v4l2_register for VIDIOC_DBG_G/S_REGISTER
was rather primitive. It could not be extended to other busses besides
i2c and it lacked a way to.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
21 Feb, 2007
10 commits
-
Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Mauro Carvalho Chehab -
Before this patch, vivi were simulating a scatter gather DMA transfer.
While this is academic, showing how stuff really works on a real PCI
device, this means a non-optimized code.
There are only two memory models that vivi implements:
1) kernel alloced memory. This is also used by read() method.
On this case, a vmalloc32 buffer is allocated at kernel;
2) userspace allocated memory. This is used by most userspace apps.
video-buf will store this pointer.
a simple copy_to_user is enough to transfer data.
The third memory model scenario supported by video-buf is overlay mode.
This model is not implemented on vivi and unlikely to be implemented on
newer drivers, since now, most userspace apps do some post-processing
(like de-interlacing).
After this patch, some cleanups may be done at video-buf.c to avoid
allocating pages, when the driver doesn't need a PCI buffer. This is the
case of vivi and usb drivers.Signed-off-by: Mauro Carvalho Chehab
-
The direct register access ioctls were defined as kernel internal only,
but they are very useful for debugging hardware from userspace and are
used as such. Officially export them.VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER
Definition of ioctl and struct v4l2_register is moved from v4l2-common.h
to videodev2.h.Types used in struct v4l2_register are changed to the userspace
exportable versions (u32 -> __u32, etc).Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move
the check into the video_ioctl2() dispatcher so it doesn't need to be
duplicated in each driver's call-back function. CAP_SYS_ADMIN check is
added to pvrusb2 (which doesn't use video_ioctl2).Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab -
Add support for these ioctls to the video_ioctl2 system and the cx88
driver.Signed-off-by: Trent Piepho
Signed-off-by: Mauro Carvalho Chehab -
Nexus CA needs to use a different routing on saa7115 module.
Signed-off-by: Marco Schluessler
Signed-off-by: Mauro Carvalho Chehab -
The keymap is based on a previous patch by Jussi Kukkonen.
This remote is identified by subsystem_device id 0x1010.Signed-off-by: Ville-Pekka Vainio
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
This patch fixes the following compile error:
...
LD drivers/media/video/built-in.o
drivers/media/video/saa7134/built-in.o:(.data+0x85ec): multiple definition of `ir_rc5_remote_gap'
drivers/media/video/bt8xx/built-in.o:(.data+0x734c): first defined here
drivers/media/video/saa7134/built-in.o:(.data+0x85f0): multiple definition of `ir_rc5_key_timeout'
drivers/media/video/bt8xx/built-in.o:(.data+0x7350): first defined here
make[4]: *** [drivers/media/video/built-in.o] Error 1Since this variables were needlessly global, this patch implements the
trivial fix of making them static.Signed-off-by: Adrian Bunk
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Juan Pablo Sormani
Signed-off-by: Mauro Carvalho Chehab -
The commands CX2341X_DEC_SET_AUDIO_OUTPUT, CX2341X_DEC_SET_AV_DELAY and
CX2341X_ENC_SET_3_2_PULLDOWN are not implemented in the Conexant firmware.
So these commands are removed. This also means that the V4L2_CID_MPEG_VIDEO_PULLDOWN
control in cx2341x.c and pvrusb2-hdw.c is removed.Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
Besides adding the board specific code, this patch moves
the RC5 decoding code from bt8xx to ir-functions.c to make it available
for all drivers.Signed-off-by: Marc Fargas
Signed-off-by: Hermann Pitton
Signed-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab
28 Dec, 2006
2 commits
-
include/media/ir-common.h:78: error: field 'work' has incomplete type
drivers/media/common/ir-functions.c: In function 'ir_rc5_timer_end':
drivers/media/common/ir-functions.c:301: error: 'jiffies' undeclared (first use in this function)
drivers/media/common/ir-functions.c:301: error: (Each undeclared identifier is reported only once)
drivers/media/common/ir-functions.c:301: error: for each function it appears in.)
drivers/media/common/ir-functions.c:347: error: 'HZ' undeclared (first use in this function)Signed-off-by: Mauro Carvalho Chehab
-
This bug broke the MPEG audio mode controls.
Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab
10 Dec, 2006
9 commits
-
Some tuners require using cGainNormal instead of cGainLow for
high sensibility on FM reception.Signed-off-by: Mauro Carvalho Chehab
-
Adds an option to select GainNormal at tda9887 and make usbvision
to use it.Signed-off-by: Mauro Carvalho Chehab
-
Convert SAA7146_IER_{DIS,EN}ABLE macros to inline functions.
Fixes a problem with macro expansion (reported by C.Y.M).Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
Protect the access to the IER register of the SAA7146 by the device
spinlock. I2C transfers may use interrupt mode now.Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
This converts the budget-ci driver so that it uses ir-common for some of its
IR processing. In particular, the keymap for the Nova-T (sub 13c2:1011) is
switched to the Hauppauge grey/black keymap, of which the keys on the
supplied R808 remote control form a subset.
The old budget-ci keymap is moved to ir-keymaps.c and is used for other
remotes.
The debounce logic for buggy remotes (i.e. Zenith) is made conditional the
new debounce parameter and defaults to off (so that repeat keypresses aren't
ignored for all working remotes).
Some parts are based on Darren Salt's dvb-ir patchset.Signed-off-by: David Hardeman
Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
video_ioctl2 will auto-generate standard entries at ENUM_FMT.
Also, now, a driver may return a subset of the video array at
the return, to be stored as the current_norm.
For example, a driver may ask for V4L2_STD_PAL. At return,
driver may change it to V4L2_STD_PAL_B. This way, a futher call
to G_STD will return the exact detected video std.Signed-off-by: Mauro Carvalho Chehab
-
Thanks to input from Steven Toth from Hauppauge the tveeprom module has
been extended to detect the presence of an IR transmitter (aka IR-blaster).Signed-off-by: Hans Verkuil
Signed-off-by: Mauro Carvalho Chehab -
This patch adds a V4L2 driver for the OmniVision OV7670 camera.
Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab -
Two defines for V4L2, needed by the Cafe camera driver:
1) Add the RGB444 image format
2) Add the "init" internal command which is separate from "reset".Signed-off-by: Jonathan Corbet
Signed-off-by: Mauro Carvalho Chehab
04 Oct, 2006
1 commit
-
A generic change to cards to allow any board to specify whether
it needs the wm8775 module loaded (by the core) or not.Signed-off-by: Steven Toth
Signed-off-by: Mauro Carvalho Chehab
01 Oct, 2006
1 commit
-
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (180 commits)
V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem ids
V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVR
V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300.
V4L/DVB (4637): Add a default method for VIDIOC_G_PARM
V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case
V4L/DVB (4634): Zr36120: implement pcipci checks
V4L/DVB (4632): Zoran: Implement pcipci failure check
V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flag
V4L/DVB (4630): Av7110: FW_LOADER depemdency fixed
V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309
V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c
V4L/DVB (4627): Vivi crashes with mplayer
V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()
V4L/DVB (4622): Copy-paste bug in videodev.c
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
V4L/DVB (4619): Fixes some I2C dependencies on V4L devices
V4L/DVB (4617): Problem with dibusb-mb.c USB IDs
V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support
V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa
...
26 Sep, 2006
1 commit
-
Add card support for Proteus Pro 2309, based on saa7130 bridge
Signed-off-by: Michal Majchrowicz
Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab