This file contains functions that allow one to parse MPEG-2 compliant video. The code is based on the MPEG-2 specification (ISO/IEC 13818-2). The MPEG-2 decoding is a work in progress, although it works within a limited test range. Throughout the source code, citations are made in cases where an understanding of the code would be helped by looking at an outside source. The format I have chosen is (cite NUM#, LOOKUP_INFO). NUM=1 refers to ISO/IEC: 13818-2, and NUM=2 refers to the reference MPEG implementation written in C, available at [www.mpeg.org].
Component Summary | |
bit->int
|
MPEGStreamParser
Performs variable length decoding on an MPEG-2 compliant bit stream in accordance with the IEEE MPEG-2 specification. |
Component Detail |
bit->int MPEGStreamParser
<bit>
- An MPEG-2 variable length encoded bitstream
<int>
- A series of variable length decoded macroblocks with associated motion vectors and messages interleaved on parser phase boundaries with updates to the state of the decoded data. UpdatePortal_quantiser_data_ac
- The portal that recieves AC quantiser coefficient table data
UpdatePortal_quantiser_data_dc
- The portal that recieves DC quantiser coefficient table data
UpdatePortal_macroblock_intra
- The portal that receives intra macroblock information
UpdatePortal_picture_type
- The portal that receives picture type information
UpdatePortal_mvd
- The portal that needs to be notified about motion vector resets
UpdatePortal_picture_type2
- The portal that receives picture type information