android_kernel_xiaomi_sm8350/Documentation/video4linux
Hans Verkuil 5614b02143 V4L/DVB (6095): ivtv: fix VIDIOC_G_ENC_INDEX flag handling
Due to a documentation bug (the type mask is 3 bits long, not 2) the wrong
frame types were filled in: the B and P frame types were swapped.

This bug also hid a second bug: when a capture is stopped a last entry is
written into the pgm index buffer with internal type 0, denoting the end
of the program. This entry wasn't ignored, instead it was accidentally
returned to the caller as a P frame.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-14 13:13:40 -03:00
..
bttv
cx88
cx2341x V4L/DVB (6095): ivtv: fix VIDIOC_G_ENC_INDEX flag handling 2007-09-14 13:13:40 -03:00
API.html
cafe_ccic
CARDLIST.bttv V4L/DVB (5803): Bttv: add support for DViCO FusionHDTV 2 2007-07-18 14:24:26 -03:00
CARDLIST.cx88 V4L/DVB (5685): Cx88: add support for ADS Tech Instant Video PCI 2007-07-18 14:23:37 -03:00
CARDLIST.em28xx
CARDLIST.ivtv V4L/DVB (5409): Add CARDLIST.ivtv and README.ivtv 2007-04-27 15:44:28 -03:00
CARDLIST.saa7134 V4L/DVB (5646): V4l: saa7134: add support for 10moons TM300 card 2007-07-18 14:23:20 -03:00
CARDLIST.tuner V4L/DVB (5800): Tuner: correct description of Philips FCV1236D tuner 2007-07-18 14:24:25 -03:00
CARDLIST.usbvision V4L/DVB (5530): Usbvision: remove CustomDevice facility 2007-04-27 15:45:43 -03:00
cpia2_overview.txt
CQcam.txt
et61x251.txt
hauppauge-wintv-cx88-ir.txt
ibmcam.txt
lifeview.txt
meye.txt documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
not-in-cx2388x-datasheet.txt
ov511.txt documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
radiotrack.txt
README.cpia
README.cpia2
README.cx88
README.ir
README.ivtv V4L/DVB (5409): Add CARDLIST.ivtv and README.ivtv 2007-04-27 15:44:28 -03:00
README.pvrusb2 documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
README.saa7134
se401.txt
sn9c102.txt V4L/DVB (5765): SN9C1xx driver updates 2007-07-18 14:24:07 -03:00
stv680.txt
v4lgrab.c
w9966.txt
w9968cf.txt
zc0301.txt
Zoran documentation: convert the Documentation directory to UTF-8 2007-05-09 08:58:19 +02:00
zr364xx.txt V4L/DVB (5792): Zr364xx: add support for Trust Powerc@m 970Z 2007-07-18 14:24:23 -03:00


What is it?
===========

This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV
boards.  See http://www.semiconductors.philips.com/pip/saa7134hl for a
description.


Status
======

Almost everything is working.  video, sound, tuner, radio, mpeg ts, ...

As with bttv, card-specific tweaks are needed.  Check CARDLIST for a
list of known TV cards and saa7134-cards.c for the drivers card
configuration info.


Build
=====

Pick up videodev + v4l2 patches from http://bytesex.org/patches/.
Configure, build, install + boot the new kernel.  You'll need at least
these config options:

	CONFIG_I2C=m
	CONFIG_VIDEO_DEV=m

Type "make" to build the driver now.  "make install" installs the
driver.  "modprobe saa7134" should load it.  Depending on the card you
might have to pass card=<nr> as insmod option, check CARDLIST for
valid choices.


Changes / Fixes
===============

Please mail me unified diffs ("diff -u") with your changes, and don't
forget to tell me what it changes / which problem it fixes / whatever
it is good for ...


Known Problems
==============

* The tuner for the flyvideos isn't detected automatically and the
  default might not work for you depending on which version you have.
  There is a tuner= insmod option to override the driver's default.

Card Variations:
================

Cards can use either of these two crystals (xtal):
 - 32.11 MHz -> .audio_clock=0x187de7
 - 24.576MHz -> .audio_clock=0x200000
(xtal * .audio_clock = 51539600)

Some details about 30/34/35:

 - saa7130 - low-price chip, doesn't have mute, that is why all those
 cards should have .mute field defined in their tuner structure.

 - saa7134 - usual chip

 - saa7133/35 - saa7135 is probably a marketing decision, since all those
 chips identifies itself as 33 on pci.

Credits
=======

andrew.stevens@philips.com + werner.leeb@philips.com for providing
saa7134 hardware specs and sample board.


Have fun,

  Gerd

--
Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]