FFmpeg
|
H.264 / AVC / MPEG4 part10 parameter set decoding. More...
#include "libavutil/imgutils.h"
#include "internal.h"
#include "avcodec.h"
#include "h264.h"
#include "h264data.h"
#include "golomb.h"
#include <assert.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) |
Decode SPS. | |
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. | |
Variables | |
static const AVRational | pixel_aspect [17] |
const uint8_t | ff_h264_chroma_qp [7][QP_MAX_NUM+1] |
One chroma qp table for each possible bit depth (8-14). | |
static const uint8_t | default_scaling4 [2][16] |
static const uint8_t | default_scaling8 [2][64] |
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 39 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
#define MIN_LOG2_MAX_FRAME_NUM 4 |
Definition at line 40 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
Definition at line 62 of file h264_ps.c.
Referenced by dering_TMPL(), do_a_deblock_C(), postProcess_TMPL(), and vertX1Filter_TMPL().
#define CHROMA_QP_TABLE_END | ( | d | ) |
|
inlinestatic |
Definition at line 152 of file h264_ps.c.
Referenced by decode_vui_parameters().
|
inlinestatic |
Definition at line 176 of file h264_ps.c.
Referenced by ff_h264_decode_seq_parameter_set().
|
static |
Definition at line 285 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 303 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 | ) |
Decode SPS.
Definition at line 333 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
Definition at line 560 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set().
|
static |
Definition at line 568 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 583 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
|
static |
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 75 of file h264_ps.c.
Referenced by build_qp_table(), and hl_decode_mb().
|
static |
Definition at line 120 of file h264_ps.c.
Referenced by decode_scaling_matrices().
|
static |
Definition at line 132 of file h264_ps.c.
Referenced by decode_scaling_matrices().