MPEG-1/2 decoder.  
 | 
 Data Structures | 
| struct   | Mpeg1Context | 
 Defines | 
| #define  | MV_VLC_BITS   9 | 
| #define  | MBINCR_VLC_BITS   9 | 
| #define  | MB_PAT_VLC_BITS   9 | 
| #define  | MB_PTYPE_VLC_BITS   6 | 
| #define  | MB_BTYPE_VLC_BITS   6 | 
| #define  | INIT_2D_VLC_RL(rl, static_size) | 
| #define  | MT_FIELD   1 | 
| #define  | MT_FRAME   2 | 
| #define  | MT_16X8   2 | 
| #define  | MT_DMV   3 | 
| #define  | DECODE_SLICE_ERROR   -1 | 
| #define  | DECODE_SLICE_OK   0 | 
 Functions | 
| static int  | mpeg1_decode_block_inter (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg1_fast_decode_block_inter (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg2_decode_block_non_intra (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg2_decode_block_intra (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg2_fast_decode_block_non_intra (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg2_fast_decode_block_intra (MpegEncContext *s, DCTELEM *block, int n) | 
| static int  | mpeg_decode_motion (MpegEncContext *s, int fcode, int pred) | 
| static void  | exchange_uv (MpegEncContext *s) | 
| static void  | init_2d_vlc_rl (RLTable *rl) | 
| void  | ff_mpeg12_common_init (MpegEncContext *s) | 
| void  | ff_mpeg1_clean_buffers (MpegEncContext *s) | 
| av_cold void  | ff_mpeg12_init_vlcs (void) | 
| static int  | get_dmv (MpegEncContext *s) | 
| static int  | get_qscale (MpegEncContext *s) | 
| static int  | mpeg_decode_mb (MpegEncContext *s, DCTELEM block[12][64]) | 
| int  | ff_mpeg1_decode_block_intra (MpegEncContext *s, DCTELEM *block, int n) | 
| static av_cold int  | mpeg_decode_init (AVCodecContext *avctx) | 
| static void  | quant_matrix_rebuild (uint16_t *matrix, const uint8_t *old_perm, const uint8_t *new_perm) | 
| static enum PixelFormat  | mpeg_get_pixelformat (AVCodecContext *avctx) | 
| static int  | mpeg_decode_postinit (AVCodecContext *avctx) | 
| static int  | mpeg1_decode_picture (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static void  | mpeg_decode_sequence_extension (Mpeg1Context *s1) | 
| static void  | mpeg_decode_sequence_display_extension (Mpeg1Context *s1) | 
| static void  | mpeg_decode_picture_display_extension (Mpeg1Context *s1) | 
| static void  | mpeg_decode_quant_matrix_extension (MpegEncContext *s) | 
| static void  | mpeg_decode_picture_coding_extension (Mpeg1Context *s1) | 
| static void  | mpeg_decode_extension (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static int  | mpeg_field_start (MpegEncContext *s, const uint8_t *buf, int buf_size) | 
| static int  | mpeg_decode_slice (Mpeg1Context *s1, int mb_y, const uint8_t **buf, int buf_size) | 
|   | decodes a slice.  
  | 
| static int  | slice_decode_thread (AVCodecContext *c, void *arg) | 
| static int  | slice_end (AVCodecContext *avctx, AVFrame *pict) | 
|   | Handles slice ends.  
  | 
| static int  | mpeg1_decode_sequence (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static int  | vcr2_init_sequence (AVCodecContext *avctx) | 
| static void  | mpeg_decode_user_data (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| static void  | mpeg_decode_gop (AVCodecContext *avctx, const uint8_t *buf, int buf_size) | 
| int  | ff_mpeg1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size) | 
|   | Finds the end of the current frame in the bitstream.  
  | 
| static int  | decode_chunks (AVCodecContext *avctx, AVFrame *picture, int *data_size, const uint8_t *buf, int buf_size) | 
| static int  | mpeg_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) | 
| static int  | mpeg_decode_end (AVCodecContext *avctx) | 
 Variables | 
| static enum PixelFormat  | pixfmt_xvmc_mpg2_420 [] | 
| uint8_t  | ff_mpeg12_static_rl_table_store [2][2][2 *MAX_RUN+MAX_LEVEL+3] | 
| static VLC  | mv_vlc | 
| static VLC  | mbincr_vlc | 
| static VLC  | mb_ptype_vlc | 
| static VLC  | mb_btype_vlc | 
| static VLC  | mb_pat_vlc | 
| AVCodec  | mpeg1video_decoder | 
| AVCodec  | mpeg2video_decoder | 
| AVCodec  | mpegvideo_decoder | 
MPEG-1/2 decoder.