#include "internal.h"
#include "dsputil.h"
#include "avcodec.h"
#include "h264.h"
#include "h264data.h"
#include "golomb.h"
#include <assert.h>
Go to the source code of this file.
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) |
| 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 [52] |
| static const uint8_t | default_scaling4 [2][16] |
| static const uint8_t | default_scaling8 [2][64] |
Definition in file h264_ps.c.
| static void build_qp_table | ( | PPS * | pps, | |
| int | t, | |||
| int | index | |||
| ) | [static] |
| static int decode_hrd_parameters | ( | H264Context * | h, | |
| SPS * | sps | |||
| ) | [inline, static] |
| static void decode_scaling_list | ( | H264Context * | h, | |
| uint8_t * | factors, | |||
| int | size, | |||
| const uint8_t * | jvt_list, | |||
| const uint8_t * | fallback_list | |||
| ) | [static] |
| static void decode_scaling_matrices | ( | H264Context * | h, | |
| SPS * | sps, | |||
| PPS * | pps, | |||
| int | is_sps, | |||
| uint8_t(*) | scaling_matrix4[16], | |||
| uint8_t(*) | scaling_matrix8[64] | |||
| ) | [static] |
Definition at line 242 of file h264_ps.c.
Referenced by ff_h264_decode_picture_parameter_set(), and ff_h264_decode_seq_parameter_set().
| static int decode_vui_parameters | ( | H264Context * | h, | |
| SPS * | sps | |||
| ) | [inline, static] |
| int ff_h264_decode_picture_parameter_set | ( | H264Context * | h, | |
| int | bit_length | |||
| ) |
Decode PPS.
Definition at line 427 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
| int ff_h264_decode_seq_parameter_set | ( | H264Context * | h | ) |
Decode SPS.
Definition at line 267 of file h264_ps.c.
Referenced by decode_nal_units(), and parse_nal_units().
const uint8_t default_scaling4[2][16] [static] |
Initial value:
{
{ 6,13,20,28,
13,20,28,32,
20,28,32,37,
28,32,37,42
},{
10,14,20,24,
14,20,24,27,
20,24,27,30,
24,27,30,34
}}
Definition at line 66 of file h264_ps.c.
Referenced by decode_scaling_matrices().
const uint8_t default_scaling8[2][64] [static] |
Initial value:
{
{ 6,10,13,16,18,23,25,27,
10,11,16,18,23,25,27,29,
13,16,18,23,25,27,29,31,
16,18,23,25,27,29,31,33,
18,23,25,27,29,31,33,36,
23,25,27,29,31,33,36,38,
25,27,29,31,33,36,38,40,
27,29,31,33,36,38,40,42
},{
9,13,15,17,19,21,22,24,
13,13,17,19,21,22,24,25,
15,17,19,21,22,24,25,27,
17,19,21,22,24,25,27,28,
19,21,22,24,25,27,28,30,
21,22,24,25,27,28,30,32,
22,24,25,27,28,30,32,33,
24,25,27,28,30,32,33,35
}}
Definition at line 78 of file h264_ps.c.
Referenced by decode_scaling_matrices().
| const uint8_t ff_h264_chroma_qp[52] |
Initial value:
{
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,10,11,
12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,
28,29,29,30,31,32,32,33,34,34,35,35,36,36,37,37,
37,38,38,38,39,39,39,39
}
Definition at line 59 of file h264_ps.c.
Referenced by build_qp_table(), and hl_decode_mb_internal().
const AVRational pixel_aspect[17] [static] |
1.5.8