FFmpeg
|
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "mpeg12.h"
#include "mpeg12codecs.h"
#include "mpeg12data.h"
#include "mpeg12dec.h"
#include "rl.h"
#include "startcode.h"
Go to the source code of this file.
Macros | |
#define | UNCHECKED_BITSTREAM_READER 1 |
#define | MAX_INDEX (64 - 1) |
Functions | |
av_cold void | ff_init_2d_vlc_rl (const uint16_t table_vlc[][2], RL_VLC_ELEM rl_vlc[], const int8_t table_run[], const uint8_t table_level[], int n, unsigned static_size, int flags) |
void | ff_mpeg1_clean_buffers (MpegEncContext *s) |
static av_cold void | mpeg12_init_vlcs (void) |
av_cold void | ff_mpeg12_init_vlcs (void) |
int | ff_mpeg1_decode_block_intra (GetBitContext *gb, const uint16_t *quant_matrix, const uint8_t *scantable, int last_dc[3], int16_t *block, int index, int qscale) |
Variables | |
static const uint8_t | table_mb_ptype [7][2] |
static const uint8_t | table_mb_btype [11][2] |
VLC | ff_mv_vlc |
VLC | ff_dc_lum_vlc |
VLC | ff_dc_chroma_vlc |
VLC | ff_mbincr_vlc |
VLC | ff_mb_ptype_vlc |
VLC | ff_mb_btype_vlc |
VLC | ff_mb_pat_vlc |
RL_VLC_ELEM | ff_mpeg1_rl_vlc [680] |
RL_VLC_ELEM | ff_mpeg2_rl_vlc [674] |
MPEG-1/2 decoder
Definition in file mpeg12.c.
av_cold void ff_init_2d_vlc_rl | ( | const uint16_t | table_vlc[][2], |
RL_VLC_ELEM | rl_vlc[], | ||
const int8_t | table_run[], | ||
const uint8_t | table_level[], | ||
int | n, | ||
unsigned | static_size, | ||
int | flags | ||
) |
Definition at line 67 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and speedhq_static_init().
void ff_mpeg1_clean_buffers | ( | MpegEncContext * | s | ) |
Definition at line 106 of file mpeg12.c.
Referenced by encode_thread(), and mpeg_decode_slice().
|
static |
Definition at line 131 of file mpeg12.c.
Referenced by ff_mpeg12_init_vlcs().
av_cold void ff_mpeg12_init_vlcs | ( | void | ) |
Definition at line 164 of file mpeg12.c.
Referenced by decode_init(), ipu_decode_init(), mpeg_decode_init(), and tqi_decode_init().
int ff_mpeg1_decode_block_intra | ( | GetBitContext * | gb, |
const uint16_t * | quant_matrix, | ||
const uint8_t * | scantable, | ||
int | last_dc[3], | ||
int16_t * | block, | ||
int | index, | ||
int | qscale | ||
) |
Definition at line 172 of file mpeg12.c.
Referenced by ipu_decode_frame(), mpeg_decode_mb(), and tqi_decode_mb().
|
static |
Definition at line 43 of file mpeg12.c.
Referenced by mpeg12_init_vlcs().
|
static |
Definition at line 53 of file mpeg12.c.
Referenced by mpeg12_init_vlcs().
VLC ff_mv_vlc |
Definition at line 118 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_motion().
VLC ff_dc_lum_vlc |
Definition at line 120 of file mpeg12.c.
Referenced by decode_dc(), and mpeg12_init_vlcs().
VLC ff_dc_chroma_vlc |
Definition at line 121 of file mpeg12.c.
Referenced by decode_dc(), and mpeg12_init_vlcs().
VLC ff_mbincr_vlc |
Definition at line 123 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_slice().
VLC ff_mb_ptype_vlc |
Definition at line 124 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
VLC ff_mb_btype_vlc |
Definition at line 125 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
VLC ff_mb_pat_vlc |
Definition at line 126 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), and mpeg_decode_mb().
RL_VLC_ELEM ff_mpeg1_rl_vlc[680] |
Definition at line 128 of file mpeg12.c.
Referenced by decode_block_intra(), ff_mpeg1_decode_block_intra(), mdec_decode_block_intra(), mpeg12_init_vlcs(), mpeg1_decode_block_inter(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), and mpeg2_fast_decode_block_non_intra().
RL_VLC_ELEM ff_mpeg2_rl_vlc[674] |
Definition at line 129 of file mpeg12.c.
Referenced by mpeg12_init_vlcs(), mpeg2_decode_block_intra(), and mpeg2_fast_decode_block_intra().