FFmpeg
|
#include "libavutil/imgutils.h"
#include "golomb.h"
#include "h2645_vui.h"
#include "hevc_data.h"
#include "hevc_ps.h"
Go to the source code of this file.
Macros | |
#define | check_profile_idc(idc) ptl->profile_idc == idc || ptl->profile_compatibility_flag[idc] |
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] |
|
static |
Definition at line 62 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and remove_sps().
|
static |
Definition at line 69 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and remove_vps().
|
static |
Definition at line 86 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 100 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps(), and hls_slice_header().
|
static |
Definition at line 243 of file hevc_ps.c.
Referenced by parse_ptl().
|
static |
Definition at line 317 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_vps(), and ff_hevc_parse_sps().
|
static |
Definition at line 357 of file hevc_ps.c.
Referenced by decode_hrd().
|
static |
Definition at line 374 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_decode_nal_vps().
int ff_hevc_decode_nal_vps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps | ||
) |
Definition at line 436 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
|
static |
Definition at line 566 of file hevc_ps.c.
Referenced by ff_hevc_parse_sps().
|
static |
Definition at line 693 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps(), and 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 799 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, | ||
AVBufferRef ** | 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 848 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_sps(), and generate_fake_vps().
int ff_hevc_decode_nal_sps | ( | GetBitContext * | gb, |
AVCodecContext * | avctx, | ||
HEVCParamSets * | ps, | ||
int | apply_defdispwin | ||
) |
Definition at line 1190 of file hevc_ps.c.
Referenced by decode_nal_unit(), hevc_decode_nal_units(), and parse_nal_units().
|
static |
Definition at line 1248 of file hevc_ps.c.
Referenced by ff_hevc_decode_nal_pps().
|
static |
Definition at line 1266 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 1439 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 1687 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 1703 of file hevc_ps.c.
Referenced by hevc_parse_slice_header(), and hls_slice_header().
|
static |
Definition at line 32 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
|
static |
Definition at line 43 of file hevc_ps.c.
Referenced by set_default_scaling_list_data().
|
static |
Definition at line 54 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().
|
static |
Definition at line 58 of file hevc_ps.c.
Referenced by decode_vui(), and ff_hevc_parse_sps().