1. 26 Jan, 2014 5 commits
    • Michael Niedermayer's avatar
      avcodec/mpeg12dec: Revert Change to mpeg2_fast_decode_block_non_intra · 7667afff
      Michael Niedermayer authored
      This fixes the speed regression from 20626f53
      and still checks sufficiently to prevent out of allocated memory accesses
      due to the index
      
      Before:
      1823 decicycles in mpeg2_fast_decode_block_non_intra, 8388493 runs, 115 skips
      After:
      1808 decicycles in mpeg2_fast_decode_block_non_intra, 8388494 runs, 114 skips
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      7667afff
    • Michael Niedermayer's avatar
      avcodec/mpeg12dec: Redesign index checks for mpeg2_fast_decode_block_intra · 6a92598e
      Michael Niedermayer authored
      This fixes the speed regression from 20626f53
      and still checks sufficiently to prevent out of allocated memory accesses
      due to the index
      
      Before:
      1681 decicycles in mpeg2_fast_decode_block_intra, 4194238 runs, 66 skips
      After:
      1658 decicycles in mpeg2_fast_decode_block_intra, 4194248 runs, 56 skips
      Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      6a92598e
    • Michael Niedermayer's avatar
      Merge commit '6d93307f' · 20626f53
      Michael Niedermayer authored
      * commit '6d93307f':
        mpeg12: check scantable indices in all decode_block functions
      
      Benchmarks
      
      Before:
      1878 decicycles in mpeg2_decode_block_non_intra, 8388487 runs, 121 skips
      1700 decicycles in mpeg2_decode_block_intra, 4194239 runs, 65 skips
      1808 decicycles in mpeg2_fast_decode_block_non_intra, 8388492 runs, 116 skips
      1669 decicycles in mpeg2_fast_decode_block_intra, 4194248 runs, 56 skips
      --
      2056 decicycles in mpeg1_decode_block_inter, 65535 runs, 1 skips
      2346 decicycles in mpeg1_decode_block_intra, 32768 runs, 0 skips
      2011 decicycles in mpeg1_fast_decode_block_inter, 65533 runs, 3 skips
      ----------------
      After:
      1858 decicycles in mpeg2_decode_block_non_intra, 8388490 runs, 118 skips
      1691 decicycles in mpeg2_decode_block_intra, 4194233 runs, 71 skips
      1823 decicycles in mpeg2_fast_decode_block_non_intra, 8388493 runs, 115 skips
      1681 decicycles in mpeg2_fast_decode_block_intra, 4194238 runs, 66 skips
      --
      2010 decicycles in mpeg1_decode_block_inter, 65535 runs, 1 skips
      2322 decicycles in mpeg1_decode_block_intra, 32766 runs, 2 skips
      1995 decicycles in mpeg1_fast_decode_block_inter, 65535 runs, 1 skips
      
      All benchmarks are the best scores of several runs
      Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      20626f53
    • Michael Niedermayer's avatar
      avutil/internal.h: add timer.h back · 3e6088f7
      Michael Niedermayer authored
      Without this a developer would have to add a include every time he
      wants to benchmark some code, this is a moderate inconvenience.
      
      This reverts the specific hunk from fb0c9d41Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      3e6088f7
    • Michael Niedermayer's avatar
      Merge commit 'fb0c9d41' · 965fa6b0
      Michael Niedermayer authored
      * commit 'fb0c9d41':
        avutil: remove timer.h include from internal.h
      
      Conflicts:
      	libavcodec/ffv1dec.c
      	libavutil/internal.h
      Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      965fa6b0
  2. 25 Jan, 2014 25 commits
  3. 24 Jan, 2014 10 commits