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)
 
static int FUNC() sei_buffering_period (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIBufferingPeriod *current)
 
static int FUNC() sei_pic_timestamp (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPicTimestamp *current, const H264RawSPS *sps)
 
static int FUNC() sei_pic_timing (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPicTiming *current)
 
static int FUNC() sei_pan_scan_rect (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPanScanRect *current)
 
static int FUNC() sei_user_data_registered (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIUserDataRegistered *current, uint32_t *payload_size)
 
static int FUNC() sei_user_data_unregistered (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIUserDataUnregistered *current, uint32_t *payload_size)
 
static int FUNC() sei_recovery_point (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIRecoveryPoint *current)
 
static int FUNC() sei_display_orientation (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIDisplayOrientation *current)
 
static int FUNC() sei_mastering_display_colour_volume (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIMasteringDisplayColourVolume *current)
 
static int FUNC() sei_alternative_transfer_characteristics (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIAlternativeTransferCharacteristics *current)
 
static int FUNC() sei_payload (CodedBitstreamContext *ctx, RWContext *rw, H264RawSEIPayload *current)
 
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_h2645_replace_ps(), cbs_h264_write_nal_unit(), cbs_h265_free_sps(), cbs_h265_read_nal_unit(), cbs_h265_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(), export_stream_params(), ff_avc_decode_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_isom_write_avcc(), ff_rm_parse_packet(), ff_vaapi_parse_hevc_rext_profile(), ff_videotoolbox_hvcc_extradata_create(), fill_picture_parameters(), generate_fake_vps(), get_format(), h264_export_frame_props(), h264_field_start(), 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(), 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_units(), pic_arrays_init(), pps(), pps_range_extensions(), pred_weight_table(), ref_pic_list_modification(), scaling_list_data(), sei_buffering_period(), sei_pic_timestamp(), sei_pic_timing(), 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_start_frame(), vui_parameters(), and vui_parameters_default().

◆ 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

◆ sei_buffering_period()

static int FUNC() sei_buffering_period ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIBufferingPeriod current 
)
static

Definition at line 513 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_pic_timestamp()

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

Definition at line 559 of file cbs_h264_syntax_template.c.

Referenced by sei_pic_timing().

◆ sei_pic_timing()

static int FUNC() sei_pic_timing ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIPicTiming current 
)
static

Definition at line 606 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_pan_scan_rect()

static int FUNC() sei_pan_scan_rect ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIPanScanRect current 
)
static

Definition at line 677 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_user_data_registered()

static int FUNC() sei_user_data_registered ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIUserDataRegistered current,
uint32_t *  payload_size 
)
static

Definition at line 703 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_user_data_unregistered()

static int FUNC() sei_user_data_unregistered ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIUserDataUnregistered current,
uint32_t *  payload_size 
)
static

Definition at line 737 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_recovery_point()

static int FUNC() sei_recovery_point ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIRecoveryPoint current 
)
static

Definition at line 767 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_display_orientation()

static int FUNC() sei_display_orientation ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIDisplayOrientation current 
)
static

Definition at line 782 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_mastering_display_colour_volume()

static int FUNC() sei_mastering_display_colour_volume ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIMasteringDisplayColourVolume current 
)
static

Definition at line 801 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_alternative_transfer_characteristics()

static int FUNC() sei_alternative_transfer_characteristics ( CodedBitstreamContext ctx,
RWContext rw,
H264RawSEIAlternativeTransferCharacteristics current 
)
static

Definition at line 822 of file cbs_h264_syntax_template.c.

Referenced by sei_payload().

◆ sei_payload()

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

Definition at line 835 of file cbs_h264_syntax_template.c.

Referenced by sei().

◆ 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 1023 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 1082 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 1135 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 1186 of file cbs_h264_syntax_template.c.

◆ filler()

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

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

◆ end_of_stream()

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