[FFmpeg-devel] [PATCH 0/2] Implementing the "trick" for huffyuvdec

Christophe Gisquet christophe.gisquet at gmail.com
Tue Jun 3 21:51:49 CEST 2014


The decoder implements a nice trick where a VLC table actually contains
vectors of codewords. However, when it can't be used, this forces to restart
parsing from scratch. By implementing the recommended trick and inlining
the whole VLC code, an interesting speedup as well as object size reduction
can be achieved.

Christophe Gisquet (2):
  huffyuvdec: implement trick
  huffyuvdec: implement trick for BGR

 libavcodec/huffyuvdec.c | 156 ++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 130 insertions(+), 26 deletions(-)

-- 
1.8.0.msysgit.0



More information about the ffmpeg-devel mailing list