[FFmpeg-devel] [PATCH] simplify h264's decode_cabac_mb_cbp_luma()

Michael Niedermayer michaelni
Thu Sep 20 13:51:17 CEST 2007


Hi

On Thu, Sep 20, 2007 at 12:59:19PM +0200, Andreas ?man wrote:
> Hi
>
> Attached patch does $subj. It increases speed by  ~0.5%. Not much, but it's 
> always something :-)
>
> unmodified:
>   2443 dezicycles in decode_cabac_mb_cbp_luma, 524112 runs, 176 skips
>
>   10 rounds average/median of test_smp_fox.ts:
>      avg: 3.664  stddev: 0.020  med: 3.658
>
> patched:
>   2185 dezicycles in decode_cabac_mb_cbp_luma, 523964 runs, 324 skips
>
>   10 rounds average/median of test_smp_fox.ts
>      avg: 3.644  stddev: 0.024  med: 3.638
>
> tests run on a core2
>
> I've run the usual md5sum tests
>
> test_smp_fox.ts
> unmodified: 93eb4b964e611bc7192826eb210af0a5
> patched:    93eb4b964e611bc7192826eb210af0a5
>
> ffh264_issue1.m2ts
> unmodified: 5b3f8371016a0daf6e868528f96c395f
> patched:    5b3f8371016a0daf6e868528f96c395f
>
> Aladin.mpg:
> unmodified: 8f927a150dcee8d91531fb6d012799de
> patched:    8f927a150dcee8d91531fb6d012799de

patch looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070920/0e8dc769/attachment.pgp>



More information about the ffmpeg-devel mailing list