MPEG-1/2 decoder.
More...
#include "libavutil/attributes.h"
#include "libavutil/avassert.h"
#include "libavutil/timecode.h"
#include "internal.h"
#include "avcodec.h"
#include "mpegvideo.h"
#include "error_resilience.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpegvideodata.h"
#include "bytestream.h"
#include "thread.h"
|
|
#define | UNCHECKED_BITSTREAM_READER 1 |
| |
|
#define | MAX_INDEX (64 - 1) |
| |
|
|
av_cold void | ff_init_2d_vlc_rl (RLTable *rl, unsigned static_size, int flags) |
| |
|
av_cold void | ff_mpeg12_common_init (MpegEncContext *s) |
| |
|
void | ff_mpeg1_clean_buffers (MpegEncContext *s) |
| |
|
av_cold void | ff_mpeg12_init_vlcs (void) |
| |
| 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...
|
| |
|
int | ff_mpeg1_decode_block_intra (GetBitContext *gb, const uint16_t *quant_matrix, uint8_t *const scantable, int last_dc[3], int16_t *block, int index, int qscale) |
| |
|
|
uint8_t | ff_mpeg12_static_rl_table_store [2][2][2 *MAX_RUN+MAX_LEVEL+3] |
| |
|
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 |
| |
§ ff_mpeg1_find_frame_end()
Find the end of the current frame in the bitstream.
- Returns
- the position of the first byte of the next frame, or -1