FFmpeg
|
H.264 / AVC / MPEG4 part10 parameter set decoding. More...
#include <inttypes.h>
#include "libavutil/imgutils.h"
#include "internal.h"
#include "avcodec.h"
#include "h264.h"
#include "h264data.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 | QP(qP, depth) ((qP) + 6 * ((depth) - 8)) |
#define | CHROMA_QP_TABLE_END(d) |
Functions | |
static int | decode_hrd_parameters (H264Context *h, SPS *sps) |
static int | decode_vui_parameters (H264Context *h, SPS *sps) |
static void | decode_scaling_list (H264Context *h, uint8_t *factors, int size, const uint8_t *jvt_list, const uint8_t *fallback_list) |
static void | decode_scaling_matrices (H264Context *h, SPS *sps, PPS *pps, int is_sps, uint8_t(*scaling_matrix4)[16], uint8_t(*scaling_matrix8)[64]) |
int | ff_h264_decode_seq_parameter_set (H264Context *h, int ignore_truncation) |
Decode SPS. More... | |
static void | build_qp_table (PPS *pps, int t, int index, const int depth) |
static int | more_rbsp_data_in_pps (H264Context *h, PPS *pps) |
int | ff_h264_decode_picture_parameter_set (H264Context *h, int bit_length) |
Decode PPS. More... | |
Variables | |
const uint8_t | ff_h264_chroma_qp [7][QP_MAX_NUM+1] |
One chroma qp table for each possible bit depth (8-14). More... | |
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 / MPEG4 part10 parameter set decoding.
Definition in file h264_ps.c.
#define MAX_LOG2_MAX_FRAME_NUM (12 + 4) |
Definition at line 37 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
#define MIN_LOG2_MAX_FRAME_NUM 4 |
Definition at line 38 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
Definition at line 40 of file h264_ps.c.
Referenced by avfilter_register_all(), dering_TMPL(), do_a_deblock_C(), postProcess_TMPL(), and vertX1Filter_TMPL().
#define CHROMA_QP_TABLE_END | ( | d | ) |
|
inlinestatic |
Definition at line 130 of file h264_ps.c.
Referenced by decode_vui_parameters().
|
inlinestatic |
Definition at line 155 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
|
static |
Definition at line 270 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 290 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set(), and ff_h264_decode_seq_parameter_set().
int ff_h264_decode_seq_parameter_set | ( | H264Context * | h, |
int | ignore_truncation | ||
) |
Decode SPS.
Definition at line 323 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
Definition at line 606 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
|
static |
Definition at line 615 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
int ff_h264_decode_picture_parameter_set | ( | H264Context * | h, |
int | bit_length | ||
) |
Decode PPS.
Definition at line 630 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
const uint8_t ff_h264_chroma_qp[7][QP_MAX_NUM+1] |
One chroma qp table for each possible bit depth (8-14).
Definition at line 53 of file h264_ps.c.
Referenced by build_qp_table(), and hl_decode_mb().
|
static |
Definition at line 84 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 91 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 111 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().