[FFmpeg-devel] [PATCH] h264: factor out dequant table lookup outside loops

Guillaume POIRIER poirierg
Mon Sep 24 15:10:51 CEST 2007


Hi,

On 9/24/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> Hi
>
> On Mon, Sep 24, 2007 at 12:59:21PM +0200, Andreas ?man wrote:
> > Hi,
> >
> > the attached patch does $subj, much like what I did for
> > the chroma residuals earlier.
> >
> > Gives about 1-2% speedup.
> >
> > Note that I tried various loop-constructs for the 8x8DCT case,
> > but this seems to be the fastest way.
> >
> > test_smp_fox.ts
> > unmodified: avg: 3.737  stddev: 0.009  med: 3.736
> > patched:    avg: 3.642  stddev: 0.010  med: 3.638
> >
> > ffh264_issue1.m2ts
> > unmodified: avg: 23.339  stddev: 0.107  med: 23.321
> > patched:    avg: 22.973  stddev: 0.201  med: 22.889
> >
> > ffh264_issue3.h264
> > unmodified: avg: 10.090  stddev: 0.121  med: 10.053
> > patched:    avg: 9.931   stddev: 0.140  med: 9.891
>
> patch ok

Works fine here. Applied.


> and if you want svn write access, and agree with our svn policy then
> send diego username+password of your choice (and gpg encrypted if possible)

Agreed, I was about to suggest the same thing too ;-)

Guillaume
-- 
A soldier will fight long and hard for a bit of colored ribbon.
 -- Napoleon Bonaparte




More information about the ffmpeg-devel mailing list