S={125, 110, 60, 40, 12, 4, 1}
Rice coding:
0000001111101
0000001101110
00000111100
00000101000
0001100
00100
1
____________________
61 bits
|
RR coding:
0111 (size prefix)
111101 (S[0], implicit MSB is dropped)
1101110 (S[1])
0111100 (S[2])
101000 (S[3])
001100 (S[4])
0100 (S[5])
001 (S[6])
_________________________
43 bits
|