FFmpeg  4.0
Macros | Functions
cbs_h265_syntax_template.c File Reference

Go to the source code of this file.

Macros

#define profile_compatible(x)
 

Functions

static int FUNC() rbsp_trailing_bits (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() nal_unit_header (CodedBitstreamContext *ctx, RWContext *rw, H265RawNALUnitHeader *current, int expected_nal_unit_type)
 
static int FUNC() byte_alignment (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() extension_data (CodedBitstreamContext *ctx, RWContext *rw, H265RawPSExtensionData *current)
 
static int FUNC() profile_tier_level (CodedBitstreamContext *ctx, RWContext *rw, H265RawProfileTierLevel *current, int profile_present_flag, int max_num_sub_layers_minus1)
 
static int FUNC() sub_layer_hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H265RawHRDParameters *hrd, int nal, int sub_layer_id)
 
static int FUNC() hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H265RawHRDParameters *current, int common_inf_present_flag, int max_num_sub_layers_minus1)
 
static int FUNC() vui_parameters (CodedBitstreamContext *ctx, RWContext *rw, H265RawVUI *current, const H265RawSPS *sps)
 
static int FUNC() vps (CodedBitstreamContext *ctx, RWContext *rw, H265RawVPS *current)
 
static int FUNC() st_ref_pic_set (CodedBitstreamContext *ctx, RWContext *rw, H265RawSTRefPicSet *current, int st_rps_idx, const H265RawSPS *sps)
 
static int FUNC() scaling_list_data (CodedBitstreamContext *ctx, RWContext *rw, H265RawScalingList *current)
 
static int FUNC() sps_range_extension (CodedBitstreamContext *ctx, RWContext *rw, H265RawSPS *current)
 
static int FUNC() sps_scc_extension (CodedBitstreamContext *ctx, RWContext *rw, H265RawSPS *current)
 
static int FUNC() sps (CodedBitstreamContext *ctx, RWContext *rw, H265RawSPS *current)
 
static int FUNC() pps_range_extension (CodedBitstreamContext *ctx, RWContext *rw, H265RawPPS *current)
 
static int FUNC() pps_scc_extension (CodedBitstreamContext *ctx, RWContext *rw, H265RawPPS *current)
 
static int FUNC() pps (CodedBitstreamContext *ctx, RWContext *rw, H265RawPPS *current)
 
static int FUNC() aud (CodedBitstreamContext *ctx, RWContext *rw, H265RawAUD *current)
 
static int FUNC() ref_pic_lists_modification (CodedBitstreamContext *ctx, RWContext *rw, H265RawSliceHeader *current, unsigned int num_pic_total_curr)
 
static int FUNC() pred_weight_table (CodedBitstreamContext *ctx, RWContext *rw, H265RawSliceHeader *current)
 
static int FUNC() slice_segment_header (CodedBitstreamContext *ctx, RWContext *rw, H265RawSliceHeader *current)
 

Macro Definition Documentation

◆ profile_compatible

#define profile_compatible (   x)
Value:
(current->general_profile_idc == (x) || \
current->general_profile_compatibility_flag[x])

Referenced by profile_tier_level().

Function Documentation

◆ rbsp_trailing_bits()

static int FUNC() rbsp_trailing_bits ( CodedBitstreamContext ctx,
RWContext rw 
)
static

Definition at line 19 of file cbs_h265_syntax_template.c.

Referenced by aud(), pps(), sps(), and vps().

◆ nal_unit_header()

static int FUNC() nal_unit_header ( CodedBitstreamContext ctx,
RWContext rw,
H265RawNALUnitHeader current,
int  expected_nal_unit_type 
)
static

Definition at line 30 of file cbs_h265_syntax_template.c.

Referenced by aud(), pps(), slice_segment_header(), sps(), and vps().

◆ byte_alignment()

static int FUNC() byte_alignment ( CodedBitstreamContext ctx,
RWContext rw 
)
static

Definition at line 50 of file cbs_h265_syntax_template.c.

Referenced by rbsp_trailing_bits(), and slice_segment_header().

◆ extension_data()

static int FUNC() extension_data ( CodedBitstreamContext ctx,
RWContext rw,
H265RawPSExtensionData current 
)
static

Definition at line 61 of file cbs_h265_syntax_template.c.

Referenced by cbs_mpeg2_read_unit(), cbs_mpeg2_write_header(), pps(), sps(), and vps().

◆ profile_tier_level()

static int FUNC() profile_tier_level ( CodedBitstreamContext ctx,
RWContext rw,
H265RawProfileTierLevel current,
int  profile_present_flag,
int  max_num_sub_layers_minus1 
)
static

Definition at line 88 of file cbs_h265_syntax_template.c.

Referenced by sps(), and vps().

◆ sub_layer_hrd_parameters()

static int FUNC() sub_layer_hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H265RawHRDParameters hrd,
int  nal,
int  sub_layer_id 
)
static

Definition at line 173 of file cbs_h265_syntax_template.c.

Referenced by hrd_parameters().

◆ hrd_parameters()

static int FUNC() hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H265RawHRDParameters current,
int  common_inf_present_flag,
int  max_num_sub_layers_minus1 
)
static

Definition at line 198 of file cbs_h265_syntax_template.c.

Referenced by vps(), and vui_parameters().

◆ vui_parameters()

static int FUNC() vui_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H265RawVUI current,
const H265RawSPS sps 
)
static

Definition at line 263 of file cbs_h265_syntax_template.c.

Referenced by sps().

◆ vps()

static int FUNC() vps ( CodedBitstreamContext ctx,
RWContext rw,
H265RawVPS current 
)
static

◆ st_ref_pic_set()

static int FUNC() st_ref_pic_set ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSTRefPicSet current,
int  st_rps_idx,
const H265RawSPS sps 
)
static

Definition at line 457 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header(), and sps().

◆ scaling_list_data()

static int FUNC() scaling_list_data ( CodedBitstreamContext ctx,
RWContext rw,
H265RawScalingList current 
)
static

Definition at line 602 of file cbs_h265_syntax_template.c.

Referenced by pps(), and sps().

◆ sps_range_extension()

static int FUNC() sps_range_extension ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSPS current 
)
static

Definition at line 630 of file cbs_h265_syntax_template.c.

Referenced by sps().

◆ sps_scc_extension()

static int FUNC() sps_scc_extension ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSPS current 
)
static

Definition at line 648 of file cbs_h265_syntax_template.c.

Referenced by sps().

◆ sps()

static int FUNC() sps ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSPS current 
)
static

◆ pps_range_extension()

static int FUNC() pps_range_extension ( CodedBitstreamContext ctx,
RWContext rw,
H265RawPPS current 
)
static

Definition at line 867 of file cbs_h265_syntax_template.c.

Referenced by pps().

◆ pps_scc_extension()

static int FUNC() pps_scc_extension ( CodedBitstreamContext ctx,
RWContext rw,
H265RawPPS current 
)
static

Definition at line 895 of file cbs_h265_syntax_template.c.

Referenced by pps().

◆ pps()

static int FUNC() pps ( CodedBitstreamContext ctx,
RWContext rw,
H265RawPPS current 
)
static

Definition at line 936 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

◆ aud()

static int FUNC() aud ( CodedBitstreamContext ctx,
RWContext rw,
H265RawAUD current 
)
static

Definition at line 1059 of file cbs_h265_syntax_template.c.

◆ ref_pic_lists_modification()

static int FUNC() ref_pic_lists_modification ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSliceHeader current,
unsigned int  num_pic_total_curr 
)
static

Definition at line 1075 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

◆ pred_weight_table()

static int FUNC() pred_weight_table ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSliceHeader current 
)
static

Definition at line 1101 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

◆ slice_segment_header()

static int FUNC() slice_segment_header ( CodedBitstreamContext ctx,
RWContext rw,
H265RawSliceHeader current 
)
static

Definition at line 1201 of file cbs_h265_syntax_template.c.