FFmpeg
Functions
cbs_h266_syntax_template.c File Reference

Go to the source code of this file.

Functions

static int FUNC() rbsp_trailing_bits (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() nal_unit_header (CodedBitstreamContext *ctx, RWContext *rw, H266RawNALUnitHeader *current, int expected_nal_unit_type)
 
static int FUNC() byte_alignment (CodedBitstreamContext *ctx, RWContext *rw)
 
static int FUNC() general_constraints_info (CodedBitstreamContext *ctx, RWContext *rw, H266GeneralConstraintsInfo *current)
 
static int FUNC() profile_tier_level (CodedBitstreamContext *ctx, RWContext *rw, H266RawProfileTierLevel *current, int profile_tier_present_flag, int max_num_sub_layers_minus1)
 
static int FUNC() vui_parameters_default (CodedBitstreamContext *ctx, RWContext *rw, H266RawVUI *current)
 
static int FUNC() vui_parameters (CodedBitstreamContext *ctx, RWContext *rw, H266RawVUI *current, uint8_t chroma_format_idc)
 
static int FUNC() payload_extension (CodedBitstreamContext *ctx, RWContext *rw, H266RawExtensionData *current, uint32_t payload_size, int cur_pos)
 
static int FUNC() vui_payload (CodedBitstreamContext *ctx, RWContext *rw, H266RawVUI *current, uint16_t vui_payload_size, uint8_t chroma_format_idc)
 
static int FUNC() extension_data (CodedBitstreamContext *ctx, RWContext *rw, H266RawExtensionData *current)
 
static int FUNC() dpb_parameters (CodedBitstreamContext *ctx, RWContext *rw, H266DpbParameters *current, uint8_t max_sublayers_minus1, uint8_t sublayer_info_flag)
 
static int FUNC() ref_pic_list_struct (CodedBitstreamContext *ctx, RWContext *rw, H266RefPicListStruct *current, uint8_t list_idx, uint8_t rpls_idx, const H266RawSPS *sps)
 
static int FUNC() ref_pic_lists (CodedBitstreamContext *ctx, RWContext *rw, const H266RawSPS *sps, const H266RawPPS *pps, H266RefPicLists *current)
 
static int FUNC() general_timing_hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H266RawGeneralTimingHrdParameters *current)
 
static int FUNC() sublayer_hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H266RawSubLayerHRDParameters *current, int sublayer_id, const H266RawGeneralTimingHrdParameters *general)
 
static int FUNC() ols_timing_hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H266RawOlsTimingHrdParameters *current, uint8_t first_sublayer, uint8_t max_sublayers_minus1, const H266RawGeneralTimingHrdParameters *general)
 
static int FUNC() opi (CodedBitstreamContext *ctx, RWContext *rw, H266RawOPI *current)
 
static int FUNC() dci (CodedBitstreamContext *ctx, RWContext *rw, H266RawDCI *current)
 
static int FUNC() vps (CodedBitstreamContext *ctx, RWContext *rw, H266RawVPS *current)
 
static int FUNC() sps_range_extension (CodedBitstreamContext *ctx, RWContext *rw, H266RawSPS *current)
 
static int FUNC() sps (CodedBitstreamContext *ctx, RWContext *rw, H266RawSPS *current)
 
static int FUNC() pps (CodedBitstreamContext *ctx, RWContext *rw, H266RawPPS *current)
 
static int FUNC() alf_data (CodedBitstreamContext *ctx, RWContext *rw, H266RawAPS *current)
 
static int FUNC() lmcs_data (CodedBitstreamContext *ctx, RWContext *rw, H266RawAPS *current)
 
static int FUNC() scaling_list_data (CodedBitstreamContext *ctx, RWContext *rw, H266RawAPS *current)
 
static int FUNC() aps (CodedBitstreamContext *ctx, RWContext *rw, H266RawAPS *current, int prefix)
 
static int FUNC() aud (CodedBitstreamContext *ctx, RWContext *rw, H266RawAUD *current)
 
static int FUNC() pred_weight_table (CodedBitstreamContext *ctx, RWContext *rw, const H266RawSPS *sps, const H266RawPPS *pps, const H266RefPicLists *ref_lists, uint8_t num_ref_idx_active[2], H266RawPredWeightTable *current)
 
static int FUNC() picture_header (CodedBitstreamContext *ctx, RWContext *rw, H266RawPictureHeader *current)
 
static int FUNC() ph (CodedBitstreamContext *ctx, RWContext *rw, H266RawPH *current)
 
static int FUNC() slice_header (CodedBitstreamContext *ctx, RWContext *rw, H266RawSliceHeader *current)
 
static int FUNC() sei (CodedBitstreamContext *ctx, RWContext *rw, H266RawSEI *current, int prefix)
 

Function Documentation

◆ rbsp_trailing_bits()

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

Definition at line 19 of file cbs_h266_syntax_template.c.

Referenced by aps(), aud(), dci(), opi(), ph(), pps(), sei(), sps(), and vps().

◆ nal_unit_header()

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

Definition at line 30 of file cbs_h266_syntax_template.c.

Referenced by aps(), aud(), dci(), opi(), ph(), pps(), sei(), slice_header(), sps(), and vps().

◆ byte_alignment()

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

◆ general_constraints_info()

static int FUNC() general_constraints_info ( CodedBitstreamContext ctx,
RWContext rw,
H266GeneralConstraintsInfo current 
)
static

Definition at line 60 of file cbs_h266_syntax_template.c.

Referenced by profile_tier_level().

◆ profile_tier_level()

static int FUNC() profile_tier_level ( CodedBitstreamContext ctx,
RWContext rw,
H266RawProfileTierLevel current,
int  profile_tier_present_flag,
int  max_num_sub_layers_minus1 
)
static

Definition at line 178 of file cbs_h266_syntax_template.c.

Referenced by dci(), sps(), and vps().

◆ vui_parameters_default()

static int FUNC() vui_parameters_default ( CodedBitstreamContext ctx,
RWContext rw,
H266RawVUI current 
)
static

Definition at line 213 of file cbs_h266_syntax_template.c.

Referenced by sps().

◆ vui_parameters()

static int FUNC() vui_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H266RawVUI current,
uint8_t  chroma_format_idc 
)
static

Definition at line 239 of file cbs_h266_syntax_template.c.

Referenced by vui_payload().

◆ payload_extension()

static int FUNC() payload_extension ( CodedBitstreamContext ctx,
RWContext rw,
H266RawExtensionData current,
uint32_t  payload_size,
int  cur_pos 
)
static

Definition at line 310 of file cbs_h266_syntax_template.c.

Referenced by vui_payload().

◆ vui_payload()

static int FUNC() vui_payload ( CodedBitstreamContext ctx,
RWContext rw,
H266RawVUI current,
uint16_t  vui_payload_size,
uint8_t  chroma_format_idc 
)
static

Definition at line 346 of file cbs_h266_syntax_template.c.

Referenced by sps().

◆ extension_data()

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

Definition at line 367 of file cbs_h266_syntax_template.c.

Referenced by aps(), dci(), opi(), pps(), sps(), and vps().

◆ dpb_parameters()

static int FUNC() dpb_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H266DpbParameters current,
uint8_t  max_sublayers_minus1,
uint8_t  sublayer_info_flag 
)
static

Definition at line 394 of file cbs_h266_syntax_template.c.

Referenced by sps(), and vps().

◆ ref_pic_list_struct()

static int FUNC() ref_pic_list_struct ( CodedBitstreamContext ctx,
RWContext rw,
H266RefPicListStruct current,
uint8_t  list_idx,
uint8_t  rpls_idx,
const H266RawSPS sps 
)
static

Definition at line 410 of file cbs_h266_syntax_template.c.

Referenced by ref_pic_lists(), and sps().

◆ ref_pic_lists()

static int FUNC() ref_pic_lists ( CodedBitstreamContext ctx,
RWContext rw,
const H266RawSPS sps,
const H266RawPPS pps,
H266RefPicLists current 
)
static

Definition at line 491 of file cbs_h266_syntax_template.c.

Referenced by picture_header(), and slice_header().

◆ general_timing_hrd_parameters()

static int FUNC() general_timing_hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H266RawGeneralTimingHrdParameters current 
)
static

Definition at line 558 of file cbs_h266_syntax_template.c.

Referenced by sps(), and vps().

◆ sublayer_hrd_parameters()

static int FUNC() sublayer_hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H266RawSubLayerHRDParameters current,
int  sublayer_id,
const H266RawGeneralTimingHrdParameters general 
)
static

Definition at line 586 of file cbs_h266_syntax_template.c.

Referenced by ols_timing_hrd_parameters().

◆ ols_timing_hrd_parameters()

static int FUNC() ols_timing_hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H266RawOlsTimingHrdParameters current,
uint8_t  first_sublayer,
uint8_t  max_sublayers_minus1,
const H266RawGeneralTimingHrdParameters general 
)
static

Definition at line 609 of file cbs_h266_syntax_template.c.

Referenced by sps(), and vps().

◆ opi()

static int FUNC() opi ( CodedBitstreamContext ctx,
RWContext rw,
H266RawOPI current 
)
static

Definition at line 643 of file cbs_h266_syntax_template.c.

Referenced by cbs_h266_write_nal_unit().

◆ dci()

static int FUNC() dci ( CodedBitstreamContext ctx,
RWContext rw,
H266RawDCI current 
)
static

Definition at line 670 of file cbs_h266_syntax_template.c.

Referenced by cbs_h266_write_nal_unit().

◆ vps()

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

Definition at line 694 of file cbs_h266_syntax_template.c.

Referenced by picture_header(), ref_pic_list_struct(), and sps().

◆ sps_range_extension()

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

Definition at line 1039 of file cbs_h266_syntax_template.c.

Referenced by sps().

◆ sps()

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

◆ pps()

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

◆ alf_data()

static int FUNC() alf_data ( CodedBitstreamContext ctx,
RWContext rw,
H266RawAPS current 
)
static

Definition at line 2300 of file cbs_h266_syntax_template.c.

Referenced by aps().

◆ lmcs_data()

static int FUNC() lmcs_data ( CodedBitstreamContext ctx,
RWContext rw,
H266RawAPS current 
)
static

Definition at line 2411 of file cbs_h266_syntax_template.c.

Referenced by aps().

◆ scaling_list_data()

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

Definition at line 2447 of file cbs_h266_syntax_template.c.

Referenced by aps().

◆ aps()

static int FUNC() aps ( CodedBitstreamContext ctx,
RWContext rw,
H266RawAPS current,
int  prefix 
)
static

◆ aud()

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

Definition at line 2537 of file cbs_h266_syntax_template.c.

◆ pred_weight_table()

static int FUNC() pred_weight_table ( CodedBitstreamContext ctx,
RWContext rw,
const H266RawSPS sps,
const H266RawPPS pps,
const H266RefPicLists ref_lists,
uint8_t  num_ref_idx_active[2],
H266RawPredWeightTable current 
)
static

Definition at line 2554 of file cbs_h266_syntax_template.c.

Referenced by picture_header(), and slice_header().

◆ picture_header()

static int FUNC() picture_header ( CodedBitstreamContext ctx,
RWContext rw,
H266RawPictureHeader current 
)
static

◆ ph()

static int FUNC() ph ( CodedBitstreamContext ctx,
RWContext rw,
H266RawPH current 
)
static

◆ slice_header()

static int FUNC() slice_header ( CodedBitstreamContext ctx,
RWContext rw,
H266RawSliceHeader current 
)
static

Definition at line 3055 of file cbs_h266_syntax_template.c.

◆ sei()

static int FUNC() sei ( CodedBitstreamContext ctx,
RWContext rw,
H266RawSEI current,
int  prefix 
)
static

Definition at line 3482 of file cbs_h266_syntax_template.c.