Re: slices

Michael Niedermayer <[email protected]> Fri, 20 Feb 2004 18:44:04 +0100
Newsgroups gmane.comp.video.mplayer.g2.devel
Message-ID <[email protected]>
Hi

On Friday 20 February 2004 17:28, Ivan Kalvachev wrote:
[...]
> > slice draw callback from the codecs
> > well, arghhh
> > i probably would have to change libavcodec to support normally returning
> > after each slice and resuming, dunno how easy that would be, but i dont
> > see an
>
> It is easy, I believe libmpeg2 and xvid do this. At least in ffmpeg12
> decode_slice() is called in infinite loop (that terminate on last slice).
> But I wonder if this will give any advantage.
mpeg2 is the only standard where encoded slices must end at the right border, 
in mpeg1, mpeg4, h263, ... slices are larger and its quite likely that theres 
just a single slice per image, so encoded slices != filter slices

[...]
-- 
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