[Ffmpeg-devel] [PATCH] h264.c faster decode_residual
diane_cartman at gmx.de
Fri Sep 23 20:05:54 CEST 2005
this patch addresses two FIXMEs that are in the code for decoding of
residual blocks in CAVLC mode.
1. seperated code for first coefficient level (after the trailing ones) and
subsequent coefficient levels.
2. merged decode of runs with dequantisation
I timed the function from the handling of trailing ones down to the end with
STOP_TIMER. This showed an improvement of almost 20% for the Apple Trailer
in 1080p for that function.
Overall, when decoding the clip with "mplayer batman_begins_1080p.mov -vo
null -ao dummy"
on my P4 with 3GHz I get
V: 144.3 3460/3460 100% 0% 0.0% 0 0
before applying the patch and
V: 144.3 3460/3460 97% 0% 0.0% 0 0
Maybe not that much of an improvement, but I guess it's worth it.
P.S. please cc me as I am not subscribed. And show some mercy, this is my
first patch :)
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f?r Mail, Message, More +++
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel