[x264-devel] How to decode Bitstream in H.264?

Martin Fiedler martin.fiedler at gmx.net
Tue Sep 13 09:06:51 CEST 2011


Hi!

> unable to extract the intra frame prediction modes(0 to 8 for 4x4 blocks or
> 0 to 3 for 16x16 blocks). I know they stored in Golomb code format.

They are *not* stored in Exp-Golomb format, but as simple 3-bit (4x4, 
8x8) or 2-bit (16x16) codes, plus an additional bit specifying if the 
predicted mode is used. This is described in detail in sections 8.3.1.1 
(4x4), 8.3.2.1 (8x8) and 8.3.3 (16x16) in the standard.

Martin J. Fiedler
(not associated with the x264 developers in any way, but nervertheless 
trying to be helpful ;)


More information about the x264-devel mailing list