<s>
An	O
exponential-Golomb	O
code	O
(	O
or	O
just	O
Exp-Golomb	B-Algorithm
code	O
)	O
is	O
a	O
type	O
of	O
universal	B-Algorithm
code	I-Algorithm
.	O
</s>
<s>
To	O
encode	O
any	O
nonnegative	O
integer	O
x	O
using	O
the	O
exp-Golomb	B-Algorithm
code	O
:	O
</s>
<s>
This	O
is	O
identical	O
to	O
the	O
Elias	B-Algorithm
gamma	I-Algorithm
code	I-Algorithm
of	O
x+1	O
,	O
allowing	O
it	O
to	O
encode	O
0	O
.	O
</s>
<s>
Exp-Golomb	B-Algorithm
coding	I-Algorithm
is	O
used	O
in	O
the	O
H.264/MPEG	B-Application
-4	I-Application
AVC	I-Application
and	O
H.265	B-Algorithm
High	B-Algorithm
Efficiency	I-Algorithm
Video	I-Algorithm
Coding	I-Algorithm
video	O
compression	O
standards	O
,	O
in	O
which	O
there	O
is	O
also	O
a	O
variation	O
for	O
the	O
coding	O
of	O
signed	O
numbers	O
by	O
assigning	O
the	O
value	O
0	O
to	O
the	O
binary	O
codeword	O
'	O
0	O
 '	O
and	O
assigning	O
subsequent	O
codewords	O
to	O
input	O
values	O
of	O
increasing	O
magnitude	O
(	O
and	O
alternating	O
sign	O
,	O
if	O
the	O
field	O
can	O
contain	O
a	O
negative	O
number	O
)	O
:	O
</s>
<s>
Exp-Golomb	B-Algorithm
coding	I-Algorithm
is	O
also	O
used	O
in	O
the	O
Dirac	B-Application
video	I-Application
codec	I-Application
.	I-Application
</s>
<s>
Encode	O
x+2k−1	O
using	O
the	O
order-0	O
exp-Golomb	B-Algorithm
code	O
(	O
i.e.	O
</s>
