Mailing List archive

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

[linux-dvb] Re: C/A routing Question



Ralph Metzler wrote:
> 
> What I propose is: 

I'm afraid I have more questions than answers yet...

> - Move the memory frontends to separate devices.
>   Either also call them frontend with type memory frontend
>   or call them memfrontend, mfrontend, dvrin, ... whatever
>   They should offer mmap, write, etc. maybe even a software controlled
>   rate control (some chips have it in hardware) to allow for decent 
>   non-blocking writing.
>   Each demuxN can select which frontend (no matter if real or memory)
>   to use as input.

I seen that you've already defined FE_MEMORY and FE_NET in your
version of the API header files.

I for one would be happy with a /dev/.../frontend of type FE_MEMORY.
How do we handle capabilites, i.e. if we can feed TS, PS and/or AVPES
into the frontend? Is this handled by the demux that we connect to
the frontend?

I'm not shure how to handle DMA capable playback from HDD or DVD.
Maybe someone else has an idea.

As for FE_NET, I'm not shure, too. Isn't it better to implement
the network stuff for DVB-IP in userspace (e.g. a dvb-ip deamon)
and feed the TS into the FE_MEMORY frontend?

> - Keep dvr for output only. 
>   Do not allow dvr as output for demux device filters but use separate
>   calls. Here it is enough to use a PID bitmask to select PIDs.
>   dvrN should still be associated with demuxN since even on hardware with 
>   separate "DVR filters" they usually share the input with one demux
>   channel.
>   On hardware where filters of demuxN have to be used to create the dvrN 
>   output the driver hides it and uses them internally. The number of 
>   selectable PIDs is restricted by hardware and can be asked via ioctl.
>   With software filters one could even allow to have several opens
>   of dvrNs and feed different PID arrays to each dvrN. 

I.e. open("/dev/.../dvrN"), then DMX_DVR_SET_PIDS(int num, int16_t pids[])?

Sounds good.


Regards,
Johannes


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



Home | Main Index | Thread Index