[MPlayer-dev-eng] libvo2, 1st proposed spec

Arpi arpi at thot.banki.hu
Sun Nov 18 16:26:34 CET 2001


Hi,

> Here is a theoretical implementation of dxr3 (it hopefully works, but I 

> static priv_t dxr3;

you should avoid using globals like this.

i have plans for multiple video widnows etc with libvo2, especially for
mencoder (view both input and output file etc).
maybe it has no much sense for dxr3, except if someone has multiple cards...

> static int control(void *p, int cmd, void* param)

*p always points to priv_t, to avoid having globals for that.

mayeb we could do some C tricks, like:

static int control(struct priv_s *p, ...)

so avoid typecasting.


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-dev-eng mailing list