Florian Schirmer writes: > Some more questions, i stumbled on while digging trough the api: > > 1. soft-dmx doesn't check the crc of sections. Any reason for that? > > 2. acceleration hooks > > This is a quite complex question ;) Background: Our STB is capable of > calculation the section crc itself. But it can only do that if the data > is still in the queue and has not been pulled out into the > dmxfeed->secbuf. To use the crc engine there are 2 possible solutions: > > A) Copy all the dvb api soft dmx functions and hack them to use the > engine. This will result in lots of duplicate code.
That's how it is meant to be. The kernel demux layer is supposed to be implemented for each hardware separately. We only used the software demux module for the AV7110 because it is lacking some features like piping data from user space through the hardware demux. For other hardware we wrote a new demux module. I guess some of the more administrative code could be shared to avoid duplication. The question is if, when you use a general kernel demux module with special acceleration features, etc. (i.e. effectly adding another layer), you will make it general enough for all kinds of hardware. Ralph -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
