Re: [FFmpeg-devel] [PATCH 10/25] avcodec/magicyuv: Fix building Huffman table

2020-09-26 Thread Andreas Rheinhardt
Paul B Mahol: > On Sat, Sep 26, 2020 at 12:27:49PM +0200, Andreas Rheinhardt wrote: >> The MagicYUV format stores Huffman tables in its bitstream by coding >> the length of a given symbol; it does not code the actual code directly, >> instead this is to be inferred by the rule that a symbol is to t

Re: [FFmpeg-devel] [PATCH 10/25] avcodec/magicyuv: Fix building Huffman table

2020-09-26 Thread Paul B Mahol
On Sat, Sep 26, 2020 at 12:27:49PM +0200, Andreas Rheinhardt wrote: > The MagicYUV format stores Huffman tables in its bitstream by coding > the length of a given symbol; it does not code the actual code directly, > instead this is to be inferred by the rule that a symbol is to the left > of every

[FFmpeg-devel] [PATCH 10/25] avcodec/magicyuv: Fix building Huffman table

2020-09-26 Thread Andreas Rheinhardt
The MagicYUV format stores Huffman tables in its bitstream by coding the length of a given symbol; it does not code the actual code directly, instead this is to be inferred by the rule that a symbol is to the left of every shorter symbol in the Huffman tree and that for symbols of the same length t