[MPlayer-dev-eng] [PATCH] much faster parse_es.c
Guillaume POIRIER
poirierg at gmail.com
Sat Jan 14 17:23:19 CET 2006
Hi,
On 1/14/06, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> Hi,
> 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.
Where such samples can be found?
Guillaume
--
Life is pleasant. Death is peaceful. It's the transition that's troublesome.
Isaac Asimov (1920 - 1992)
MPlayer's doc is offline. Find some fresh one here:
http://tuxrip.free.fr//MPlayer-DOCS-HTML/en/
http://tuxrip.free.fr//MPlayer-DOCS-HTML/fr/
More information about the MPlayer-dev-eng
mailing list