summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/demux.h
AgeCommit message (Collapse)Author
2008-06-22dmx_write: memcpy from user-supplied pointerMauro Carvalho Chehab
From: Al Viro <viro@ftp.linux.org.uk> ... copy to kernel memory first Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-05 add flag to allow software demux to recognize the output typeMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Previously, the macro DVR_FEED, which is used to recognize and filter out duplicate packets going to the DVR device, used the TS_PAYLOAD_ONLY flag to identify a packet's destination. This kind of filtering was introduced by the following two changesets: Now, that it is possible to record TS PIDs using the demux device by setting the output type to DMX_OUT_TSDEMUX_TAP, checking TS_PAYLOAD_ONLY is not sufficient anymore. Therefore another flag, TS_DEMUX, is added to specify the output type of a feed. This allows multiple clients to filter the same TS PID on a demux device simultaneously. Signed-off-by: Andreas Oberritter <obi@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Typos grab bag of the monthOliver Endriss
From: Alexey Dobriyan <adobriyan@gmail.com> Typos grab bag of the month. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
2005-11-26Whitespaces cleanups.Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
2005-10-27From: Mark Adams <mark147m@gmail.com>Johannes Stezenbach
Fix a bug in the software demux which causes large MPEG sections to be lost when they follow very small sections. The problem happens when two sections begin in the same transport packet. The dvb_demux code resets its buffer only before the first of these sections. This means that when the second (or subsequent) section begins, there is up to 182 bytes of buffer space already used. If the following section is close to the maximum size, it currently won't fit in the (4096-byte) buffer and is thrown away. The fix is simply to enlarge the buffer by the size of one transport packet and correct one usage of the SECFEED_SIZE definition where what is really meant is the maximum size of a section. Signed-off-by: Mark Adams <mark147m@gmail.com>
2005-08-12Removed more unused variables and constants.Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-08-12Removed unused descramble_mac_address and descramble_section_payload callbacks.Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-08-12Removed some useless functions and variables.Andreas Oberritter
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
2005-08-05glue code for DMX_GET_CAPS and DMX_SET_SOURCEAndreas Oberritter
2005-03-02whitespace cleanup (remove ws at eol, sync with changes in mainline kernel)Johannes Stezenbach
2005-02-12patch by Adrian Bunk:Johannes Stezenbach
This patch contains the following possible cleanups: - make needlessly global code static - remove the following EXPORT_SYMBOL'ed but unused function: - bt8xx/bt878.c: bt878_find_by_i2c_adap - remove the following unused global functions: - dvb-core/dvb_demux.c: dmx_get_demuxes - dvb-core/dvb_demux.c: dvb_set_crc32 - remove the following unneeded EXPORT_SYMBOL's: - dvb-core/dvb_demux.c: dvb_dmx_swfilter_packet - dvb-core/dvb_demux.c: dvbdmx_connect_frontend - dvb-core/dvb_demux.c: dvbdmx_disconnect_frontend - dvb-core/dvbdev.c: dvb_class Signed-off-by: Adrian Bunk <bunk@stusta.de>
2003-12-02emard's new section demux code. Please test!Holger Waechtler
2003-08-24Fix copyright stuff in various files:Michael Hunold
- remove e-mail addresses that don't exist anymore, but of course keep the names - change license from GPL to LGPL in dvb_i2c.h - change license from GPL to LGPL in dvb_ringbuffer.h (needs any ack by Oliver Endriss, no reply yet) - add LGPL license to GPL (was destilled by me, extracted from av7110.o and dvb_compat.h)
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-05-27- remove enumeration typedefsMichael Hunold
- change some includes
2003-05-27Here comes a huge cleanup patch in order to get the sources intoMichael Hunold
"kernel shape": I mainly changed all "typedef struct foo_s {...} foo_t" to "struct foo {}". Please don't start a policy war, I know the pros cons of typedefs and structures. We should, however, stick to the coding rules of the kernel: typedefed structs are only used for opaque data types, where the internal representation is irrelevant and we have get()/set() functions for accessing them (ie. spinlock_t)
2003-04-15remove name/vendor/id strings, these caused only troubles everywhere and ↵Holger Waechtler
nobody really needs them...
2003-03-21many more portability changesHolger Waechtler
2003-03-07added ioctl DMX_GET_STCJohannes Stezenbach
2002-12-20 - fix the not-checked-return value at start_feed() bugHolger Waechtler
- code review + simplification - use const pointers in section and ts callbacks
2002-11-21CRC handling / seeding changesFlorian Schirmer
2002-11-08- software section filter cleanupHolger Waechtler
- enable crc32 check again - add hooks for hardware accelerated memory transfer and crc32 checks (patch contributed by Florian Schirmer)
2002-10-16the 2.5 treeHolger Waechtler