summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
AgeCommit message (Collapse)Author
2003-08-26Fix bytesperline-calculation forMichael Hunold
V4L2_FIELD_ALTERNATE vs. V4L2_FIELD_INTERLACED captures
2003-08-16- re-disable the saa7146 master reset on device startup. I enabled thisMichael Hunold
for debugging purposes and committed this change by accident. My PC at home does a hard freeze when the master reset is done...
2003-08-11Fix typo, remove unused variable.Michael Hunold
2003-08-11- follow latest changes in video-bufMichael Hunold
- fix pgtable_build_single, it should work for all kinds of buffers (system memory (kernel/user) and gfx-memory) - add/change some debug messages
2003-08-04Remove debugging printk()s.Michael Hunold
2003-07-31Improvements regarding streaming capture to gfx card memory.Michael Hunold
2003-07-30- FIELD_ALTERNATE capture was broken, add a "wait for vbi" command beforeMichael Hunold
actually waiting for the field change.
2003-07-29Kconfig un-obfuscation, contributed by Roman ZippelMichael Hunold
2003-07-17Fix build for 2.4.Michael Hunold
2003-07-17[V4L] - fix static build for hexium_gemini and hexium_orion drivers (Thanks ↵Michael Hunold
to Adrian Bunk <bunk@fs.tum.de> for reporting this) [V4L] - set debug verbosity to 0 for hexium_gemini and hexium_orion drivers [V4L] - make hexium_gemini and hexium_orion drivers depdend on i2c module [V4L] - make saa7146 module depend on hexium_gemini and hexium_orion drivers [V4L] - let the saa7146 i2c bus report itself as I2C_ADAP_CLASS_TV_ANALOG
2003-07-10Change the temporal order of the fields for the ALTERNATE mode, ie. waitMichael Hunold
for an even frame to start with, not an odd frame. This makes applications happy that expect this (ie. tvtime), but don't specify the correct mode instead. We behave now like bttv...
2003-07-07Make the "ext_vv_data" informations a per-device information insteadMichael Hunold
of a per-extension information. This is needed for the DVB-C cards, which seem to have swapped field order and need to propagate some video4linux specific stuff for the analog module to work.
2003-07-01Holger:Michael Hunold
Kannst Du das bitte ändern und die EXPORT_SYMBOL*()-Gesichten in ein saa7146_ksyms.c oder wie auch immer kapseln? "saa7146_core.c" has all dependencies for the "saa7146_core.o" module (saa7146_core.c and saa7146_i2c.c) The dependencies for the "saa7146_vv.o" module have been moved from the source files to "saa7146_vv_ksyms.c", the Makefiles habe been changed accordingly. Ok?
2003-07-01- capturing alternating fields to different buffers works nowMichael Hunold
2003-07-01- fix a capture problem (fields got lost accidentaly, fields belongingMichael Hunold
to different frames were sometimes mixed) - first try to get alternating field capture running - add/change some debug messages
2003-06-27Don't complain when an app tries to turn *off* overlay, butMichael Hunold
there are no overlay informations.
2003-06-26- fix usage of "v4l2_common_std()" from v4l2-common.c in saa7146_video.cMichael Hunold
- change saa7146_vv.h the way described earlier - follow these changes in budget-av and hexium driver
2003-06-18Indentation fixes, make RPS capture code work againMichael Hunold
2003-06-18When I submitted the last patchset for the 2.5 kernel series,Michael Hunold
Alan Cox reformatted the code to follow his coding style when he fixed the merge bugs. This patch now introduces these coding style changes, so that we don't wipe out his changes with the next patchset.
2003-06-16Fix to the jerking problem with tda10045hHolger Waechtler
2003-06-14i2c fixes and build fixes. Must have been brain-amputated yesterday...Holger Waechtler
2003-06-03Here comes the "dvb-c analog module hack"Michael Hunold
- if the analog module is detected, the saa7113 is initialized and some more v4l2 ioctls are available. you can use "xawtv" now to switch between "dvb" and "analog" input. when you are one the "analog" input, you can tune in analog channels with the cursor keys via v4l2. currently, this is a big hack -- tuning is not mutually exclusive, so "szap" and v4l2 tuning can interfere with each other. the demodulator address is hardcoded to 0x09. Other changes: - changed the saa7146 ioctl parameters, give out the data of the current device open "fh" (=> "file handle"), not the pointer to the device structure "dev". It is "dev = fh->dev". Some stuff does not work: - analog audio does not work. does the msp3400 need to be reprogrammed? - one field is "missing", so the picture is very bad and capturing does not work neither. this needs to be investigated by looking at the programming the windows driver uses for the saa7146
2003-05-28I removed all "analog" drivers from the main CVS repository and moved themMichael Hunold
to a separate "analog-2.4" directory. Main reasons: - the drivers don't have anything to do with dvb 8-) - the drivers are already in the kernel (besides the "Hexium" driver) and don't change that much any more - the analog drivers rely on the i2c subsystem, which was heavily modified between 2.4 and 2.5. When making a new DVB patchset I have to work around these differences every time, which is very annoying
2003-05-19First try to use pci_consistent_dma() throughout the whole saa7146Michael Hunold
driver subsystem.
2003-05-06The irq handler subsystem in 2.5 has changed. Add some code to getMichael Hunold
it compile again under both 2.5 and 2.4.
2003-05-05Release clipping memory when device is closed.Michael Hunold
TODO: use scatter/gather DMA for clipping informations, too.
2003-04-28Compile fixes against 2.5.68.Michael Hunold
- add some ifdef magic into i2c drivers (mxb/analog drivers only) - shuffle around includes, so that "dvb_compat.h" is included after all other include files - fix a warning in saa7146 i2c code
2003-04-22- removed the compatibility crap around KBUILD_MODNAME from all drivers,Michael Hunold
use KBUILD_BASENAME for 2.4 instead ­ some changes to the i2c core to make it work with both 2.4 and late 2.5 kernels (not done yet -- only interesting for analog drivers) - add MODULE_DEVICE_TABLE to all drivers, so that pci "hotplug" can detect the devices automatically. Alan Cox says, that we should use this to load the firmware (not done yet) - fix the long standing "insmod/rmmod with multiple budget cards" bug -- it was a double kfree() call...
2003-03-28A whole bunch of small changes all over the place:Michael Hunold
makelinks: adjust the script for the upcoming kernel patches driver.mxb: prevent the tuner module from probing unnecessary i2c addresses getlinks: put symlinks for the header files to the right place(TM) videodev.c: add a verbose error message just for the case that a user has compiled the v4l module into the kernel media/Kconfig: the dpc driver does not the tuner module saa7146_hlp.c: honour the swapped field order for av7110 based cards in capture mode, too saa7146_video.c: add some verbose messages for the v4l2 controls mxb.c: hopefully fix the detection and initialization of the sound arena module
2003-03-20Small changes all over the place:Michael Hunold
- sync Kconfig and Makefiles with 2.5.65 - fix various things in saa7146 because of latest v4l changes in 2.5.65 - makelinks: removed the compat module from the 2.5.x build process - makelinks: removed the linkage of ttusb and bt8xx -- enable this again for the next patches, when ttusb is more stable and the bt8xx related patches have been applied by Gerd Knorr - dvb: removed the compat module from the 2.5.x build process, added #ifdefs around the inclusion of compat.h. this was necessary because having compat code in the newest 2.5.x kernel is awkward. - dvb: move around of dvb_usercopy again. because I removed the compat module from the 2.5.x build process, dvb_usercopy had to be moved to another file - dvb: change MOD_*_USE_COUNT to module_get/module_put in various files, but I'm not sure if I did this right. please review these changes. - dvb: removed the crc32 code from dvb_demux.c, because it's in compat.c, too. - dvb: removed some cruft from dvd_i2c.c, which is present in compat.h - all files: apply small fixes to reflect the new location of some header files
2003-03-20This is the beginning of some modifications to get the newMichael Hunold
"dvb-kernel" tree into shape for direct inclusion into the 2.5.x kernel.
2003-03-19set default value of saa7146_debug to 0 as stated in module param descriptionAndreas Oberritter
2003-03-19put #if 0, #endif around unused functionAndreas Oberritter
static void dump_registers(struct saa7146_dev* dev)
2003-03-19- optimize the i2c retry-address error problem by distinguishing betweenMichael Hunold
analog tv cards and dvb cards. (see source comments for further informations)
2003-03-19wait between i2c retries and don't bail out on adress errors,Holger Waechtler
patch conributed by Andrew de Quincey <adq_dvb@lidskialf.net>
2003-03-17- Fixed the build-2.4 tree to compile with 2.4.18 kernels.Michael Hunold
- Moved some generic stuff from budget-core.c to saa7146_core.c where it belongs ----------------------------------------------------------------------
2003-03-14saa7146: set default values for brightness/contrast/saturation on driver loadMichael Hunold
mxb: prevent helper modules to probe on unknown i2c-busses. (for example on a Matrox gfx card)
2003-03-06Removed some debug messages, verified that it works with "mp1e" andMichael Hunold
"nvrec"... (red/blue were swapped)
2003-03-06Added some planar yuv modes to the saa7146 driver core:Michael Hunold
- V4L2_PIX_FMT_YUV422P: YUV 4:2:2 planar (Y-Cb-Cr) - V4L2_PIX_FMT_YVU420: YVU 4:2:0 planar (Y-Cb-Cr) - V4L2_PIX_FMT_YUV420: YUV 4:2:0 planar (Y-Cb-Cr) Planar modes don't suffer from the saa7146 byte swap bug, so we can deliver the formats needed by various video encoders, like "mp1e" or "nvrec". Added some notes to the TODO file.
2003-03-04Remove function specifiers from probe/remove functions, otherwiseMichael Hunold
the modules will oops with 2.5.63.
2003-02-27- fix some bugs that appeared in system with both analog and digitalMichael Hunold
based saa7146 cards - change the initialization order to allow static builds of the mxb driver
2003-02-26- Compile fixes against 2.5.63 (daemonize() has been changed)Michael Hunold
- Fix various warnings against 2.5.63 (export-objs has been removed) - Fix Kconfig/Makefiles - add the "dpc7146" driver for the analog Philips reference design - Removed unnecessary "Config.in"
2003-01-23apply core patch by <emard@softhome.net>Holger Waechtler
2003-01-21set __devexit and __devexit_p() flagsHolger Waechtler
2003-01-16- extended the preprocessor magic to av7110.c, too, had to changeMichael Hunold
the other files again.
2003-01-13add a timeout to saa7146_i2c_writeout() to prevent endless loopJohannes Stezenbach
2003-01-10- Fix broken i2c irq transfer, due to Holger's changesMichael Hunold
- clean up the mxb driver and it's helper modules (rename the structures, add GPL license to the appropriate files, c99 initialisers) - fix 2.5.55 "module insertion causes bug in kobject.o" issue - fixed missing exported symbols in budget-core
2003-01-09return meaningful error valuesHolger Waechtler
2003-01-09Fixes for 2.5.55 all over the place:Michael Hunold
- removed the patches, they are not needed any more. you can now use a vanilla 2.5.55 kernel - created a new backport for video-buf and videodev from the 2.5.55 sources - necessary fixes to the saa7146 driver due to changes in 2.5.55 - the core budget functions are now provided by a module called "budget-core.o". (otherwise static compilation is not possible...) - removed #ifdef MODULE crap from all files Misc. - "xawtv" (using xv extension) resulted in wrong colors. the problem is within "xawtv". Gerd Knorr told me, that it'll be fixed in the next release. I tested this version with 2.4.20, 2.5.55 (modules) and 2.5.55 (static).
2003-01-08Removed the whole "device<=>extension" matching crap, the pci subsystemMichael Hunold
can do this much better. We now simply register one pci driver for every extension and are done with it -- if a device actually exists, the pci subsystem calls us back. That's it. Warning: this triggers a bug in the 2.5.x module subsystem -- you should *not* use the driver.av7110 script and modprobe the driver. You can a) build your kernel staticall b) insert the modules one by one with *insmod* I already filed a bug report to lkml. Fixed a bug in Kconfig which prevented the saa7146 modules from being build.