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

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jan 15 11:47:06 CET 2006


Hi,
On Sat, Jan 14, 2006 at 02:33:24PM +0100, Reimar Döffinger wrote:
> On Sat, Dec 17, 2005 at 12:23:06PM +0100, Reimar Döffinger wrote:
> > 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.
> 
> Ok, I removed the uglyness. I also think it would be a good idea to
> apply since I didn't see any checks for the size of videobuffer in the
> old code...
> I guess a bit of testing would be a good idea, I do not have many
> samples.
> What do you think?

If there are no objections I will apply tomorrow.

Greetings,
Reimar Döffinger




More information about the MPlayer-dev-eng mailing list