Exponential-Golomb coding: Difference between revisions

Content deleted Content added
m avoid the ambiguous term "whole number"
mNo edit summary
Line 19:
Exp-Golomb coding for ''k'' = 0 is used in the [[H.264/MPEG-4 AVC]] video compression standard, 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).
 
Exp-Golomb coding is also used in the [[Dirac (codecvideo compression format)|Dirac video codec]].
 
The ''k'' = 0 exp-Golomb code is identical to the [[Elias gamma coding|Elias gamma code]] of the same number plus one. Thus it can encode zero, whereas Elias gamma can only encode numbers greater than zero.