FFmpeg
|
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "golomb.h"
#include "h2645_vui.h"
#include "hevc_data.h"
#include "hevc_ps.h"
#include "refstruct.h"
Go to the source code of this file.
Macros | |
#define | check_profile_idc(idc) ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] |
#define | CHECK_QP_OFFSET(name) |
Variables | |
static const uint8_t | default_scaling_list_intra [] |
static const uint8_t | default_scaling_list_inter [] |
static const uint8_t | hevc_sub_width_c [] |
static const uint8_t | hevc_sub_height_c [] |
#define check_profile_idc | ( | idc | ) | ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] |
#define CHECK_QP_OFFSET | ( | name | ) |
|
static |
Definition at line 64 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and remove_sps().
|
static |
Definition at line 71 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and remove_vps().
|
static |
Definition at line 88 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps().
int ff_hevc_decode_short_term_rps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
ShortTermRPS * | rps, | ||
const HEVCSPS * | sps, | ||
int | is_slice_header | ||
) |
Definition at line 102 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps(), and hls_slice_header().
|
static |
Definition at line 251 of file hevc_ps.c.
Referenced by parse_ptl().
|
static |
Definition at line 327 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps(), and ff_hevc_parse_sps().
|
static |
Definition at line 367 of file hevc_ps.c.
Referenced by decode_hrd().
|
static |
Definition at line 385 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_decode_nal_vps().
|
static |
Definition at line 453 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps().
int ff_hevc_decode_nal_vps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps | ||
) |
Definition at line 461 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
|
static |
Definition at line 596 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps().
|
static |
Definition at line 723 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and ff_hevc_parse_sps().
|
static |
Definition at line 753 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and ff_hevc_parse_sps().
|
static |
Definition at line 830 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps().
int ff_hevc_parse_sps | ( | HEVCSPS * | sps, |
GetBitContext * | gb, | ||
unsigned int * | sps_id, | ||
int | apply_defdispwin, | ||
const HEVCVPS *const * | vps_list, | ||
AVCodecContext * | avctx | ||
) |
Parse the SPS from the bitstream into the provided HEVCSPS struct.
sps_id | the SPS id will be written here |
apply_defdispwin | if set 1, the default display window from the VUI will be applied to the video dimensions |
vps_list | if non-NULL, this function will validate that the SPS refers to an existing VPS |
Definition at line 879 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and generate_fake_vps().
|
static |
Definition at line 1297 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps().
Definition at line 1304 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps().
int ff_hevc_decode_nal_sps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps, | ||
int | apply_defdispwin | ||
) |
Definition at line 1310 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
|
static |
Definition at line 1362 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
static |
Definition at line 1379 of file hevc_ps.c.
Referenced by colour_mapping_table().
|
static |
Definition at line 1416 of file hevc_ps.c.
Referenced by pps_multilayer_extension().
|
static |
Definition at line 1448 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
static |
Definition at line 1497 of file hevc_ps.c.
Referenced by pps_3d_extension().
|
static |
Definition at line 1519 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
static |
Definition at line 1543 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
static |
Definition at line 1583 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
inlinestatic |
int ff_hevc_decode_nal_pps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps | ||
) |
Definition at line 1769 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
void ff_hevc_ps_uninit | ( | HEVCParamSets * | ps | ) |
Definition at line 2039 of file hevc_ps.c.
Referenced by hevc_decode_free(), and hevc_parser_close().
Compute POC of the current frame and return it.
Definition at line 2055 of file hevc_ps.c.
Referenced by hevc_parse_slice_header(), and hls_slice_header().
|
static |
Definition at line 34 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
|
static |
Definition at line 45 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
|
static |
Definition at line 56 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().
|
static |
Definition at line 60 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().