[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.47,1.48
Michael Niedermayer
michaelni at gmx.at
Mon Nov 3 13:28:28 CET 2003
Hi
On Monday 03 November 2003 13:15, Michael Niedermayer CVS wrote:
> Update of /cvsroot/mplayer/main/libmpcodecs
> In directory mail:/var/tmp.root/cvs-serv21617
>
> Modified Files:
> vf_scale.c
> Log Message:
> another lame workaround for the g1 filter layer ...
> now filter chains with >8 scale filters initalize before u fall asleep
>
>
> Index: vf_scale.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
> retrieving revision 1.47
> retrieving revision 1.48
> diff -u -r1.47 -r1.48
> --- vf_scale.c 9 Oct 2003 22:32:30 -0000 1.47
> +++ vf_scale.c 3 Nov 2003 12:15:32 -0000 1.48
> @@ -25,6 +25,7 @@
> unsigned int fmt;
> struct SwsContext *ctx;
> unsigned char* palette;
> + int query_format_cache[64];
maybe that should be moved to vf_instance_t and the cacheing code to
vf_next_query_format() ?
... and IMHO query_format() should output more info then the flags (something
like a quality(sum of sqared errors) & speed(cpu cycles) but thats for g2
probably, and no, its not complicated, filters just pass the info from the
next and add some constants which may be always 0 if they are unknown, that
would also ensure that no nonsense filterchains like the RGB->YUV->RGB->...
stuff is generated
[...]
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-cvslog
mailing list