FFmpeg
|
#include "mpegvideo.h"
Go to the source code of this file.
Macros | |
#define | DC_VLC_BITS 9 |
#define | MV_VLC_BITS 9 |
#define | TEX_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 |
Functions | |
void | ff_mpeg12_common_init (MpegEncContext *s) |
void | ff_mpeg12_init_vlcs (void) |
static int | decode_dc (GetBitContext *gb, int component) |
int | ff_mpeg1_decode_block_intra (MpegEncContext *s, int16_t *block, int n) |
void | ff_mpeg1_clean_buffers (MpegEncContext *s) |
int | ff_mpeg1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size, AVCodecParserContext *s) |
Find the end of the current frame in the bitstream. More... | |
void | ff_mpeg1_encode_picture_header (MpegEncContext *s, int picture_number) |
void | ff_mpeg1_encode_mb (MpegEncContext *s, int16_t block[8][64], int motion_x, int motion_y) |
void | ff_mpeg1_encode_init (MpegEncContext *s) |
void | ff_mpeg1_encode_slice_header (MpegEncContext *s) |
#define DC_VLC_BITS 9 |
Definition at line 27 of file mpeg12.h.
Referenced by decode_dc().
#define MBINCR_VLC_BITS 9 |
Definition at line 31 of file mpeg12.h.
Referenced by ff_mpeg12_init_vlcs(), and mpeg_decode_slice().
#define MB_PAT_VLC_BITS 9 |
Definition at line 32 of file mpeg12.h.
Referenced by ff_mpeg12_init_vlcs(), and mpeg_decode_mb().
#define MB_PTYPE_VLC_BITS 6 |
Definition at line 33 of file mpeg12.h.
Referenced by ff_mpeg12_init_vlcs(), and mpeg_decode_mb().
#define MB_BTYPE_VLC_BITS 6 |
Definition at line 34 of file mpeg12.h.
Referenced by ff_mpeg12_init_vlcs(), and mpeg_decode_mb().
void ff_mpeg12_common_init | ( | MpegEncContext * | s | ) |
Definition at line 115 of file mpeg12.c.
Referenced by ff_mpeg1_encode_init(), and mpeg_decode_init().
Definition at line 145 of file mpeg12.c.
Referenced by decode_init(), mpeg_decode_init(), and tqi_decode_init().
|
inlinestatic |
Definition at line 49 of file mpeg12.h.
Referenced by mdec_decode_block_intra(), mpeg1_decode_block_intra(), mpeg2_decode_block_intra(), and mpeg2_fast_decode_block_intra().
int ff_mpeg1_decode_block_intra | ( | MpegEncContext * | s, |
int16_t * | block, | ||
int | n | ||
) |
Definition at line 225 of file mpeg12dec.c.
Referenced by tqi_decode_mb().
void ff_mpeg1_clean_buffers | ( | MpegEncContext * | s | ) |
Definition at line 123 of file mpeg12.c.
Referenced by encode_thread(), and mpeg_decode_slice().
int ff_mpeg1_find_frame_end | ( | ParseContext * | pc, |
const uint8_t * | buf, | ||
int | buf_size, | ||
AVCodecParserContext * | s | ||
) |
Find the end of the current frame in the bitstream.
Definition at line 186 of file mpeg12.c.
Referenced by mpeg_decode_frame(), and mpegvideo_parse().
void ff_mpeg1_encode_picture_header | ( | MpegEncContext * | s, |
int | picture_number | ||
) |
Definition at line 426 of file mpeg12enc.c.
Referenced by encode_picture().
void ff_mpeg1_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[8][64], | ||
int | motion_x, | ||
int | motion_y | ||
) |
Definition at line 998 of file mpeg12enc.c.
Referenced by encode_mb_internal().
void ff_mpeg1_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 1007 of file mpeg12enc.c.
Referenced by ff_mpv_encode_init().
void ff_mpeg1_encode_slice_header | ( | MpegEncContext * | s | ) |
Definition at line 412 of file mpeg12enc.c.
Referenced by encode_thread(), and ff_mpeg1_encode_picture_header().
VLC ff_mbincr_vlc |
Definition at line 140 of file mpeg12.c.
Referenced by mpeg_decode_slice().
VLC ff_mb_ptype_vlc |
Definition at line 141 of file mpeg12.c.
Referenced by mpeg_decode_mb().
VLC ff_mb_btype_vlc |
Definition at line 142 of file mpeg12.c.
Referenced by mpeg_decode_mb().
VLC ff_mb_pat_vlc |
Definition at line 143 of file mpeg12.c.
Referenced by mpeg_decode_mb().
VLC ff_mv_vlc |
Definition at line 135 of file mpeg12.c.
Referenced by mpeg_decode_motion().
Definition at line 45 of file mpeg12.c.
Referenced by ff_mpeg12_init_vlcs(), and ff_mpeg1_encode_init().