FFmpeg
Loading...
Searching...
No Matches
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_frame_packing_arrangement,(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIFramePackingArrangement *current, SEIMessageState *sei))
 
 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()

◆ nal_unit_header()

◆ scaling_list()

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

◆ hrd_parameters()

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

◆ vui_parameters()

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

◆ vui_parameters_default()

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

◆ 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(), alf_get_edges(), alf_get_subblocks(), alloc_cu(), alloc_frame(), base_unit_to_vk(), base_unit_to_vk(), bcw_idx_decode(), cabac_init_state(), can_split(), cbs_h2645_replace_ps(), cbs_h2645_replace_ps(), cbs_h264_write_nal_unit(), cbs_h265_write_nal_unit(), cbs_h266_read_nal_unit(), cbs_h266_replace_ps(), cbs_h266_write_nal_unit(), cclm_get_luma_rec_pixels(), cclm_linear_pred(), cclm_select_luma(), cclm_select_samples(), check_available(), chroma_mc_bi(), chroma_mc_uni(), chroma_tc(), ciip_derive_intra_weight(), ciip_flag_decode(), copy_CTB_to_hv(), ctu_nz_tl_init(), d3d12va_encode_h264_init_sequence_params(), d3d12va_encode_hevc_init_sequence_params(), deblocking_filter_CTB(), dec_ref_pic_marking(), decode_buffering_period(), decode_film_grain_characteristics(), 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_spatial_merge_candidates(), derive_transform_type(), emulated_edge(), end_of_access_unit_found(), ep_init_wpp(), 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_decode(), ff_h264_sei_process_picture_timing(), ff_hevc_cabac_init(), ff_hevc_compute_poc(), ff_hevc_deblocking_boundary_strengths(), ff_hevc_decode_nal_pps(), ff_hevc_decode_nal_sps(), ff_hevc_decode_short_term_rps(), ff_hevc_get_ref_list(), ff_hevc_hls_filter(), ff_hevc_hls_residual_coding(), ff_hevc_luma_mv_merge_mode(), ff_hevc_luma_mv_mvp_mode(), ff_hevc_parse_sps(), ff_hevc_part_mode_decode(), ff_hevc_save_states(), ff_hevc_set_qPy(), ff_hevc_split_coding_unit_flag_decode(), ff_hw_base_encode_init_params_h264(), ff_hw_base_encode_init_params_h265(), ff_intra_pred_8_16x16_msa(), ff_intra_pred_8_32x32_msa(), ff_isom_write_avcc(), ff_rm_parse_packet(), ff_vaapi_parse_hevc_rext_scc_profile(), ff_videotoolbox_hvcc_extradata_create(), ff_vvc_alf_filter(), ff_vvc_bump_frame(), ff_vvc_coding_tree_unit(), ff_vvc_deblock_bs(), 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_palette_derive_scale(), ff_vvc_reconstruct(), ff_vvc_sao_filter(), ff_vvc_slice_rpl(), generate_fake_vps(), generate_missing_ref(), get_cclm_enabled(), get_format(), get_format(), get_format(), get_left_top(), get_pcm(), get_qp_c(), get_qp_y(), get_qp_y_pred(), get_qPy(), get_qPy_pred(), get_slice_poc(), get_virtual_boundary(), 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_deduce_crop(), h265_metadata_guess_level(), h265_metadata_update_sps(), hevc_decode_extradata(), hevc_filter(), hevc_frame_start(), hevc_luma_mv_mvp_mode(), hevc_parse_slice_header(), hevc_probe(), hevc_sps_free(), hls_coding_quadtree(), hls_coding_tree_unit(), hls_coding_unit(), hls_coding_unit(), hls_decode_entry(), hls_decode_entry_wpp(), hls_decode_neighbour(), hls_palette_coding(), hls_pcm_sample(), hls_prediction_unit(), hls_residual_coding(), hls_sao_param(), hls_slice_data_wpp(), hls_slice_header(), hls_transform_tree(), hls_transform_tree(), hls_transform_unit(), hls_transform_unit(), ibc_check_mv(), 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_data(), intra_luma_pred_modes(), intra_pred(), intra_pred(), intra_prediction_unit(), intra_prediction_unit_default_value(), is_a0_available(), is_au_start(), is_available(), itx_1d(), itx_2d(), lfnst_idx_decode(), lmcs_derive_lut(), load_states(), luma_intra_pred_mode(), luma_intra_pred_mode(), luma_mc_bi(), luma_mc_uni(), 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(), mv_mp_mode_mx(), mv_mp_mode_mx_lt(), 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(), palette_add_tu(), palette_signaled(), palette_subblock_data(), parse_feedback_units(), parse_nal_unit(), parse_nal_units(), parse_profile_level(), ph_compute_poc(), ph_derive(), ph_max_num_subblock_merge_cand(), ph_vb(), pic_arrays_init(), pic_arrays_init(), picture_header(), pixel_buffer_nz_tl_init(), pps(), pps(), pps(), pps_3d_extension(), pps_alloc(), pps_derive(), pps_multilayer_extension(), pps_range_extension(), pps_range_extensions(), pps_rect_slice(), pps_ref_wraparound_offset(), pps_scc_extension(), pps_single_slice_per_subpic(), pps_slice_map(), pps_subpic(), pps_subpic_less_than_one_tile_slice(), pps_subpic_slice(), pps_width_height(), pred_mode_decode(), pred_weight_table(), pred_weight_table(), pred_weight_table(), pred_weight_table(), ref_pic_list_modification(), ref_pic_list_struct(), ref_pic_list_struct(), ref_pic_lists(), restore_tqb_pixels(), sao_filter_CTB(), sao_get_edges(), sb_mv_merge_mode(), sb_temporal_merge_candidate(), sbt_info(), scaled_ref_pos_and_step(), scaling_list_data(), schedule_next_parse(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), SEI_FUNC(), sei_pic_timestamp(), set_cb_pos(), set_ct_depth(), set_deblocking_bypass(), set_parser_ctx(), set_pps(), set_pps(), set_qp_c(), set_qp_y(), set_side_data(), set_sps(), set_sps(), set_sps(), setup_pps(), sh_derive(), sh_entry_points(), sh_inter(), sh_partition_constraints(), sh_slice_address(), skipped_transform_tree(), slice_header(), slice_header(), slice_segment_header(), sps(), sps(), sps(), sps_alloc(), sps_bit_depth(), sps_chroma_qp_table(), sps_derive(), sps_export_stream_params(), sps_free(), sps_inter(), sps_ladf(), sps_map_pixel_format(), sps_partition_constraints(), sps_poc(), st_ref_pic_set(), subpic_get_rect(), subpic_tiles(), temporal_luma_motion_vector(), 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(), vaapi_vvc_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(), vui_parameters_default(), vui_parameters_default(), vvc_deblock(), vvc_predict_palette(), vvc_probe(), and z_scan_block_avail().

◆ 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.

Referenced by sps_extension().

◆ pps()

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

Definition at line 404 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [1/7]

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(), and sei_pic_timestamp().

◆ SEI_FUNC() [2/7]

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/7]

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/7]

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/7]

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/7]

SEI_FUNC ( sei_frame_packing_arrangement ,
(CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIFramePackingArrangement *current, SEIMessageState *sei)  )

Definition at line 804 of file cbs_h264_syntax_template.c.

◆ SEI_FUNC() [7/7]

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

Definition at line 838 of file cbs_h264_syntax_template.c.

◆ sei()

◆ aud()

◆ ref_pic_list_modification()

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

Definition at line 892 of file cbs_h264_syntax_template.c.

Referenced by ref_pic_list_modification(), and slice_header().

◆ pred_weight_table()

◆ 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 1004 of file cbs_h264_syntax_template.c.

Referenced by dec_ref_pic_marking(), and slice_header().

◆ slice_header()

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

Definition at line 1055 of file cbs_h264_syntax_template.c.

Referenced by slice_header(), slice_header(), and slice_header().

◆ filler()

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

Definition at line 1251 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 1279 of file cbs_h264_syntax_template.c.

Referenced by end_of_sequence().

◆ end_of_stream()

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

Definition at line 1288 of file cbs_h264_syntax_template.c.

Referenced by end_of_stream(), and svc_decode_frame().