[linux-dvb] [PATCH] Multi protocol support

Trent Piepho xyzzy at speakeasy.org
Thu Apr 13 04:03:45 CEST 2006


On Wed, 12 Apr 2006, Manu Abraham wrote:
> Andreas Oberritter wrote:
> >> +typedef enum {
> >> +       DMX_PROTO_DVB_S,
> >> +       DMX_PROTO_DVB_C,
> >
> > Why should a demux care how the TS was delivered? All DVB variants and
> > ATSC use MPEG-2 TS, right? I don't know about DSS though.
>
> Some protocols need different SYNC words , stream lengths etc for the
> demuxer to work (DSS and DVB-S2 differ from DVB-S/C/T/ATSC) DSS has a

Is this really mpeg-2 vs mpeg-4?  Maybe it make more sense to name the formats
after the bit-stream protocol instead of the a transmission standard that
happens to use them.

> >> +typedef enum {
> >> +       FE_PROTO_ATSC,
> >> +       FE_PROTO_DVB_S2
> >> +} fe_protocol_t;
> >
> What would be your suggestion .. ? FE_SYS_XXXX. Or any other suggestion ?

How do you handle frontends that can do more than one standard?  Would having
these be bit-flags be better, so a tuner could report the standards it
supports by or-ing them together?



More information about the linux-dvb mailing list