25.3 Compresor de Huffman

Categorías Códigos de Huffman


SSSS DIFF


0 0
1 -1,1
2 -3,-2,2,3
3 -7,⋅⋅⋅,-4,4,⋅⋅⋅,7
4 -15,⋅⋅⋅,-8,8,⋅⋅⋅,15
5 -31,⋅⋅⋅,-16,16,⋅⋅⋅,31
6 -63,⋅⋅⋅,-32,32,⋅⋅⋅,63
7 -127,⋅⋅⋅,-64,64,⋅⋅⋅,127
8 -255,⋅⋅⋅,-128,128,⋅⋅⋅,255
9 -511,⋅⋅⋅,-256,256,⋅⋅⋅,511
10 -1023,⋅⋅⋅,-512,512,⋅⋅⋅,1023
11 -2047,⋅⋅⋅,-1024,1024,⋅⋅⋅,2043
12 -4095,⋅⋅⋅,-2048,2048,⋅⋅⋅,4095
13 -8191,⋅⋅⋅,-4096,4096,⋅⋅⋅,8191
14 -16383,⋅⋅⋅,-8192,8192,⋅⋅⋅,16383
15-32767,⋅⋅⋅,-16384,16384,⋅⋅⋅,32767
16 -32768





SSSSLongitudC’odigo base



0 300
1 4010
2 5011
3 5100
4 7101
5 8110
6 101110
7 511110
8 6111110
9 71111110
10 811111110
11 9111111110
12 101111111110
13 1111111111110
14 12111111111110
15 -1111111111110
16 -11111111111110