aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_mp.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-06-03 16:38:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-04 13:12:48 +0200
commit11b47038135442ec546dc348f2411e52e47549b8 (patch)
treed87e3b4afcf50bcb3bc5191da6f3560fc51da09d /libavfilter/vf_mp.c
parentc7e54628e30acbe896f92c8b8d89ae63901834ff (diff)
downloadffmpeg-11b47038135442ec546dc348f2411e52e47549b8.tar.gz
huffyuvdec: implement trick
When the joint table does not contain a valid entry, the decoding restarts from scratch. By implementing the trick of jumping to the 2nd level of the individual table (and inlining the whole), a speed improvement of 5-10% is possible. On a 1000-frames YUV4:2:0 video, before: 362851 decicycles in 422, 262094 runs, 50 skips 182488 decicycles in gray, 262087 runs, 57 skips Object size: 23584 Overall time: 8.377 After: 346800 decicycles in 422, 262079 runs, 65 skips 168197 decicycles in gray, 262077 runs, 67 skips Object size: 23188 Overall time: 7.878 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_mp.c')
0 files changed, 0 insertions, 0 deletions