Exponential-Golomb coding: Difference between revisions

Content deleted Content added
Broke into sections: Basic code, negative number extension, order-k generalization
Also used in H.265/HEVC.
Line 18:
 
==Extension to negative numbers==
Exp-Golomb coding for ''k'' = 0 is used in the [[H.264/MPEG-4 AVC]] and H.265 [[High Efficiency Video Coding]] video compression standardstandards, in which there is also a variation for the coding of signed numbers by assigning the value 0 to the binary codeword '0' and assigning subsequent codewords to input values of increasing magnitude (and alternating sign, if the field can contain a negative number):
0 ⇒ 0 ⇒ 1 ⇒ 1
1 ⇒ 1 ⇒ 10 ⇒ 010