android_kernel_xiaomi_sm8350/Documentation/video4linux
Guennadi Liakhovetski 35b23b5226 V4L/DVB (13651): sh_mobile_ceu_camera: document the scaling and cropping algorithm
The sh_mobile_ceu_camera driver implements an advanced algorithm, combining
scaling and cropping on the client and on the host. Due to its complexity the
algorithm deserves separate documentation.

 create mode 100644 Documentation/video4linux/sh_mobile_ceu_camera.txt

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-16 09:27:20 -02:00
..
bttv
cx88
cx2341x
.gitignore
API.html
cafe_ccic
CARDLIST.au0828
CARDLIST.bttv
CARDLIST.cx88 V4L/DVB (13407): Add Prof 7301 PCI DVB-S2 card 2009-12-05 18:41:43 -02:00
CARDLIST.cx23885 V4L/DVB (13375): cx23885: Add support for Mygica X8558Pro DMB-TH 2009-12-05 18:41:34 -02:00
CARDLIST.em28xx V4L/DVB (13528): em28xx: add support for em2800 VC211A card 2009-12-05 18:42:17 -02:00
CARDLIST.ivtv
CARDLIST.saa7134 V4L/DVB (13204): saa7134: add support for the Leadtek DTV1000S 2009-12-05 18:40:52 -02:00
CARDLIST.saa7164
CARDLIST.tuner
CARDLIST.usbvision
cpia2_overview.txt
CQcam.txt
cx18.txt
et61x251.txt
extract_xc3028.pl
gspca.txt V4L/DVB (13562): gspca - doc: Update webcam list. 2009-12-16 00:17:59 -02:00
hauppauge-wintv-cx88-ir.txt
ibmcam.txt
lifeview.txt
m5602.txt
Makefile
meye.txt
not-in-cx2388x-datasheet.txt
ov511.txt
pxa_camera.txt
radiotrack.txt
README.cpia
README.cpia2
README.cx88
README.ir
README.ivtv
README.pvrusb2
README.saa7134
se401.txt
sh_mobile_ceu_camera.txt V4L/DVB (13651): sh_mobile_ceu_camera: document the scaling and cropping algorithm 2009-12-16 09:27:20 -02:00
si470x.txt
si4713.txt V4L/DVB (13476): spec: remove old dvb-spec and v4l2-spec directories 2009-12-05 18:42:04 -02:00
sn9c102.txt
soc-camera.txt
stv680.txt
v4l2-framework.txt V4L/DVB (13549): v4l: Add video_device_node_name function 2009-12-16 00:17:54 -02:00
v4lgrab.c
w9966.txt
w9968cf.txt
zc0301.txt
Zoran
zr364xx.txt V4L/DVB (13438): zr364xx: add support for Trust Powerc@m 910Z 2009-12-05 18:41:54 -02: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]