Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] V4 API proposal



Hi,

after talking to Johannes Stezenbach i felt it is time to update the API
proposal:

1. /dev/dvb/adapterX/dvrX:

The dvrX devices will be removed. There is no need for them and no one
really likes them :D

2. /dev/dvb/adapterX/demuxX:

A) Instead of writing TS data to the dvrX device you are now allowed to
write TS data to the demuxX device. 
B) Before writing TS to it you'll have to call an ioctl to put the demux
device into memory mode. (DMX_SET_SOURCE)
C) The hardware demux has to export a logical demuxX device for _each_ hw
input channel it supports (e.g. if the hw supports 2 frontend and 1 memory
based input it will export demux0,demux1,demux2). It is up to the user to
map these logical devices to hw inputs (via DMX_SET_SOURCE)
D) We'll provide an ioctl to query the demux in which mode it currently
operates / which modes are supported (DMX_GET_SOURCE,DMX_GET_SOURCES)

3. Memory based dummy fe (FE_MEM)

Only real (hardware) fe's will be supported. There is no need for a dummy
fe. (demuxX will do)

4. Multiple filters per FD

Multiple filters per FD will be supported through
DXM_ADD_FILTER/DMX_DEL_FILTER ioctls. We did not decide yet wether we

A) allow just a single pid per call
B) allow multiple pids per call
C) require multiple pids to be set in a single call

5. Output control (TAP, decoder, HDD)

Yet another item which needs some pro/cons discussions.

6. Playback of non TS data (PES, AVPES, ...)

You are only allowed to write TS data to the demux. All other data has to be
written to the a/v decoder (if availible). We probably need to design a
second api/filter layer to support all different kinds of a/v data. I
propose creating a new device (e.g. avdecoderX) and combine the existing
audioX/videoX with the new filter api. Needs some discussion too. Low
priority. Maybe V5 item?

Suggestions? Objections? Expect another update in a couple of days.

Thanks,
   Florian




--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index