|
Public Member Functions |
|
| MntMPEGFrameDecoder () |
| | Initialize the decoder with empty headers (sequence, GOP, picture and slice), and other members.
|
| virtual void | recv (MntData *) |
| | This method expects a reassemble buffer as input, containing a sequence of packets that made up a complete MPEG frame.
|
| int | copy_next_slice_to_bs (MntMPEGRTPReassemblerBuffer *buf, BitStream *bs, int &i) |
| | Copy the next complete slice from buffer to bitstream.
|
|
void | init_frame (MntMPEGFrame *frame) |
|
void | decode_i_slice (BitStream *bs) |
|
void | decode_p_slice (BitStream *bs) |
|
void | decode_b_slice (BitStream *bs) |
|
void | dct_i_to_byte (MntYUVFrame *, MntMPEGFrame *, MntYUVFrame *) |
|
void | dct_p_to_byte (MntYUVFrame *, MntMPEGFrame *, MntYUVFrame *, MntYUVFrame *) |
|
void | dct_b_to_byte (MntYUVFrame *, MntMPEGFrame *, MntYUVFrame *, MntYUVFrame *, MntYUVFrame *) |
|
void | sc_i_to_byte (MntDCTImage *sc, MntByteImage *byte, MntByteImage *last) |
|
void | sc_p_to_y (MntDCTImage *sc, MntVectorImage *mv, MntByteImage *prev, MntByteImage *byte, MntByteImage *last) |
|
void | sc_p_to_uv (MntDCTImage *sc, MntVectorImage *mv, MntByteImage *prev, MntByteImage *byte, MntByteImage *last) |
|
void | sc_b_to_y (MntDCTImage *sc, MntVectorImage *fwdmv, MntVectorImage *bwdmv, MntByteImage *prev, MntByteImage *future, MntByteImage *byte, MntByteImage *last) |
|
void | sc_b_to_uv (MntDCTImage *sc, MntVectorImage *fwdmv, MntVectorImage *bwdmv, MntByteImage *prev, MntByteImage *future, MntByteImage *byte, MntByteImage *last) |
|
void | process_seq_hdr () |
|
void | skip_p_macroblocks (int prev_mb_addr, int curr_mb_addr) |
|
void | skip_b_macroblocks (int prev_mb_addr, int curr_mb_addr, int, int, int, int, int, int) |
|
void | skip_macroblock (int curr_mb_addr) |
Private Attributes |
| MntMPEG1SeqHdr * | seq_hdr_ |
| MntMPEG1GopHdr * | gop_hdr_ |
| MntMPEG1PicHdr * | pic_hdr_ |
| MntMPEG1SliceHdr * | slice_hdr_ |
| MntMPEGFrame * | frame_ |
| BitStream * | bs_ |
| BitParser * | bp_ |
| MntYUVFrame * | curr_ |
| MntYUVFrame * | prev_ |
| MntYUVFrame * | next_ |
| MntYUVFrame * | last_decoded_ |
| int | skip_check_addr_ |
|
int | prev_fwd_down_ |
|
int | prev_fwd_right_ |
|
int | prev_bwd_down_ |
|
int | prev_bwd_right_ |
|
int | prev_fwd_exists_ |
|
int | prev_bwd_exists_ |
| int | gop_start_ |
| int | gop_size_ |
| int | curr_frame_no_ |