FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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)
 
static int FUNC() sei_mastering_display (CodedBitstreamContext *ctx, RWContext *rw, H265RawSEIMasteringDisplayColourVolume *current)
 
static int FUNC() sei_content_light_level (CodedBitstreamContext *ctx, RWContext *rw, H265RawSEIContentLightLevelInfo *current)
 
static int FUNC() sei_payload (CodedBitstreamContext *ctx, RWContext *rw, H265RawSEIPayload *current)
 
static int FUNC() sei (CodedBitstreamContext *ctx, RWContext *rw, H265RawSEI *current)
 

Macro Definition Documentation

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

Referenced by profile_tier_level().

Function Documentation

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(), sei(), sps(), and vps().

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(), sei(), slice_segment_header(), sps(), and vps().

static int FUNC() byte_alignment ( CodedBitstreamContext *  ctx,
RWContext *  rw 
)
static
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().

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().

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

Definition at line 175 of file cbs_h265_syntax_template.c.

Referenced by 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 200 of file cbs_h265_syntax_template.c.

Referenced by vps(), and vui_parameters().

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

Definition at line 265 of file cbs_h265_syntax_template.c.

Referenced by sps().

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

Definition at line 459 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header(), and sps().

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

Definition at line 604 of file cbs_h265_syntax_template.c.

Referenced by pps(), and sps().

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

Definition at line 635 of file cbs_h265_syntax_template.c.

Referenced by sps().

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

Definition at line 653 of file cbs_h265_syntax_template.c.

Referenced by sps().

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

Definition at line 875 of file cbs_h265_syntax_template.c.

Referenced by pps().

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

Definition at line 903 of file cbs_h265_syntax_template.c.

Referenced by pps().

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

Definition at line 944 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

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

Definition at line 1067 of file cbs_h265_syntax_template.c.

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

Definition at line 1083 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

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

Definition at line 1109 of file cbs_h265_syntax_template.c.

Referenced by slice_segment_header().

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

Definition at line 1209 of file cbs_h265_syntax_template.c.

static int FUNC() sei_mastering_display ( CodedBitstreamContext *  ctx,
RWContext *  rw,
H265RawSEIMasteringDisplayColourVolume *  current 
)
static

Definition at line 1513 of file cbs_h265_syntax_template.c.

Referenced by sei_payload().

static int FUNC() sei_content_light_level ( CodedBitstreamContext *  ctx,
RWContext *  rw,
H265RawSEIContentLightLevelInfo *  current 
)
static

Definition at line 1534 of file cbs_h265_syntax_template.c.

Referenced by sei_payload().

static int FUNC() sei_payload ( CodedBitstreamContext *  ctx,
RWContext *  rw,
H265RawSEIPayload *  current 
)
static

Definition at line 1545 of file cbs_h265_syntax_template.c.

Referenced by sei().

static int FUNC() sei ( CodedBitstreamContext *  ctx,
RWContext *  rw,
H265RawSEI *  current 
)
static

Definition at line 1606 of file cbs_h265_syntax_template.c.