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

Andreas Öman andreas
Thu Sep 20 12:59:19 CEST 2007


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: h264_cbp_luma.patch
Type: text/x-patch
Size: 2648 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070920/87dbc4d0/attachment.bin>



More information about the ffmpeg-devel mailing list