Re: [FFmpeg-devel] [PATCH 6/9] avcodec/asvenc: Avoid reversing output data twice

2020-10-14 Thread Michael Niedermayer
On Tue, Oct 13, 2020 at 11:10:14AM +0200, Andreas Rheinhardt wrote: > The ASUS V2 format is designed for a little-endian bitstream reader, yet > our encoder used an ordinary big-endian bitstream writer to write it; > the bits of every byte were swapped at the end and some data (namely the > numbers

[FFmpeg-devel] [PATCH 6/9] avcodec/asvenc: Avoid reversing output data twice

2020-10-13 Thread Andreas Rheinhardt
The ASUS V2 format is designed for a little-endian bitstream reader, yet our encoder used an ordinary big-endian bitstream writer to write it; the bits of every byte were swapped at the end and some data (namely the numbers not in static tables) had to be bitreversed before writing it at all, so th