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(), scaling_derive(), 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 abs_decode(), abs_get_rice_param(), abs_remainder_decode(), add_reconstructed_area(), alf_clip_from_idx(), alloc_cu(), bcw_idx_decode(), cabac_init_state(), can_split(), 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(), cclm_get_luma_rec_pixels(), cclm_linear_pred(), cclm_select_luma(), cclm_select_samples(), check_available(), ciip_derive_intra_weight(), ciip_flag_decode(), ctu_nz_tl_init(), dec_ref_pic_marking(), decode_buffering_period(), decode_hrd_parameters(), decode_lt_rps(), decode_nal_sei_pic_timing(), decode_ph(), decode_scaling_matrices(), decode_sps(), decode_vui(), decode_vui_parameters(), delta_poc_st(), dequant(), derive_center_luma_intra_pred_mode(), derive_chroma_intra_pred_mode(), derive_ilfnst_pred_mode_intra(), derive_mode_type_condition(), derive_qp(), derive_scale_m(), derive_transform_type(), end_of_access_unit_found(), export_frame_params(), export_stream_params(), ff_avc_decode_sps(), ff_dxva2_h264_fill_picture_parameters(), ff_dxva2_hevc_fill_picture_parameters(), 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(), ff_vvc_bump_frame(), ff_vvc_coding_tree_unit(), ff_vvc_deblock_horizontal(), ff_vvc_deblock_vertical(), ff_vvc_frame_thread_init(), ff_vvc_get_left_available(), ff_vvc_get_top_available(), ff_vvc_merge_idx(), ff_vvc_output_frame(), ff_vvc_reconstruct(), ff_vvc_slice_rpl(), generate_fake_vps(), generate_missing_ref(), get_cclm_enabled(), get_format(), get_left_top(), get_qp_c(), get_qp_y(), get_qp_y_pred(), get_slice_poc(), h264_export_frame_props(), h264_extradata_to_annexb(), 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_coding_tree_unit(), hls_coding_unit(), hls_residual_coding(), hls_slice_header(), hls_transform_tree(), hls_transform_unit(), ibc_fill_vir_buf(), ibc_tl_init(), ilfnst_transform(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_dequant_tables(), init_dimensions(), init_residual_coding(), intra_block_copy(), intra_cclm_pred(), intra_chroma_pred_modes(), intra_luma_pred_modes(), intra_pred(), is_a0_available(), is_au_start(), itransform(), itx_1d(), itx_2d(), lfnst_idx_decode(), lmcs_derive_lut(), luma_intra_pred_mode(), map_pixel_format(), merge_data_block(), merge_data_ciip(), merge_data_gpm(), merge_data_ibc(), merge_data_regular(), more_rbsp_data_in_pps(), mts_idx_decode(), mtt_split_cu_vertical_flag_decode(), mv_merge_history_candidates(), mv_merge_zero_motion_candidate(), mvp_data(), mvp_data_ibc(), 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(), ph_compute_poc(), ph_derive(), ph_max_num_subblock_merge_cand(), pic_arrays_init(), pixel_buffer_nz_tl_init(), pps(), pps_alloc(), pps_derive(), pps_range_extensions(), pps_ref_wraparound_offset(), pps_scc_extension(), pps_width_height(), pred_mode_decode(), pred_weight_table(), ref_pic_list_modification(), ref_pic_list_struct(), sb_mv_merge_mode(), sb_temporal_merge_candidate(), sbt_info(), scaling_list_data(), schedule_next_parse(), SEI_FUNC(), sei_pic_timestamp(), set_cb_pos(), set_parser_ctx(), set_pps(), set_qp_c(), set_qp_y(), set_sps(), setup_pps(), sh_derive(), sh_entry_points(), sh_partition_constraints(), skipped_transform_tree(), slice_header(), sps_alloc(), sps_bit_depth(), sps_chroma_qp_table(), sps_derive(), sps_free(), sps_inter(), sps_ladf(), sps_map_pixel_format(), sps_partition_constraints(), sps_poc(), temporal_luma_motion_vector(), transform_bdpcm(), tu_y_coded_flag_decode(), 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(), vvc_deblock_bs(), 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 alloc_cu(), alloc_frame(), bcw_idx_decode(), bs_tl_init(), build_qp_table(), can_split(), 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(), chroma_qp_offset_decode(), coding_tree_bth(), coding_tree_btv(), coding_tree_qt(), colour_mapping_octants(), colour_mapping_table(), ctu_nz_tl_init(), ctu_rs(), ctu_tl_init(), ctu_xy(), decode_ph(), decode_pps(), decode_scaling_matrices(), delta_dlt(), derive_center_luma_intra_pred_mode(), derive_chroma_intra_pred_mode(), derive_dmvr_bdof_flag(), derive_weight(), derive_weight_uni(), dual_tree_implicit_qt_split(), end_of_access_unit_found(), export_frame_params(), ff_dxva2_h264_fill_picture_parameters(), ff_dxva2_h264_fill_scaling_lists(), ff_dxva2_hevc_fill_picture_parameters(), 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(), ff_vvc_alf_filter(), ff_vvc_cabac_init(), ff_vvc_coding_tree_unit(), ff_vvc_frame_thread_init(), ff_vvc_slice_rpl(), ff_vvc_split_cu_flag(), fill_dmvr_info(), generate_missing_ref(), get_chroma_qp(), get_qp_y_pred(), 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(), hls_coding_tree(), hls_coding_tree_unit(), hls_transform_unit(), ibc_tl_init(), init_dequant4_coeff_table(), init_dequant8_coeff_table(), init_dequant_tables(), intra_luma_pred_modes(), intra_pred(), is_first_row(), ispmf_tl_init(), min_cb_tl_init(), min_pu_tl_init(), min_tu_tl_init(), msm_tl_init(), nvdec_h264_start_frame(), nvdec_hevc_start_frame(), parse_nal_unit(), ph_derive(), pic_arrays_init(), pixel_buffer_nz_tl_init(), pps_3d_extension(), pps_add_ctus(), pps_alloc(), pps_bd(), pps_chroma_qp_offset(), pps_derive(), pps_free(), pps_multi_tiles_slice(), pps_multilayer_extension(), pps_no_rect_slice(), pps_one_tile_slices(), pps_range_extensions(), pps_rect_slice(), pps_ref_wraparound_offset(), pps_scc_extension(), pps_slice_map(), pps_width_height(), sb_clip_location(), set_cb_pos(), set_cb_tab(), set_dmvr_info(), set_parser_ctx(), set_pps(), set_qp_c(), setup_pps(), sh_derive(), sh_entry_points(), sh_inter(), sh_qp_y(), sh_slice_address(), slice_header(), tile_xy(), 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(), vvc_deblock_bs(), 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().