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(), alloc_frame(), 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(), chroma_mc_bi(), chroma_mc_uni(), chroma_tc(), ciip_derive_intra_weight(), ciip_flag_decode(), copy_CTB_to_hv(), ctu_nz_tl_init(), deblocking_filter_CTB(), 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_spatial_merge_candidates(), derive_transform_type(), emulated_edge(), 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_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_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_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_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_pcm(), get_qp_c(), get_qp_y(), get_qp_y_pred(), get_qPy(), get_qPy_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_deduce_crop(), h265_metadata_guess_level(), h265_metadata_update_sps(), hevc_decode_extradata(), 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_decode_entry(), hls_decode_entry_wpp(), hls_decode_neighbour(), hls_pcm_sample(), hls_prediction_unit(), hls_residual_coding(), hls_sao_param(), hls_slice_data_wpp(), 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(), intra_prediction_unit(), intra_prediction_unit_default_value(), is_a0_available(), is_au_start(), itransform(), itx_1d(), itx_2d(), lfnst_idx_decode(), lmcs_derive_lut(), load_states(), 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(), 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_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(), ref_pic_list_modification(), ref_pic_list_struct(), restore_tqb_pixels(), sao_filter_CTB(), sb_mv_merge_mode(), sb_temporal_merge_candidate(), sbt_info(), scaled_ref_pos_and_step(), scaling_list_data(), schedule_next_parse(), SEI_FUNC(), sei_pic_timestamp(), set_cb_pos(), set_ct_depth(), set_deblocking_bypass(), 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(), subpic_get_rect(), subpic_tiles(), 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(), 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.

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

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