[FFmpeg-devel] Reading bits in reversed order

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Mar 30 09:33:34 CET 2013


On Fri, Mar 29, 2013 at 09:41:02PM +0100, Michael Niedermayer wrote:
> On Fri, Mar 29, 2013 at 08:07:03PM +0100, Thilo Borgmann wrote:
> > Hi,
> > 
> > rather than reading one bit at a tme and apply shifting - is there a
> > better solution to read a number of bits out of a get_bits context in
> > reversed order?
> 
> possibly:
> #define BITSTREAM_READER_LE

In addition for generic bit reordering there is av_reverse (if I
remembered the name correctly).


More information about the ffmpeg-devel mailing list