BitParser *bp
Pointer to Dali bit parser structure. Assumed initialized and wrapped around a bit stream containing MPEG-2 data.
Mpeg2PicHdr *fh
Pointer to previously allocated Mpeg2PicHdr structure.

Return value:

Number of bytes parsed from bit parser.


Parses MPEG-2 picture extension header from bit parser bp and initializes Mpeg2PicHdr fh with parsed values. If bit parser is not at the beginning of a MPEG-2 picture extension header, negative error code is returned. Otherwise, number of bytes parsed is returned.

Author: Ketan Mayer-Patel Date: 4/18/00