Content deleted Content added
CRGreathouse (talk | contribs) m of course the same trick is often used for gamma coding |
No edit summary |
||
Line 16:
...<ref name="richardson"/>
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)
0 => 1 => 1
1 => 10 => 010
-1 => 11 => 011
2 => 100 => 00100
-2 => 101 => 00101
3 => 110 => 00110
-3 => 111 => 00111
4 => 1000 => 0001000
-4 => 1001 => 0001001
...<ref name="richardson">{{cite book|last=Richardson|first=Iain|title=The H.264 Advanced Video Compression Standard|year=2010|publisher=Wiley|isbn=978-0470516928|pages=208,221|url=http://books.google.com/books?id=LJoDiPnBzQ8C&lpg=PA208&dq=Exponential-Golomb%20coding&pg=PA221#v=onepage&q=Exponential-Golomb%20coding&f=false}}</ref>
Exp-Golomb coding is also used in the [[Dirac (video compression format)|Dirac video codec]].<ref>{{cite web|title=Dirac Specification|url=http://diracvideo.org/download/specification/dirac-spec-latest.pdf|publisher=BBC|accessdate=9 March 2011}}</ref>
|