Re: Private controls/settings (mpg2 compression)

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



On 18 Mar 2003, Gerd Knorr wrote:

> As there are _lots_ of settings for MPEG1/2 it is probably a good idea to
> split the whole thing into some groups.  Maybe this way:
> 
> struct v4l2_compression { /* rename to mpeg_compression ??? */
>         unsigned int group;
>         union {
>                 struct system { ... };
>                 struct video { ... };
>                 struct audio { ... };
>         };
> };

<warning! caffiene deficient!>

Hmmmm, this seems a bit heavyweight.  I know the union's going to give me
nightmares (perl).  One of the arguments I have is that some (not all) of the
props can be changed on the fly.

Not that I can come up with anything better:

struct ... {
	u32	command;
	u32 	flags;
	u32	args[?];	
}

That, of course makes things rather opaque.  I'd like some input from the
potential heavy users anyway.  I suspect that would be PVR applications (to a
limited extent) and the NLE apps (Cinellera, etc.)

Maybe we should just experiment with some interfaces in the the PRIVATE range
for a bit to see what works and what doesn't.  Suggestions gladly accepted.

John





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux