FFmpeg
Functions
cbs_h264_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, H264RawNALUnitHeader *current, uint32_t valid_type_mask)
 
static int FUNC() scaling_list (CodedBitstreamContext *ctx, RWContext *rw, H264RawScalingList *current, int size_of_scaling_list)
 
static int FUNC() hrd_parameters (CodedBitstreamContext *ctx, RWContext *rw, H264RawHRD *current)
 
static int FUNC() vui_parameters (CodedBitstreamContext *ctx, RWContext *rw, H264RawVUI *current, H264RawSPS *sps)
 
static int FUNC() vui_parameters_default (CodedBitstreamContext *ctx, RWContext *rw, H264RawVUI *current, H264RawSPS *sps)
 
static int FUNC() sps (CodedBitstreamContext *ctx, RWContext *rw, H264RawSPS *current)
 
static int FUNC() sps_extension (CodedBitstreamContext *ctx, RWContext *rw, H264RawSPSExtension *current)
 
static int FUNC() pps (CodedBitstreamContext *ctx, RWContext *rw, H264RawPPS *current)
 
 SEI_FUNC (sei_buffering_period,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIBufferingPeriod *current, SEIMessageState *sei))
 
static int FUNC() sei_pic_timestamp (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPicTimestamp *current, const H264RawSPS *sps)
 
 SEI_FUNC (sei_pic_timing,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPicTiming *current, SEIMessageState *sei))
 
 SEI_FUNC (sei_pan_scan_rect,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPanScanRect *current, SEIMessageState *sei))
 
 SEI_FUNC (sei_recovery_point,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIRecoveryPoint *current, SEIMessageState *sei))
 
 SEI_FUNC (film_grain_characteristics,(CodedBitstreamContext *ctx, RWContext *rw, H264RawFilmGrainCharacteristics *current, SEIMessageState *state))
 
 SEI_FUNC (sei_display_orientation,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIDisplayOrientation *current, SEIMessageState *sei))
 
static int FUNC() sei (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEI *current)
 
static int FUNC() aud (CodedBitstreamContext *ctx, RWContext *rw, H264RawAUD *current)
 
static int FUNC() ref_pic_list_modification (CodedBitstreamContext *ctx, RWContext *rw, H264RawSliceHeader *current)
 
static int FUNC() pred_weight_table (CodedBitstreamContext *ctx, RWContext *rw, H264RawSliceHeader *current)
 
static int FUNC() dec_ref_pic_marking (CodedBitstreamContext *ctx, RWContext *rw, H264RawSliceHeader *current, int idr_pic_flag)
 
static int FUNC() slice_header (CodedBitstreamContext *ctx, RWContext *rw, H264RawSliceHeader *current)
 
static int FUNC() filler (CodedBitstreamContext *ctx, RWContext *rw, H264RawFiller *current)
 
static int FUNC() end_of_sequence (CodedBitstreamContext *ctx, RWContext *rw, H264RawNALUnitHeader *current)
 
static int FUNC() end_of_stream (CodedBitstreamContext *ctx, RWContext *rw, H264RawNALUnitHeader *current)
 

Function Documentation

◆ rbsp_trailing_bits()

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

Definition at line 19 of file cbs_h264_syntax_template.c.

Referenced by aud(), filler(), pps(), sei(), sps(), and sps_extension().

◆ nal_unit_header()

static int FUNC() nal_unit_header ( CodedBitstreamContext ctx,
RWContext rw,
H264RawNALUnitHeader current,
uint32_t  valid_type_mask 
)
static

◆ scaling_list()

static int FUNC() scaling_list ( CodedBitstreamContext ctx,
RWContext rw,
H264RawScalingList current,
int  size_of_scaling_list 
)
static

Definition at line 71 of file cbs_h264_syntax_template.c.

Referenced by pps(), sps(), and vaapi_hevc_start_frame().

◆ hrd_parameters()

static int FUNC() hrd_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H264RawHRD current 
)
static

Definition at line 88 of file cbs_h264_syntax_template.c.

Referenced by vui_parameters().

◆ vui_parameters()

static int FUNC() vui_parameters ( CodedBitstreamContext ctx,
RWContext rw,
H264RawVUI current,
H264RawSPS sps 
)
static

Definition at line 111 of file cbs_h264_syntax_template.c.

Referenced by sps().

◆ vui_parameters_default()

static int FUNC() vui_parameters_default ( CodedBitstreamContext ctx,
RWContext rw,
H264RawVUI current,
H264RawSPS sps 
)
static

Definition at line 220 of file cbs_h264_syntax_template.c.

Referenced by sps().

◆ sps()

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

Definition at line 260 of file cbs_h264_syntax_template.c.

Referenced by cbs_h264_read_nal_unit(), cbs_h264_write_nal_unit(), cbs_h265_read_nal_unit(), cbs_h265_write_nal_unit(), cbs_h266_read_nal_unit(), cbs_h266_write_nal_unit(), dec_ref_pic_marking(), decode_buffering_period(), decode_hrd_parameters(), decode_lt_rps(), decode_nal_sei_pic_timing(), decode_scaling_matrices(), decode_vui(), decode_vui_parameters(), end_of_access_unit_found(), export_stream_params(), ff_avc_decode_sps(), ff_evc_derive_poc(), ff_evc_parse_slice_header(), ff_evc_parse_sps(), ff_h264_decode_mb_cabac(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_seq_parameter_set(), ff_h264_get_profile(), ff_h264_init_poc(), ff_h264_pred_weight_table(), ff_h264_sei_process_picture_timing(), ff_hevc_compute_poc(), ff_hevc_decode_nal_pps(), ff_hevc_decode_nal_sps(), ff_hevc_decode_short_term_rps(), ff_hevc_parse_sps(), ff_hevc_split_coding_unit_flag_decode(), ff_isom_write_avcc(), ff_rm_parse_packet(), ff_vaapi_parse_hevc_rext_scc_profile(), ff_videotoolbox_hvcc_extradata_create(), fill_picture_parameters(), generate_fake_vps(), get_format(), get_slice_poc(), h264_export_frame_props(), h264_field_start(), h264_filter(), h264_init_ps(), h264_metadata_update_sps(), h264_probe(), h264_select_output_frame(), h264_slice_header_init(), h264_slice_header_parse(), h265_metadata_guess_level(), h265_metadata_update_sps(), hevc_decode_extradata(), hevc_probe(), hls_slice_header(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_dequant_tables(), init_dimensions(), is_au_start(), map_pixel_format(), more_rbsp_data_in_pps(), mxf_parse_h264_frame(), nvdec_h264_frame_params(), nvdec_h264_start_frame(), nvdec_hevc_frame_params(), nvdec_hevc_start_frame(), parse_nal_unit(), parse_nal_units(), pic_arrays_init(), pps(), pps_range_extensions(), pps_scc_extension(), pred_weight_table(), ref_pic_list_modification(), ref_pic_list_struct(), scaling_list_data(), SEI_FUNC(), sei_pic_timestamp(), set_parser_ctx(), set_pps(), set_sps(), setup_pps(), slice_header(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h264_init_slice_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_h265_init_slice_params(), vaapi_h264_start_frame(), vaapi_hevc_start_frame(), vdpau_h264_start_frame(), vdpau_hevc_parse_rext_profile(), vdpau_hevc_start_frame(), vk_hevc_end_frame(), vk_hevc_start_frame(), vui_parameters(), vui_parameters_default(), and vvc_probe().

◆ sps_extension()

static int FUNC() sps_extension ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSPSExtension current 
)
static

Definition at line 372 of file cbs_h264_syntax_template.c.

◆ pps()

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

Definition at line 404 of file cbs_h264_syntax_template.c.

Referenced by build_qp_table(), cbs_h264_read_nal_unit(), cbs_h264_write_nal_unit(), cbs_h265_read_nal_unit(), cbs_h265_write_nal_unit(), cbs_h266_read_nal_unit(), cbs_h266_write_nal_unit(), colour_mapping_octants(), colour_mapping_table(), decode_scaling_matrices(), delta_dlt(), end_of_access_unit_found(), ff_evc_derive_poc(), ff_evc_parse_pps(), ff_evc_parse_slice_header(), ff_h264_decode_picture_parameter_set(), ff_h264_execute_ref_pic_marking(), ff_h264_parse_ref_count(), ff_h264_queue_decode_slice(), ff_hevc_decode_nal_pps(), ff_isom_write_avcc(), ff_videotoolbox_hvcc_extradata_create(), fill_picture_parameters(), fill_scaling_lists(), get_chroma_qp(), h264_extradata_to_annexb(), h264_probe(), h264_redundant_pps_fixup_pps(), h264_redundant_pps_fixup_slice(), h264_slice_header_parse(), h265_metadata_guess_level(), hevc_pps_free(), hevc_probe(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_dequant_tables(), nvdec_h264_start_frame(), nvdec_hevc_start_frame(), parse_nal_unit(), pps_3d_extension(), pps_free(), pps_multilayer_extension(), pps_range_extensions(), pps_scc_extension(), set_parser_ctx(), set_pps(), setup_pps(), slice_header(), vaapi_encode_h264_init_sequence_params(), vaapi_encode_h264_init_slice_params(), vaapi_encode_h265_init_sequence_params(), vaapi_encode_h265_init_slice_params(), vaapi_h264_start_frame(), vaapi_hevc_start_frame(), vdpau_h264_start_frame(), vdpau_hevc_start_frame(), vk_hevc_end_frame(), vk_hevc_start_frame(), and vvc_probe().

◆ SEI_FUNC() [1/6]

SEI_FUNC ( sei_buffering_period  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIBufferingPeriod *current, SEIMessageState *sei  
)

Definition at line 513 of file cbs_h264_syntax_template.c.

◆ sei_pic_timestamp()

static int FUNC() sei_pic_timestamp ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIPicTimestamp current,
const H264RawSPS sps 
)
static

Definition at line 560 of file cbs_h264_syntax_template.c.

Referenced by SEI_FUNC().

◆ SEI_FUNC() [2/6]

SEI_FUNC ( sei_pic_timing  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPicTiming *current, SEIMessageState *sei  
)

Definition at line 607 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [3/6]

SEI_FUNC ( sei_pan_scan_rect  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPanScanRect *current, SEIMessageState *sei  
)

Definition at line 678 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [4/6]

SEI_FUNC ( sei_recovery_point  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIRecoveryPoint *current, SEIMessageState *sei  
)

Definition at line 705 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [5/6]

SEI_FUNC ( film_grain_characteristics  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawFilmGrainCharacteristics *current, SEIMessageState *state  
)

Definition at line 721 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [6/6]

SEI_FUNC ( sei_display_orientation  ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIDisplayOrientation *current, SEIMessageState *sei  
)

Definition at line 804 of file cbs_h264_syntax_template.c.

◆ sei()

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

◆ aud()

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

◆ ref_pic_list_modification()

static int FUNC() ref_pic_list_modification ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSliceHeader current 
)
static

Definition at line 858 of file cbs_h264_syntax_template.c.

Referenced by slice_header().

◆ pred_weight_table()

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

Definition at line 917 of file cbs_h264_syntax_template.c.

Referenced by slice_header().

◆ dec_ref_pic_marking()

static int FUNC() dec_ref_pic_marking ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSliceHeader current,
int  idr_pic_flag 
)
static

Definition at line 970 of file cbs_h264_syntax_template.c.

Referenced by slice_header().

◆ slice_header()

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

Definition at line 1021 of file cbs_h264_syntax_template.c.

◆ filler()

static int FUNC() filler ( CodedBitstreamContext ctx,
RWContext rw,
H264RawFiller current 
)
static

Definition at line 1217 of file cbs_h264_syntax_template.c.

◆ end_of_sequence()

static int FUNC() end_of_sequence ( CodedBitstreamContext ctx,
RWContext rw,
H264RawNALUnitHeader current 
)
static

Definition at line 1245 of file cbs_h264_syntax_template.c.

◆ end_of_stream()

static int FUNC() end_of_stream ( CodedBitstreamContext ctx,
RWContext rw,
H264RawNALUnitHeader current 
)
static

Definition at line 1254 of file cbs_h264_syntax_template.c.

Referenced by svc_decode_frame().