[FFmpeg-devel] Pipeline: H.264 speed improvements

Jason Garrett-Glaser darkshikari
Tue Dec 23 13:19:55 CET 2008

> i suggest:
> coeff= get_vlc2();
> if(coeff<0)
>    do escape with prefix= -coeff

But coeff can be negative or positive: the only reserved value that it
cannot be is zero (the idea is to make this a coeff lookup table, NOT
a levelcode lookup table, if possible).  So we should have:

coeff= get_vlc2();
    do escape with prefix= -coeff

Also, what about the fact that we will need to "roll back" X bits in
the case of an escape?

Dark Shikari

More information about the ffmpeg-devel mailing list