mp3的霍夫曼解码

    技术2022-05-11  129

    mp3的数据结构 :

    struct coded_word {

              1:codeword

              2:linbitsx         

              3:signx          

              4:linbitsy 

              5:signy 

             }

    只有数据1肯定存在,2,3,4,5可能存在。

    举例:Huffman code table 1

     x  y hlen hcod

     0  0  1   1

     0  1  3   001

     1  0  2   01

     1  1  3   000

    hcod就是mp3文件中的数据(未解压),hlen的数据在mp3文件是不存在的,x和y是解压出来的数据


    最新回复(0)