summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
AgeCommit message (Collapse)Author
2004-01-26- don't try to disable video overlay if it wasn't enabled beforeMichael Hunold
(bug catched by new resource management)
2004-01-26- make sure to disable clipping before capturing, otherwise capturing mayMichael Hunold
not work - make sure to disable the right video dma at capture stop
2004-01-25use {min,max}_t instead of home-brewed my_{min,max} macros. ↵Michael Hunold
straight-forward. patch compiles, and tested. (from Eugene Teo <eugene.teo@eugeneteo.net>)
2004-01-18- sync media/common/Makefile with 2.6.1Michael Hunold
- remove video/Kconfig and video/Makefile, as they are not needed anymore
2004-01-14- bit masks are evil: disable the right video dma upon device close, otherwiseMichael Hunold
severe memory damage can occur...
2004-01-06fix build with 2.6.1-rc1-mm2 (VIDIOC_S_CTRL_OLD / VIDIOC_OVERLAY_OLD)Johannes Stezenbach
2004-01-05- fix compiler warningMichael Hunold
- fix problems caused by changes in ioctl definitions
2004-01-04- some small indentation fixes in saa7146_hlp.cMichael Hunold
- deny usage of planar formats for video overlay - more intelligent checks in VIDIOC_STREAMON and VIDIOC_STREAMOFF - fix read() capture while overlay is running
2004-01-03- fix memory leak when using custom pagetables for video dma,Michael Hunold
store the pointer in our saa7146_pagetable struct and free it later on correctly (only used by budget DVB drivers) - remove some commented out debug code
2004-01-03saa7146 driver improvements, only affects Video4Linux stuff:Michael Hunold
- add resource management functions - lock various stuff against each other, mostly vbi capture vs. planar capture formats, which use the same video dma - remove old commented out code - add new "flag" variable to saa7146_formats struct, store the information if a capture format is planar or packed - check for return codes at various places
2003-12-21- don't disable the capture engine via video_end() before video-buf hasMichael Hunold
cleared the various capture queue and has shut down capturing (Thanks Gerd for explaining the pitfalls here!)
2003-12-18- use videobuf_waiton() non-interruptible, so signals won't disturb theMichael Hunold
cleanup of the capture buffers. otherwise the buffers were not cleaned up correctly when a program was killed by CTRL-C, which led to memory corruption and system crashes when capturing
2003-12-16- use DEB_INT for very verbose debugging outputMichael Hunold
2003-12-15- fix compilationMichael Hunold
- more video/vbi open/release fixes
2003-12-15- fix a bunch of race conditions and locking bugs in video and vbiMichael Hunold
capture code on device closure - change minimal picture size to 48x32 just like other drivers
2003-12-12- use vmalloc_32() instead of vmalloc() in saa7146_vmalloc_build_pgtable().Michael Hunold
this makes sure that the pagetable is in lowmem kernel memory, so we can DMA to it. this fixes the bug where budget-core.o oopsed on machines with highmem enabled.
2003-11-26- i2c timeout fix by Gerd KnorrMichael Hunold
2003-11-25introduced flag SAA7146_I2C_SHORT_DELAY to speed up I2C accessOliver Endriss
2003-11-20- move saa7146_set_gpio() from saa7146_vv to saa7146_coreMichael Hunold
- add "new" saa7146_wait_for_debi_done() function, remove other versions from av7110 and budget.ci - make budget-ci use this gpio function and the new wait_...() function, therefore fix BORROWED_FROM_AV7110_H_BUT_REALLY_BELONGS_IN_SAA7146_DEFS_H remark
2003-11-20- make saa7146_pgtable_build_single() deliver a return code, make someMichael Hunold
sanity checks of the arguments (if a bad pagetable is created, unpredictable thinks can happen. trust me... ;-) - follow this change for the several uses
2003-11-20- remove unnecessary "capture memory in framebuffer" special functionsMichael Hunold
which were commented out anyway - fix one typo
2003-11-14- sanitize enabling of video input pins and i2c pinsMichael Hunold
- use some default values, so the hardware is always in a sane state
2003-10-22- remove SAA7146_EXT_SWAP_ODD_EVEN flag + handlingMichael Hunold
- hopefully fix field handling for DVB-S cards with progressive mpeg
2003-10-16- fix usage of i2c name field (has been changed again, see this for moreMichael Hunold
details: http://linus.bkbits.net:8080/linux-2.5/cset@1.1123.4.1?nav=index.html|src/.|src/drivers|src/drivers/media|src/drivers/media/common|related/drivers/media/common/saa7146_i2c.c
2003-10-14- disable vbi workaround for dvb-c cards which use port bMichael Hunold
- set up arbitrition control for video dma3 correctly - clean up vbi capture queue properly on device close
2003-10-14Make cleanup handler interruptible.Michael Hunold
2003-10-14Include 2.6 kernel janitor cleanups (eliminate #include duplication, shiftMichael Hunold
includes around) -- I don't care much about this...
2003-10-09- backfeed patches from 2.6.0-test7, which have not gone through our cvs:Michael Hunold
- janitorial fixes (mostly return code handling) - spelling fixes in Kconfig files - line breaks to re-formatting
2003-10-06- add some debug and safety checks for video/vbi capture buffer handlingMichael Hunold
- fix init/exit of vbi capable devices - add new flag SAA7146_USE_PORT_B_FOR_VBI, so we can distinguish on which video port to apply the vbi workaround - add del_timer(...) for vbi capture queue and vbi_read timers, otherwise the kernel timer schedule oopses - add vbi device handling for dvb-c cards with analog module (does not work yet, have to setup the saa7113 decoder differently)
2003-10-01- clean up Kconfig files, use the new SELECT facilityMichael Hunold
- split up saa7146 compilation in core and video part
2003-09-29fix VIDIOC_S_FBUF for v4l1 backward compatility with xfree86 / v4l_drvJohannes Stezenbach
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.