FFmpeg
|
H.264 / AVC / MPEG-4 part10 parameter set decoding. More...
#include <inttypes.h>
#include "libavutil/imgutils.h"
#include "internal.h"
#include "mathops.h"
#include "avcodec.h"
#include "h264data.h"
#include "h264_ps.h"
#include "golomb.h"
Go to the source code of this file.
Macros | |
#define | MAX_LOG2_MAX_FRAME_NUM (12 + 4) |
#define | MIN_LOG2_MAX_FRAME_NUM 4 |
#define | EXTENDED_SAR 255 |
Variables | |
static const uint8_t | default_scaling4 [2][16] |
static const uint8_t | default_scaling8 [2][64] |
static const int | level_max_dpb_mbs [][2] |
H.264 / AVC / MPEG-4 part10 parameter set decoding.
Definition in file h264_ps.c.
#define MAX_LOG2_MAX_FRAME_NUM (12 + 4) |
Definition at line 38 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
#define MIN_LOG2_MAX_FRAME_NUM 4 |
Definition at line 39 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
#define EXTENDED_SAR 255 |
Definition at line 41 of file h264_ps.c.
Referenced by decode_vui_parameters().
|
static |
Definition at line 89 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set(), and remove_sps().
|
static |
Definition at line 94 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
|
inlinestatic |
Definition at line 108 of file h264_ps.c.
Referenced by decode_vui_parameters().
|
inlinestatic |
Definition at line 134 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
|
static |
Definition at line 250 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 278 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set(), and ff_h264_decode_seq_parameter_set().
void ff_h264_ps_uninit | ( | H264ParamSets * | ps | ) |
Uninit H264 param sets structure.
Definition at line 315 of file h264_ps.c.
Referenced by h264_close(), and h264_decode_end().
int ff_h264_decode_seq_parameter_set | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
H264ParamSets * | ps, | ||
int | ignore_truncation | ||
) |
Decode SPS.
Definition at line 332 of file h264_ps.c.
Referenced by decode_extradata_ps(), decode_nal_units(), and parse_nal_units().
Definition at line 637 of file h264_ps.c.
Referenced by init_dequant_tables().
Definition at line 664 of file h264_ps.c.
Referenced by init_dequant_tables().
Definition at line 690 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
Definition at line 709 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
Definition at line 718 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
int ff_h264_decode_picture_parameter_set | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
H264ParamSets * | ps, | ||
int | bit_length | ||
) |
Decode PPS.
Definition at line 732 of file h264_ps.c.
Referenced by decode_extradata_ps(), decode_nal_units(), and parse_nal_units().
|
static |
Definition at line 43 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 50 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 70 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().