[MPlayer-dev-eng] [PATCH] much faster parse_es.c

Rich Felker dalias at aerifal.cx
Sun Dec 18 01:14:08 CET 2005


On Sat, Dec 17, 2005 at 10:34:45PM +0100, Nico Sabbi wrote:
> Reimar Döffinger wrote:
> 
> >Hi,
> >the attached patch makes MPEG-ES parsing/demuxing about 25% faster,
> >tested on an AMD64 with the following command:
> >./mplayer -cache-min 90 -cache 409600 -vc null -vo null -benchmark -nosound
> >/debian/home/reimar/mpl-tests/THX_Science_FLT_1920.gxf
> >Though it will hardly be relevant considering the whole decoding step.
> >Nevertheless, do you think it is okay to apply? It is a bit ugly since
> >it operates directly on the demuxer buffer and thus makes it harder to
> >change that part, so I'm undecided if it is worth it.
> >
> > 
> >
> I'm not the maintener of that file, but I agree with you: dealing 
> directly with the demuxer buffer
> is ugly.

Yes but this is a huge performance issue...

Rich




More information about the MPlayer-dev-eng mailing list