FFmpeg
Data Fields
AVCodecParameters Struct Reference

This struct describes the properties of an encoded stream. More...

#include <codec_par.h>

Data Fields

enum AVMediaType codec_type
 General type of the encoded data. More...
 
enum AVCodecID codec_id
 Specific type of the encoded data (the codec used). More...
 
uint32_t codec_tag
 Additional information about the codec (corresponds to the AVI FOURCC). More...
 
uint8_t * extradata
 Extra binary data needed for initializing the decoder, codec-dependent. More...
 
int extradata_size
 Size of the extradata content in bytes. More...
 
AVPacketSideDatacoded_side_data
 Additional data associated with the entire stream. More...
 
int nb_coded_side_data
 Amount of entries in coded_side_data. More...
 
int format
 
int64_t bit_rate
 The average bitrate of the encoded data (in bits per second). More...
 
int bits_per_coded_sample
 The number of bits per sample in the codedwords. More...
 
int bits_per_raw_sample
 This is the number of valid bits in each output sample. More...
 
int profile
 Codec-specific bitstream restrictions that the stream conforms to. More...
 
int level
 
int width
 Video only. More...
 
int height
 
AVRational sample_aspect_ratio
 Video only. More...
 
AVRational framerate
 Video only. More...
 
enum AVFieldOrder field_order
 Video only. More...
 
enum AVColorRange color_range
 Video only. More...
 
enum AVColorPrimaries color_primaries
 
enum AVColorTransferCharacteristic color_trc
 
enum AVColorSpace color_space
 
enum AVChromaLocation chroma_location
 
int video_delay
 Video only. More...
 
AVChannelLayout ch_layout
 Audio only. More...
 
int sample_rate
 Audio only. More...
 
int block_align
 Audio only. More...
 
int frame_size
 Audio only. More...
 
int initial_padding
 Audio only. More...
 
int trailing_padding
 Audio only. More...
 
int seek_preroll
 Audio only. More...
 

Detailed Description

This struct describes the properties of an encoded stream.

sizeof(AVCodecParameters) is not a part of the public ABI, this struct must be allocated with avcodec_parameters_alloc() and freed with avcodec_parameters_free().

Examples
remux.c.

Definition at line 47 of file codec_par.h.

Field Documentation

◆ codec_type

enum AVMediaType AVCodecParameters::codec_type

General type of the encoded data.

Examples
remux.c, and transcode.c.

Definition at line 51 of file codec_par.h.

Referenced by aa_read_header(), aax_read_header(), ac4_read_header(), ace_read_header(), acm_read_header(), add_dstream(), add_keyframes_index(), add_metadata_from_renditions(), add_video_stream(), adp_read_header(), ads_read_header(), adts_aac_read_header(), adx_read_header(), aea_read_header(), afc_read_header(), aiff_write_header(), aix_read_header(), apac_read_header(), apc_read_header(), ape_read_header(), ape_tag_read_field(), apng_read_header(), aptx_read_header_common(), aqt_read_header(), argo_brp_read_header(), asf_read_header(), asf_read_stream_properties(), asf_write_header1(), asf_write_packet(), ass_read_header(), ast_read_header(), at_write_header(), audio_element_obu(), audio_read_header(), audio_write_header(), av1_read_header(), av_find_best_stream(), av_find_default_stream_index(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), avi_read_header(), avi_read_packet(), avi_read_seek(), avi_sync(), avi_write_counters(), avi_write_header(), avi_write_packet(), avi_write_packet_internal(), avi_write_trailer(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avisynth_read_packet(), avisynth_read_seek(), avr_read_header(), bfi_read_header(), binka_read_header(), bmv_read_header(), bonk_read_header(), caca_write_header(), cdata_read_header(), cdxl_read_packet(), celt_header(), choose_decoder(), cin_read_header(), cine_read_header(), codec2_read_header_common(), codec_parameters_reset(), compute_frame_duration(), compute_muxer_pkt_fields(), compute_pkt_fields(), concat_parse_script(), create_audio_stream(), create_master_playlist(), create_new_audio_stream(), create_stream(), create_subcc_streams(), dash_init(), dash_write_packet(), dat_read_packet(), daud_header(), dc1394_read_common(), dcstr_read_header(), decode_stream_header(), demux_final_stats(), demux_stream_alloc(), derf_read_header(), dfa_read_header(), dfpwm_read_header(), dhav_read_packet(), dirac_header(), dsf_read_header(), dshow_add_device(), dss_read_header(), dtshd_read_header(), dump_stream_format(), dv_assemble_frame(), dv_init_mux(), dvdvideo_audio_stream_add(), dvdvideo_subp_stream_add(), dvdvideo_video_stream_add(), dxa_read_header(), ea_read_header(), eit_cb(), enable_pcr_generation_for_stream(), enable_tracks(), epaf_read_header(), estimate_timings_from_bit_rate(), estimate_timings_from_pts(), evc_read_header(), fbdev_read_header(), ff_add_attached_pic(), ff_argo_asf_fill_stream(), ff_decklink_write_packet(), ff_find_decoder(), ff_framehash_write_header(), ff_get_wav_header(), ff_img_read_header(), ff_interleave_add_packet(), ff_interleave_packet_per_dts(), ff_mov_init_hinting(), ff_mov_read_stsd_entries(), ff_parse_mpeg2_descriptor(), ff_parse_specific_params(), ff_raw_audio_read_header(), ff_raw_subtitle_read_header(), ff_raw_video_read_header(), ff_rfps_calculate(), ff_rm_parse_packet(), ff_rm_read_mdpr_codecdata(), ff_rtp_get_codec_info(), ff_rtp_get_payload_type(), ff_spdif_read_packet(), fg_create_simple(), film_init(), film_read_header(), filter_codec_opts(), find_matching_stream(), find_stream(), fits_read_header(), flac_header(), flac_init(), flac_read_header(), flv_data_packet(), flv_init(), flv_read_metabody(), flv_read_packet(), flv_write_codec_header(), flv_write_packet(), flv_write_trailer(), force_codec_ids(), frm_read_header(), fsb_read_header(), fwse_read_header(), g722_read_header(), g723_1_init(), g726_read_header(), g729_read_header(), gdigrab_read_header(), gdv_read_header(), genh_read_header(), get_aiff_header(), get_pes_stream_id(), get_sindex(), gif_read_header(), grab_read_header(), gsm_read_header(), guess_pkt_duration(), gxf_compare_field_nb(), gxf_interleave_packet(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_packet(), handle_file(), hca_read_header(), hcom_read_header(), hds_write_header(), hds_write_packet(), heif_add_stream(), hls_init(), hls_mux_init(), hls_write_header(), hls_write_packet(), hnm_read_header(), idcin_read_header(), iff_read_header(), iff_read_packet(), ifilter_bind_ist(), ifv_read_header(), ilbc_read_header(), imf_read_packet(), init_audio(), init_filters(), init_fps(), init_muxer(), init_pts(), init_stream(), init_video_stream(), input_packet_process(), interleave_compare_dts(), ipmovie_read_header(), ipu_read_header(), ircam_read_header(), ism_write_header(), ism_write_packet(), iss_read_header(), ist_add(), ist_dts_update(), ist_filter_add(), ist_use(), jacosub_read_header(), jpegxl_anim_read_header(), kmsgrab_read_header(), laf_read_header(), lavfi_read_header(), lavfi_read_packet(), lmlm4_read_header(), loas_read_header(), log_slave(), lrc_read_header(), lvf_read_header(), lxf_read_header(), m4sl_cb(), main(), map_auto_audio(), map_auto_video(), map_manual(), match_stream_specifier(), mcc_read_header(), microdvd_read_header(), mkv_assemble_codecprivate(), mkv_init(), mkv_write_attachments(), mkv_write_block(), mkv_write_blockadditionmapping(), mkv_write_packet_internal(), mkv_write_tags(), mkv_write_track(), mkv_write_tracks(), mmf_read_header(), modplug_read_header(), mods_read_header(), moflex_read_sync(), mov_build_index(), mov_codec_id(), mov_create_chapter_track(), mov_create_timecode_track(), mov_finalize_stsd_codec(), mov_fix_index(), mov_flush_fragment(), mov_get_codec_tag(), mov_get_skip_samples(), mov_init(), mov_parse_lcevc_streams(), mov_read_chapters(), mov_read_hdlr(), mov_read_header(), mov_read_kind(), mov_read_stss(), mov_read_stts(), mov_read_trak(), mov_read_trun(), mov_write_audio_tag(), mov_write_esds_tag(), mov_write_ftyp_tag(), mov_write_hdlr_tag(), mov_write_header(), mov_write_identification(), mov_write_iods_tag(), mov_write_isml_manifest(), mov_write_minf_tag(), mov_write_moov_tag(), mov_write_packet(), mov_write_single_packet(), mov_write_stbl_tag(), mov_write_stsd_tag(), mov_write_stts_tag(), mov_write_tfhd_tag(), mov_write_tkhd_tag(), mov_write_trak_tag(), movie_common_init(), mp3_init(), mp3_read_header(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpeg_parse_packet(), mpegps_read_packet(), mpegts_find_stream_type(), mpegts_init(), mpegts_push_data(), mpegts_read_header(), mpegts_set_stream_info(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mpjpeg_read_header(), mpl2_read_header(), mpsub_read_header(), msf_read_header(), msnwc_tcp_read_header(), msp_read_header(), mtaf_read_header(), mtv_read_header(), musx_read_header(), mux_final_stats(), mv_read_header(), mxf_add_metadata_stream(), mxf_compute_edit_units_per_packet(), mxf_compute_sample_count(), mxf_handle_missing_index_segment(), mxf_init(), mxf_parse_structural_metadata(), mxf_read_seek(), mxf_set_pts(), mxf_write_common_fields(), mxf_write_packet(), mxg_read_header(), nc_read_header(), new_stream(), nist_read_header(), nsp_read_header(), nsv_parse_NSVs_header(), nut_write_header(), nuv_header(), of_streamcopy(), ogg_init(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_header(), opengl_write_header(), opt_target(), opus_header(), osq_read_header(), ost_add(), output_packet(), parse_chunk(), parse_packet(), parse_strk(), parse_vtrk(), pcm_read_header(), pdv_read_header(), pjs_read_header(), pmp_header(), pmt_cb(), pp_bnk_read_header(), process_frame(), pulse_read_header(), put_frame(), pva_read_header(), pvf_read_header(), qcp_read_header(), qoa_read_header(), qt_rtp_parse_packet(), r3d_read_red1(), r3d_read_reda(), raw_data_read_header(), rawvideo_read_header(), rcwt_read_header(), read_desc_chunk(), read_frame(), read_header(), read_header_gme(), read_header_openmpt(), read_header_vs(), read_index(), read_packet(), read_thread(), realtext_read_header(), redspark_read_header(), report_new_stream(), rka_read_header(), rl2_read_header(), rm_read_audio_stream_info(), rm_read_dts(), rm_read_header(), rm_read_multi(), rm_write_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rso_read_header(), rtp_hinting_needed(), rtp_write_header(), rv10_write_header(), s337m_read_packet(), sami_read_header(), sbg_read_header(), scc_read_header(), scd_read_track(), sdl2_write_header(), sdns_read_header(), sdr2_read_header(), sds_read_header(), sdx_read_header(), select_pcr_streams(), seq_read_header(), ser_read_header(), set_codec_from_probe_data(), set_codec_str(), sga_audio_packet(), sga_video_packet(), show_frame(), show_packet(), show_stream(), siff_parse_vbv1(), simbiosis_imx_read_header(), skeleton_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), smjpeg_write_packet(), smush_read_header(), sol_read_header(), sox_read_header(), speex_header(), srt_read_header(), stl_read_header(), str_read_packet(), stream_component_close(), stream_cycle_channel(), stream_specifier_match(), streamcopy_init(), subviewer1_read_header(), subviewer_read_header(), sup_read_header(), svag_read_header(), svs_read_header(), swf_read_packet(), swf_write_header(), swf_write_packet(), tak_read_header(), tb_unreliable(), tedcaptions_read_header(), theora_header(), thp_read_header(), threedostr_read_header(), tmcd_is_referenced(), tmv_read_header(), track_header(), ts_discontinuity_process(), tta_read_header(), txd_read_header(), ty_read_header(), update_initial_timestamps(), update_stream_timings(), v4l2_read_header(), vag_read_header(), vc1t_read_header(), vfw_read_header(), vid_read_packet(), vivo_read_header(), vmd_read_header(), voc_read_packet(), vorbis_header(), vp8_header(), vpk_read_header(), vplayer_read_header(), vqf_read_header(), wady_read_header(), wavarc_read_header(), wc3_read_header(), webm_chunk_write_packet(), webvtt_read_header(), write_adaptation_set(), write_codec_attr(), write_header(), write_manifest(), write_odml_master(), write_representation(), write_stream_codec(), write_stream_codec_info(), write_stream_data(), write_streamheader(), write_streaminfo(), write_timestamp(), wsaud_read_header(), wsd_read_header(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), wve_read_header(), xa_read_header(), xmd_read_header(), xmv_process_packet_header(), xv_write_header(), xvag_read_header(), yop_read_header(), and yuv4_read_header().

◆ codec_id

enum AVCodecID AVCodecParameters::codec_id

Specific type of the encoded data (the codec used).

Examples
demux_decode.c, qsv_decode.c, transcode.c, and transcode_aac.c.

Definition at line 55 of file codec_par.h.

Referenced by a64_write_header(), aa_read_header(), aax_read_header(), aax_read_packet(), ac4_read_header(), ace_read_header(), acm_read_header(), add_video_stream(), adp_read_header(), ads_read_header(), adts_aac_read_header(), adx_read_header(), aea_read_header(), afc_read_header(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aix_read_header(), amf_parse_object(), amr_handle_packet(), amv_init(), amv_write_alist(), amv_write_vlist(), apac_read_header(), apc_read_header(), ape_read_header(), ape_tag_read_field(), apng_read_header(), aptx_hd_read_header(), aptx_read_header(), aqt_read_header(), argo_brp_read_header(), asf_read_picture(), asf_read_stream_properties(), asf_write_header1(), ass_read_header(), ast_read_header(), ast_write_header(), at_write_header(), audio_element_obu(), audio_read_header(), audio_write_header(), av1_read_header(), av_find_best_stream(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), avi_read_header(), avi_read_packet(), avi_write_header(), avi_write_packet(), avi_write_trailer(), avisynth_create_stream_audio(), avisynth_create_stream_video(), avr_read_header(), bfi_read_header(), binka_read_header(), bitstream_switching(), bmv_read_header(), bonk_read_header(), build_open_gop_key_points(), caca_write_header(), caf_write_header(), can_seek_to_key_sample(), cdata_read_header(), cdxl_read_packet(), celt_header(), choose_chroma_location(), choose_decoder(), choose_encoder(), cin_read_header(), cine_read_header(), codec2_read_header_common(), codec_parameters_reset(), compute_pkt_fields(), concat_parse_script(), copy_stream_props(), create_audio_stream(), create_new_audio_stream(), create_stream(), create_subcc_streams(), dash_init(), dat_read_packet(), daud_header(), dc1394_read_common(), dcstr_read_header(), dec_standalone_open(), decklink_setup_data(), decklink_setup_subtitle(), decklink_write_audio_packet(), decklink_write_video_packet(), decode_stream_header(), demux_stream_alloc(), derf_read_header(), detect_stream_specific(), dfa_read_header(), dfpwm_read_header(), dhav_read_packet(), dirac_header(), dovi_rpu_init(), dsf_read_header(), dshow_add_device(), dss_read_header(), dtshd_read_header(), dv_init_mux(), dvdvideo_audio_stream_add(), dvdvideo_subp_stream_add(), dvdvideo_video_stream_add(), dxa_read_header(), ea_read_header(), eit_cb(), epaf_read_header(), evc_read_header(), extract_extradata_check(), fbdev_read_header(), ff_argo_asf_fill_stream(), ff_dovi_configure_ext(), ff_flac_parse_picture(), ff_framehash_write_header(), ff_get_wav_header(), ff_hls_senc_parse_audio_setup_info(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_img_read_header(), ff_img_read_packet(), ff_interleave_packet_per_dts(), ff_load_image(), ff_mov_get_channel_layout_tag(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_pcm_default_packet_size(), ff_pcm_read_seek(), ff_put_bmp_header(), ff_put_wav_header(), ff_raw_audio_read_header(), ff_raw_subtitle_read_header(), ff_raw_video_read_header(), ff_rm_read_mdpr_codecdata(), ff_rtp_get_codec_info(), ff_rtp_get_payload_type(), ff_rtp_parse_open(), ff_spdif_read_packet(), ff_voc_get_packet(), fill_codec_config(), film_init(), film_read_header(), film_write_header(), film_write_packet(), filter_units_init(), find_compressor(), find_expected_header(), fits_read_header(), flac_header(), flac_init(), flac_read_header(), flac_read_timestamp(), flac_write_picture(), flush_buffered(), flv_check_bitstream(), flv_data_packet(), flv_init(), flv_read_packet(), flv_same_audio_codec(), flv_same_video_codec(), flv_set_audio_codec(), flv_set_video_codec(), flv_write_codec_header(), flv_write_metadata_packet(), flv_write_packet(), flv_write_trailer(), force_codec_ids(), frm_read_header(), fsb_read_header(), fsb_read_packet(), fwse_read_header(), g722_read_header(), g723_1_init(), g726_read_header(), g729_read_header(), gdigrab_read_header(), gdv_read_header(), genh_read_header(), genh_read_packet(), get_aiff_header(), get_attachment(), get_audio_flags(), get_codec_data(), get_dvb_stream_type(), get_m2ts_stream_type(), get_mimetype(), get_packet_header(), get_pes_stream_id(), get_private_data(), get_sindex(), get_video_private_data(), gif_read_header(), grab_read_header(), gsm_read_header(), gxf_packet(), gxf_write_header(), gxf_write_media_preamble(), gxf_write_packet(), gxf_write_umf_media_description(), gxf_write_umf_media_mpeg(), handle_eac3(), handle_file(), has_codec_parameters(), has_decode_delay_been_guessed(), hca_read_header(), hcom_read_header(), heif_add_stream(), hls_mux_init(), hls_read_packet(), hls_write_header(), hnm_read_header(), ico_check_attributes(), ico_write_packet(), idcin_read_header(), iff_read_header(), ifv_read_header(), ilbc_read_header(), imf_read_packet(), init_audio(), init_fps(), init_muxer(), init_video_stream(), ipmovie_read_header(), ipu_read_header(), ircam_read_header(), ircam_write_header(), ism_write_header(), iss_read_header(), ist_add(), ist_use(), ivf_init(), ivf_write_header(), jacosub_read_header(), jpegxl_anim_read_header(), kmsgrab_read_header(), laf_read_header(), latm_check_bitstream(), latm_write_header(), latm_write_packet(), lavfi_read_header(), LLVMFuzzerTestOneInput(), lmlm4_read_header(), loas_read_header(), log_slave(), lrc_read_header(), lvf_read_header(), lxf_read_header(), m4sl_cb(), main(), match_stream_specifier(), mcc_read_header(), microdvd_read_header(), mkv_assemble_codecprivate(), mkv_assemble_native_codecprivate(), mkv_check_bitstream(), mkv_check_new_extra_data(), mkv_init(), mkv_write_packet_internal(), mkv_write_track(), mkv_write_track_video(), mmf_read_header(), modplug_read_header(), mods_read_header(), moflex_read_sync(), mov_build_index(), mov_check_bitstream(), mov_codec_id(), mov_estimate_video_delay(), mov_finalize_stsd_codec(), mov_find_codec_tag(), mov_fix_index(), mov_get_codec_tag(), mov_init(), mov_parse_lcevc_streams(), mov_parse_stsd_audio(), mov_parse_stsd_video(), mov_preroll_write_stbl_atoms(), mov_read_aclr(), mov_read_ares(), mov_read_chapters(), mov_read_covr(), mov_read_extradata(), mov_read_frma(), mov_read_glbl(), mov_read_hdlr(), mov_read_header(), mov_read_packet(), mov_read_pcmc(), mov_read_trak(), mov_read_wave(), mov_write_audio_tag(), mov_write_esds_tag(), mov_write_ftyp_tag(), mov_write_header(), mov_write_isml_manifest(), mov_write_packet(), mov_write_pcmc_tag(), mov_write_single_packet(), mov_write_squashed_packet(), mov_write_squashed_packets(), mov_write_stbl_tag(), mov_write_subtitle_tag(), mov_write_trailer(), mov_write_uuidprof_tag(), mov_write_video_tag(), mov_write_wave_tag(), mp3_init(), mp3_read_header(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpeg_mux_write_packet(), mpegps_read_packet(), mpegts_check_bitstream(), mpegts_find_stream_type(), mpegts_init(), mpegts_push_data(), mpegts_read_header(), mpegts_set_stream_info(), mpegts_write_packet_internal(), mpegts_write_pes(), mpegts_write_pmt(), mpjpeg_read_header(), mpl2_read_header(), mpsub_read_header(), msf_read_header(), msnwc_tcp_read_header(), msp_read_header(), msp_read_packet(), mtaf_read_header(), mtv_read_header(), musx_read_header(), mv_read_header(), mxf_add_metadata_stream(), mxf_check_bitstream(), mxf_compute_edit_units_per_packet(), mxf_handle_missing_index_segment(), mxf_init(), mxf_parse_structural_metadata(), mxf_set_audio_pts(), mxf_write_cdci_common(), mxf_write_cdci_desc(), mxf_write_d10_audio_packet(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_mpegvideo_desc(), mxf_write_packet(), mxg_read_header(), nal_send(), nc_read_header(), nist_read_header(), nsp_read_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nuv_header(), ogg_buffer_data(), ogg_free(), ogg_init(), ogg_write_packet_internal(), ogm_dshow_header(), ogm_header(), old_dirac_header(), old_flac_header(), oma_read_header(), oma_read_seek(), open_codec_context(), open_input_file(), open_stream(), opengl_write_header(), opengl_write_packet(), opus_header(), osq_read_header(), parse_chunk(), parse_dsd_prop(), parse_fmtp(), parse_media_type(), parse_mpeg1waveformatex(), parse_packet(), parse_strk(), parse_video_info(), parse_video_var(), parse_vtrk(), parse_waveformatex(), pcm_read_header(), pdv_read_header(), pjs_read_header(), pmp_header(), pp_bnk_read_header(), probe_codec(), pulse_read_header(), pulse_write_header(), put_videoinfoheader2(), put_xiph_codecpriv(), pva_read_header(), pvf_read_header(), qcp_read_header(), qdm2_parse_packet(), qoa_read_header(), r3d_read_red1(), r3d_read_reda(), raw_data_read_header(), rawvideo_read_header(), rcwt_read_header(), rdt_parse_packet(), read_desc_chunk(), read_frame(), read_frame_internal(), read_header(), read_header_gme(), read_header_openmpt(), read_header_vs(), read_kuki_chunk(), read_packet(), realtext_read_header(), redspark_read_header(), rfc4175_parse_format(), rka_read_header(), rl2_read_header(), rm_ac3_swap_bytes(), rm_read_audio_stream_info(), rm_write_audio(), roq_read_packet(), rpl_read_header(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rso_write_header(), rtp_mpegts_write_header(), rtp_write_header(), rtp_write_packet(), rv10_write_header(), s337m_read_packet(), sami_read_header(), samples_per_packet(), sbg_read_header(), scc_read_header(), scd_read_track(), sdl2_write_header(), sdns_read_header(), sdr2_read_header(), sds_read_header(), sdx_read_header(), seek_frame_generic(), seek_test(), segment_mux_init(), select_from_pts_buffer(), seq_read_header(), ser_read_header(), set_codec_from_probe_data(), set_codec_str(), set_last_stream_little_endian(), set_silence(), sga_audio_packet(), sga_video_packet(), show_stream(), siff_parse_vbv1(), simbiosis_imx_read_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), smush_read_header(), sol_read_header(), sox_read_header(), sox_write_header(), sox_write_trailer(), speex_header(), srt_read_header(), srt_write_header(), stl_read_header(), str_read_packet(), streamcopy_init(), subviewer1_read_header(), subviewer_read_header(), sup_read_header(), svag_read_header(), svq3_parse_packet(), svs_read_header(), swf_read_packet(), swf_write_header(), swf_write_video(), tak_read_header(), tedcaptions_read_header(), theora_header(), thp_read_header(), threedostr_read_header(), tmv_read_header(), trace_headers_init(), track_header(), try_decode_frame(), tta_init(), tta_read_header(), txd_read_header(), ty_read_header(), update_extradata(), update_stream_avctx(), v4l2_read_header(), vag_read_header(), validate_codec_tag(), vc1t_read_header(), vfw_read_header(), vid_read_packet(), video_decode(), video_decode_example(), vivo_read_header(), vmd_read_header(), voc_write_header(), vorbis_header(), vp8_header(), vpk_read_header(), vplayer_read_header(), vqf_read_header(), wady_read_header(), wavarc_read_header(), wc3_read_header(), webvtt_read_header(), write_adaptation_set(), write_codec_attr(), write_header(), write_metadata(), write_packet(), write_representation(), write_skip_frames(), write_stream_codec_info(), wsaud_read_header(), wsaud_read_packet(), wsaud_write_header(), wsd_read_header(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), wve_read_header(), xa_read_header(), xmd_read_header(), xmv_process_packet_header(), xv_write_header(), xv_write_packet(), xvag_read_header(), xwma_read_header(), yop_read_header(), yuv4_read_header(), and yuv4_write_packet().

◆ codec_tag

uint32_t AVCodecParameters::codec_tag

Additional information about the codec (corresponds to the AVI FOURCC).

Examples
remux.c.

Definition at line 59 of file codec_par.h.

Referenced by aiff_write_header(), ape_read_header(), asf_read_stream_properties(), asf_write_header1(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_read_header(), avi_read_packet(), avi_write_header(), avi_write_packet(), cdata_read_header(), cdxl_read_packet(), cin_read_header(), cine_read_header(), daud_header(), decode_stream_header(), dshow_add_device(), ea_read_header(), export_orphan_timecode(), ff_get_wav_header(), ff_hls_senc_parse_audio_setup_info(), ff_mov_init_hinting(), ff_mov_read_stsd_entries(), ff_parse_mpeg2_descriptor(), ff_put_bmp_header(), ff_put_wav_header(), ff_rm_read_mdpr_codecdata(), fill_codec_config(), film_read_header(), flv_same_audio_codec(), flv_same_video_codec(), flv_set_audio_codec(), flv_set_video_codec(), flv_write_codec_header(), frm_read_header(), fsb_read_header(), gdv_read_header(), get_aiff_header(), get_audio_flags(), get_codec_data(), handle_file(), hca_read_header(), hds_write_header(), hls_mux_init(), hls_write_header(), hnm_read_header(), idcin_read_header(), iff_read_header(), iff_read_packet(), init_audio(), init_muxer(), init_stream(), init_video_stream(), ipmovie_read_header(), ist_add(), LLVMFuzzerTestOneInput(), lvf_read_header(), lxf_read_header(), main(), mkv_assemble_codecprivate(), mkv_assemble_native_codecprivate(), mkv_write_track(), mkv_write_track_video(), mov_codec_id(), mov_create_timecode_track(), mov_finalize_stsd_codec(), mov_find_codec_tag(), mov_get_codec_tag(), mov_get_evc_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_get_rawvideo_codec_tag(), mov_init(), mov_parse_stsd_audio(), mov_parse_stsd_data(), mov_parse_stsd_subtitle(), mov_parse_stsd_video(), mov_read_ares(), mov_read_glbl(), mov_read_trak(), mov_write_gmhd_tag(), mov_write_hdlr_tag(), mov_write_ms_tag(), mov_write_stbl_tag(), mov_write_stsd_tag(), mov_write_subtitle_tag(), mov_write_ttml_document_from_queue(), mov_write_video_tag(), mpegts_set_stream_info(), msnwc_tcp_read_header(), mxf_parse_structural_metadata(), nsv_parse_NSVs_header(), ogm_header(), oma_read_header(), oma_write_header(), ost_add(), parse_dsd_prop(), parse_strk(), parse_video_info(), parse_videoinfoheader2(), parse_waveformatex(), pmt_cb(), rawvideo_read_header(), read_desc_chunk(), read_header(), rfc4175_parse_format(), rl2_read_header(), rm_read_audio_stream_info(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rso_write_header(), rv10_write_header(), scan_file(), segment_mux_init(), seq_read_header(), set_codec_str(), sga_audio_packet(), sga_video_packet(), show_stream(), siff_parse_vbv1(), simbiosis_imx_read_header(), smacker_read_header(), smjpeg_read_header(), smush_read_header(), sol_read_header(), str_read_packet(), streamcopy_init(), thp_read_header(), v4l2_read_header(), validate_codec_tag(), vivo_read_header(), vmd_read_header(), voc_write_header(), voc_write_packet(), wavarc_read_header(), wc3_read_header(), write_codec_attr(), write_metadata(), write_streamheader(), wsvqa_read_header(), xmv_process_packet_header(), and xwma_read_header().

◆ extradata

uint8_t* AVCodecParameters::extradata

Extra binary data needed for initializing the decoder, codec-dependent.

Must be allocated with av_malloc() and will be freed by avcodec_parameters_free(). The allocated size of extradata must be at least extradata_size + AV_INPUT_BUFFER_PADDING_SIZE, with the padding bytes zeroed.

Examples
qsv_decode.c.

Definition at line 69 of file codec_par.h.

Referenced by a64_write_header(), aac_adtstoasc_filter(), aax_read_header(), ace_read_header(), acm_read_header(), adts_init(), adts_write_packet(), adx_read_header(), afc_read_header(), aiff_read_header(), aiff_write_header(), ape_read_header(), apng_read_header(), apng_write_header(), append_extradata(), asf_read_stream_properties(), audio_element_obu(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_extract_stream_metadata(), avi_read_header(), bitstream_switching(), bonk_read_header(), caf_write_header(), celt_header(), cine_read_header(), codec2_read_header(), codec2_read_header_common(), codec2_write_header(), codec2raw_read_header(), codec_parameters_reset(), concat_parse_script(), copy_stream_props(), cuvid_decode_init(), decode_stream_header(), detect_stream_specific(), dfa_read_header(), dshow_add_device(), dump_attachment(), encode_intervals(), ff_alloc_extradata(), ff_bprint_to_codecpar_extradata(), ff_cbs_bsf_generic_init(), ff_cbs_read_extradata(), ff_cbs_write_extradata(), ff_generate_avci_extradata(), ff_get_extradata(), ff_get_wav_header(), ff_is_ttml_stream_paragraph_based(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_put_bmp_header(), ff_put_wav_header(), ff_rm_read_mdpr_codecdata(), fill_codec_config(), filter_units_init(), flac_header(), flac_read_header(), flac_write_header(), flv_read_packet(), flv_set_video_codec(), flv_write_codec_header(), flv_write_packet(), framecrc_write_header(), fsb_read_header(), genh_read_header(), get_private_data(), get_video_private_data(), hca_read_header(), hcom_read_header(), hevc_parse_sdp_line(), hnm_read_header(), iff_read_header(), init_fps(), jacosub_write_header(), latm_write_frame_header(), latm_write_header(), latm_write_packet(), LLVMFuzzerTestOneInput(), main(), microdvd_read_header(), microdvd_write_header(), mkv_init(), mkv_update_codecprivate(), mkv_write_attachments(), mkv_write_track(), mov_create_chapter_track(), mov_create_dvd_sub_decoder_specific_info(), mov_finalize_stsd_codec(), mov_parse_stsd_data(), mov_read_aclr(), mov_read_dops(), mov_read_extradata(), mov_read_glbl(), mov_read_lhvc(), mov_read_stsd(), mov_read_targa_y216(), mov_read_wave(), mov_realloc_extradata(), mov_rewrite_dvd_sub_extradata(), mov_write_dfla_tag(), mov_write_dops_tag(), mov_write_dpxe_tag(), mov_write_extradata_tag(), mov_write_header(), mov_write_isml_manifest(), mov_write_single_packet(), mov_write_subtitle_tag(), mov_write_tmcd_tag(), mov_write_trailer(), mpc8_read_header(), mpc_read_header(), mpegts_check_bitstream(), mpegts_write_packet_internal(), mpegts_write_pmt(), msf_read_header(), mtv_read_header(), mxf_parse_ffv1_frame(), mxf_parse_structural_metadata(), mxf_write_ffv1_subdesc(), new_stream(), nist_read_header(), nsv_parse_NSVs_header(), of_add_attachments(), ogg_build_flac_headers(), ogg_build_opus_headers(), ogg_build_speex_headers(), ogg_init(), ogm_header(), oma_read_header(), oma_write_header(), opus_header(), opus_metadata_init(), opus_write_extradata(), osq_read_header(), parse_fmtp_config(), parse_media_type(), parse_mpeg1waveformatex(), parse_packed_headers(), parse_video_var(), parse_vtrk(), put_videoinfoheader2(), qdm2_parse_config(), read_header(), read_kuki_chunk(), realtext_read_header(), redspark_read_header(), rka_read_header(), rm_read_audio_stream_info(), rsd_read_header(), rtp_write_header(), sdns_read_header(), sdp_parse_fmtp_config_h264(), seg_write_packet(), set_codec_str(), show_stream(), smacker_read_header(), smush_read_header(), speex_header(), subviewer_read_header(), svq3_parse_packet(), tak_read_header(), theora_header(), trace_headers_init(), track_header(), tta_init(), tta_read_header(), tta_write_header(), ttml_set_header_values_from_extradata(), update_extradata(), update_stream_extradata(), vc1test_write_header(), vfw_read_header(), vorbis_header(), vqf_read_header(), wavarc_read_header(), write_codec_attr(), write_header(), write_streamheader(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), xmv_process_packet_header(), xwma_read_header(), and yop_read_header().

◆ extradata_size

int AVCodecParameters::extradata_size

Size of the extradata content in bytes.

Examples
qsv_decode.c.

Definition at line 73 of file codec_par.h.

Referenced by a64_write_header(), adts_init(), adts_write_packet(), adx_read_header(), aiff_write_header(), apng_write_header(), append_extradata(), asf_read_stream_properties(), asf_write_header1(), audio_element_obu(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_extract_stream_metadata(), avi_read_header(), bitstream_switching(), caf_write_header(), cine_read_header(), codec2_write_header(), copy_stream_props(), cuvid_decode_init(), decode_stream_header(), detect_stream_specific(), dshow_add_device(), dump_attachment(), ff_alloc_extradata(), ff_bprint_to_codecpar_extradata(), ff_cbs_read_extradata(), ff_cbs_write_extradata(), ff_get_extradata(), ff_is_ttml_stream_paragraph_based(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mp4_read_dec_config_descr(), ff_parse_mpeg2_descriptor(), ff_put_bmp_header(), ff_put_wav_header(), ff_rtp_send_aac(), ff_rtp_send_latm(), fill_codec_config(), flac_read_header(), flac_write_header(), flv_check_bitstream(), flv_read_packet(), flv_set_video_codec(), flv_write_codec_header(), flv_write_packet(), framecrc_write_header(), get_private_data(), get_video_private_data(), hca_read_header(), hevc_parse_sdp_line(), iff_read_header(), init_fps(), jacosub_write_header(), latm_write_frame_header(), latm_write_header(), LLVMFuzzerTestOneInput(), m4sl_cb(), main(), microdvd_write_header(), mkv_check_new_extra_data(), mkv_init(), mkv_update_codecprivate(), mkv_write_attachments(), mkv_write_track(), mov_finalize_stsd_codec(), mov_read_aclr(), mov_read_atom_into_extradata(), mov_read_extradata(), mov_read_glbl(), mov_read_lhvc(), mov_read_stsd(), mov_read_targa_y216(), mov_read_trak(), mov_read_wave(), mov_realloc_extradata(), mov_rewrite_dvd_sub_extradata(), mov_write_dfla_tag(), mov_write_dops_tag(), mov_write_dpxe_tag(), mov_write_extradata_tag(), mov_write_header(), mov_write_isml_manifest(), mov_write_single_packet(), mov_write_subtitle_tag(), mov_write_tmcd_tag(), mov_write_trailer(), mpegts_check_bitstream(), mpegts_init(), mpegts_write_packet_internal(), mpegts_write_pmt(), msf_read_header(), mtv_read_header(), mux_final_stats(), mxf_parse_ffv1_frame(), mxf_write_ffv1_subdesc(), new_stream(), of_add_attachments(), ogg_build_flac_headers(), ogg_build_opus_headers(), ogg_build_speex_headers(), ogg_init(), ogm_header(), oma_write_header(), opus_metadata_init(), parse_fmtp_config(), parse_media_type(), parse_packed_headers(), parse_video_var(), parse_vtrk(), put_videoinfoheader2(), realtext_read_header(), rl2_read_header(), rm_read_audio_stream_info(), rtp_write_header(), sdp_parse_fmtp_config_h264(), seg_write_packet(), set_codec_str(), show_stream(), smacker_read_header(), speex_header(), tak_read_header(), theora_header(), track_header(), tta_init(), tta_read_header(), ttml_set_header_values_from_extradata(), update_extradata(), update_stream_extradata(), vfw_read_header(), vorbis_header(), write_codec_attr(), write_header(), write_streamheader(), xmv_process_packet_header(), and xwma_read_header().

◆ coded_side_data

AVPacketSideData* AVCodecParameters::coded_side_data

◆ nb_coded_side_data

int AVCodecParameters::nb_coded_side_data

◆ format

int AVCodecParameters::format
  • video: the pixel format, the value corresponds to enum AVPixelFormat.
  • audio: the sample format, the value corresponds to enum AVSampleFormat.

Definition at line 92 of file codec_par.h.

Referenced by add_video_stream(), aptx_read_header_common(), at_write_header(), audio_write_frame(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), avi_write_header(), avi_write_packet(), avisynth_create_stream_video(), bfi_read_header(), bmv_read_header(), caca_write_header(), choose_chroma_location(), cine_read_header(), codec2_read_header_common(), codec_parameters_reset(), create_stream(), dc1394_read_common(), derf_read_header(), dirac_header(), dshow_add_device(), dv_init_mux(), dvdvideo_audio_stream_add(), dvdvideo_video_stream_add(), fbdev_read_header(), fbdev_write_packet(), ff_argo_asf_fill_stream(), ff_dovi_configure_ext(), ff_img_read_header(), ff_isom_get_vpcc_features(), ff_put_bmp_header(), ff_rtp_send_raw_rfc4175(), film_init(), film_read_header(), find_compressor(), flac_write_picture(), frm_read_header(), frm_read_packet(), fwse_read_header(), grab_read_header(), gxf_write_dv_auxiliary(), gxf_write_header(), gxf_write_mpeg_auxiliary(), gxf_write_umf_media_dv(), gxf_write_umf_media_mpeg(), ico_check_attributes(), iff_read_header(), kmsgrab_read_header(), lavfi_read_header(), match_stream_specifier(), mkv_write_track(), mkv_write_track_video(), mov_get_dv_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_get_rawvideo_codec_tag(), mov_init(), mov_write_packet(), mov_write_video_tag(), msp_read_header(), mtv_read_header(), mxf_init(), mxf_parse_jpeg2000_frame(), mxf_parse_structural_metadata(), mxf_write_ffv1_desc(), mxf_write_jpeg2000_subdesc(), opengl_write_header(), parse_video_var(), pp_bnk_read_header(), pulse_write_header(), pulse_write_packet(), rawvideo_read_header(), read_header(), read_header_vs(), read_packet_vs(), rfc4175_parse_format(), scan_file(), sdl2_write_header(), sdl2_write_packet(), ser_read_header(), show_stream(), siff_parse_vbv1(), simbiosis_imx_read_header(), smacker_read_header(), stream_specifier_match(), tmv_read_header(), v4l2_read_header(), vfw_read_header(), wady_read_header(), write_header(), write_image_header(), write_packet(), xiph_parse_fmtp_pair(), xv_write_header(), xv_write_packet(), yuv4_read_header(), yuv4_write_header(), and yuv4_write_packet().

◆ bit_rate

int64_t AVCodecParameters::bit_rate

The average bitrate of the encoded data (in bits per second).

Definition at line 97 of file codec_par.h.

Referenced by aa_read_header(), adx_read_header(), aea_read_header(), aiff_read_header(), apc_read_header(), argo_brp_read_header(), asf_read_ext_stream_properties(), asf_read_header(), asf_write_header1(), av_find_best_stream(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_write_header(), bfi_read_header(), calculate_bitrate(), check_stream_max_drift(), cin_read_header(), codec2_read_header_common(), create_master_playlist(), create_stream(), daud_header(), dc1394_read_common(), dsf_read_header(), ea_read_header(), estimate_timings_from_bit_rate(), fbdev_read_header(), ff_argo_asf_fill_stream(), ff_get_wav_header(), ff_hls_senc_parse_audio_setup_info(), ff_mp4_read_dec_config_descr(), ff_parse_specific_params(), ff_pcm_default_packet_size(), ff_pcm_read_seek(), ff_put_wav_header(), ff_voc_get_packet(), film_read_header(), g726_read_header(), gdigrab_read_header(), get_aiff_header(), get_sindex(), get_stream_bit_rate(), gsm_read_header(), gxf_write_header(), gxf_write_mpeg_auxiliary(), handle_file(), hds_write_header(), hls_write_header(), idcin_read_header(), iff_read_header(), ilbc_read_header(), init_audio(), iss_read_header(), LLVMFuzzerTestOneInput(), lxf_read_header(), mmf_read_header(), mov_build_index(), mov_read_ddts(), mov_read_header(), mov_write_uuidprof_tag(), mp3_parse_vbr_tags(), mp3_write_xing(), mpeg_mux_init(), mpegts_read_header(), mtv_read_header(), mxf_init(), ogm_dshow_header(), ogm_header(), oma_read_header(), parse_mpeg1waveformatex(), parse_strk(), pp_bnk_read_header(), put_videoinfoheader2(), qcp_read_header(), rawvideo_read_header(), read_desc_chunk(), read_frame_internal(), read_header(), read_packet(), real_parse_asm_rule(), rfc4175_parse_format(), rl2_read_header(), rm_read_audio_stream_info(), rm_read_header(), rm_read_multi(), rm_write_header(), roq_read_packet(), rv10_write_header(), seq_read_header(), ser_read_header(), show_stream(), sox_read_header(), tmv_read_header(), v4l2_read_header(), vid_read_packet(), vivo_read_header(), vmd_read_header(), vorbis_header(), vqf_read_header(), vqf_read_seek(), wc3_read_header(), write_manifest(), write_metadata(), wsaud_read_header(), wsd_read_header(), xa_read_header(), xmv_process_packet_header(), xwma_read_header(), and yop_read_header().

◆ bits_per_coded_sample

int AVCodecParameters::bits_per_coded_sample

The number of bits per sample in the codedwords.

This is basically the bitrate per sample. It is mandatory for a bunch of formats to actually decode them. It's the number of bits for one sample in the actual coded bitstream.

This could be for example 4 for ADPCM For PCM formats this matches bits_per_raw_sample Can be 0

Definition at line 110 of file codec_par.h.

Referenced by aiff_write_header(), amf_parse_object(), apac_read_header(), apc_read_header(), ape_read_header(), aptx_hd_read_header(), aptx_read_header(), argo_brp_read_header(), asf_read_stream_properties(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_read_header(), avi_write_header(), avi_write_packet(), avr_read_header(), bfi_read_header(), cin_read_header(), cine_read_header(), create_audio_stream(), daud_header(), dfpwm_read_header(), dshow_add_device(), dvdvideo_audio_stream_add(), ea_read_header(), epaf_read_header(), fbdev_write_packet(), ff_argo_asf_fill_stream(), ff_get_bmp_header(), ff_get_wav_header(), ff_put_bmp_header(), ff_put_wav_header(), ff_reshuffle_raw_rgb(), ff_voc_get_packet(), film_read_header(), film_write_header(), flv_read_packet(), flv_same_audio_codec(), flv_set_audio_codec(), fsb_read_header(), g722_read_header(), g726_read_header(), genh_read_header(), get_aiff_header(), get_audio_flags(), get_codec_data(), get_packet_header(), get_sindex(), hcom_read_header(), ico_write_packet(), idcin_read_header(), iff_read_header(), init_audio(), ipmovie_read_header(), ircam_read_header(), iss_read_header(), LLVMFuzzerTestOneInput(), lvf_read_header(), mkv_write_track(), mmf_read_header(), mov_get_rawvideo_codec_tag(), mov_init(), mov_parse_stsd_audio(), mov_parse_stsd_video(), mov_read_ddts(), mov_read_pcmc(), mov_write_audio_tag(), mov_write_packet(), mov_write_video_tag(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mv_read_header(), mxf_get_d10_aes3_packet(), mxf_parse_structural_metadata(), mxf_set_audio_pts(), mxg_read_header(), nist_read_header(), nsv_parse_NSVs_header(), nuv_header(), oma_read_header(), parse_audio_var(), parse_media_type(), parse_strk(), parse_waveformatex(), pcm_read_header(), pp_bnk_read_header(), pvf_read_header(), rawvideo_read_header(), read_desc_chunk(), read_header(), read_packet(), rfc4175_parse_format(), rl2_read_header(), roq_read_packet(), rpl_read_header(), rsd_read_header(), rtp_write_packet(), scan_file(), scd_read_track(), seq_read_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), sox_read_header(), tak_read_header(), tmv_read_header(), tta_read_header(), vfw_read_header(), vid_read_packet(), vivo_read_header(), vmd_read_header(), voc_write_packet(), wc3_read_header(), wsaud_read_header(), wsvqa_read_packet(), wv_read_header(), wve_read_header(), xmv_process_packet_header(), and xwma_read_header().

◆ bits_per_raw_sample

int AVCodecParameters::bits_per_raw_sample

This is the number of valid bits in each output sample.

If the sample format has more bits, the least significant bits are additional padding bits, which are always 0. Use right shifts to reduce the sample to its actual size. For example, audio formats with 24 bit samples will have bits_per_raw_sample set to 24, and format set to AV_SAMPLE_FMT_S32. To get the original sample use "(int32_t)sample >> 8"."

For ADPCM this might be 12 or 16 or similar Can be 0

Definition at line 123 of file codec_par.h.

Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), dvdvideo_audio_stream_add(), mkv_write_track(), mov_write_audio_tag(), mov_write_pcmc_tag(), rka_read_header(), and tta_write_header().

◆ profile

int AVCodecParameters::profile

◆ level

int AVCodecParameters::level

◆ width

int AVCodecParameters::width

Video only.

The dimensions of the video frame in pixels.

Definition at line 134 of file codec_par.h.

Referenced by add_video_stream(), amf_parse_object(), amv_write_header(), apng_read_header(), argo_brp_read_header(), asf_read_stream_properties(), asf_write_header1(), av_find_default_stream_index(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_read_header(), avi_write_header(), avi_write_packet(), avisynth_create_stream_video(), bfi_read_header(), bmv_read_header(), caca_write_header(), cdxl_read_packet(), cin_read_header(), cine_read_header(), compute_display_area(), compute_texture_rect(), create_stream(), dash_init(), dat_read_packet(), dc1394_read_common(), decode_stream_header(), dfa_read_header(), dhav_read_packet(), dirac_header(), dshow_add_device(), dump_stream_format(), dv_init_mux(), dvdvideo_video_stream_add(), dxa_read_header(), fbdev_read_header(), fbdev_write_packet(), ff_dovi_configure_ext(), ff_flac_parse_picture(), ff_framehash_write_header(), ff_generate_avci_extradata(), ff_get_bmp_header(), ff_h264_parse_framesize(), ff_hls_write_stream_info(), ff_img_read_header(), ff_img_read_packet(), ff_put_bmp_header(), ff_reshuffle_raw_rgb(), ff_rm_read_mdpr_codecdata(), ff_rtp_send_jpeg(), ff_rtp_send_raw_rfc4175(), ff_sauce_read(), film_read_header(), find_compressor(), flac_write_picture(), flush(), flv_write_packet(), frm_read_header(), frm_read_packet(), gdv_read_header(), get_vp9_level(), gif_read_header(), grab_read_header(), handle_file(), hnm_read_header(), ico_check_attributes(), ico_write_packet(), idcin_read_header(), iff_read_header(), ifv_read_header(), init_fps(), init_muxer(), init_stream(), init_video_stream(), ipmovie_read_header(), ipu_read_header(), ist_add(), ist_filter_add(), ivf_write_header(), kmsgrab_read_header(), lavfi_read_header(), LLVMFuzzerTestOneInput(), lvf_read_header(), map_auto_video(), match_stream_specifier(), mkv_write_track_video(), modplug_read_header(), mods_read_header(), moflex_read_sync(), mov_create_dvd_sub_decoder_specific_info(), mov_get_dv_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_init(), mov_parse_heif_items(), mov_parse_lcevc_streams(), mov_parse_stsd_subtitle(), mov_parse_stsd_video(), mov_read_ares(), mov_read_clap(), mov_read_header(), mov_read_targa_y216(), mov_read_trak(), mov_rewrite_dvd_sub_extradata(), mov_write_avid_tag(), mov_write_clap_tag(), mov_write_isml_manifest(), mov_write_packet(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_uuidprof_tag(), mov_write_video_tag(), msp_read_header(), mtv_read_header(), mxf_init(), mxf_parse_dnxhd_frame(), mxf_parse_ffv1_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_write_cdci_common(), mxf_write_jpeg2000_subdesc(), nsv_parse_NSVs_header(), nuv_header(), ogg_build_vp8_headers(), ogm_dshow_header(), ogm_header(), opengl_compute_display_area(), opengl_write_header(), parse_chunk(), parse_video_info(), parse_video_var(), parse_vtrk(), pdv_read_header(), pmp_header(), print_pkt_side_data(), put_videoinfoheader2(), r3d_read_red1(), rawvideo_read_header(), read_frame(), read_header(), read_header_vs(), read_packet(), read_packet_vs(), read_seek(), read_thread(), rfc4175_parse_sdp_line(), rl2_read_header(), roq_read_packet(), rpl_read_header(), rv10_write_header(), scan_file(), sdl2_write_header(), sdl2_write_packet(), sdr2_read_header(), seq_read_header(), ser_read_header(), show_stream(), siff_parse_vbv1(), smacker_read_header(), smjpeg_write_header(), smush_read_header(), str_read_packet(), stream_specifier_match(), swf_read_packet(), swf_write_header(), swf_write_video(), theora_header(), thp_read_header(), tmv_read_header(), track_header(), v4l2_read_header(), vc1t_read_header(), vc1test_write_header(), vfw_read_header(), vivo_read_header(), vp8_header(), wc3_read_header(), write_adaptation_set(), write_header(), write_image_header(), write_metadata(), write_packet(), write_representation(), write_streamheader(), write_trailer(), wsvqa_read_header(), xiph_parse_fmtp_pair(), xmv_process_packet_header(), xv_write_header(), xv_write_packet(), yop_read_header(), yuv4_read_header(), yuv4_write_header(), and yuv4_write_packet().

◆ height

int AVCodecParameters::height

Definition at line 135 of file codec_par.h.

Referenced by add_video_stream(), amf_parse_object(), amv_write_header(), apng_read_header(), argo_brp_read_header(), asf_read_stream_properties(), asf_write_header1(), av_find_default_stream_index(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_read_header(), avi_write_header(), avisynth_create_stream_video(), bfi_read_header(), bmv_read_header(), caca_write_header(), cdxl_read_packet(), cin_read_header(), cine_read_header(), compute_display_area(), compute_texture_rect(), create_stream(), dash_init(), dat_read_packet(), dc1394_read_common(), decode_stream_header(), dfa_read_header(), dhav_read_packet(), dirac_header(), dshow_add_device(), dump_stream_format(), dv_init_mux(), dvdvideo_video_stream_add(), dxa_read_header(), fbdev_read_header(), fbdev_write_packet(), ff_dovi_configure_ext(), ff_flac_parse_picture(), ff_framehash_write_header(), ff_get_bmp_header(), ff_h264_parse_framesize(), ff_hls_write_stream_info(), ff_img_read_header(), ff_img_read_packet(), ff_put_bmp_header(), ff_reshuffle_raw_rgb(), ff_rm_read_mdpr_codecdata(), ff_rtp_send_jpeg(), ff_rtp_send_raw_rfc4175(), ff_sauce_read(), film_read_header(), find_compressor(), flac_write_picture(), flush(), flv_write_packet(), frm_read_header(), frm_read_packet(), gdv_read_header(), get_vp9_level(), gif_read_header(), grab_read_header(), gxf_find_lines_index(), gxf_write_header(), gxf_write_mpeg_auxiliary(), handle_file(), hnm_read_header(), ico_check_attributes(), ico_write_packet(), idcin_read_header(), iff_read_header(), ifv_read_header(), init_fps(), init_muxer(), init_stream(), init_video_stream(), ipmovie_read_header(), ipu_read_header(), ist_add(), ist_filter_add(), ivf_write_header(), kmsgrab_read_header(), lavfi_read_header(), LLVMFuzzerTestOneInput(), lvf_read_header(), map_auto_video(), match_stream_specifier(), mkv_write_track_video(), modplug_read_header(), mods_read_header(), moflex_read_sync(), mov_create_dvd_sub_decoder_specific_info(), mov_get_dv_codec_tag(), mov_get_h264_codec_tag(), mov_get_mpeg2_xdcam_codec_tag(), mov_init(), mov_parse_heif_items(), mov_parse_lcevc_streams(), mov_parse_stsd_subtitle(), mov_parse_stsd_video(), mov_read_clap(), mov_read_header(), mov_read_targa_y216(), mov_read_trak(), mov_rewrite_dvd_sub_extradata(), mov_write_avid_tag(), mov_write_isml_manifest(), mov_write_tapt_tag(), mov_write_tkhd_tag(), mov_write_uuidprof_tag(), msp_read_header(), msp_read_packet(), mtv_read_header(), mxf_init(), mxf_parse_dnxhd_frame(), mxf_parse_ffv1_frame(), mxf_parse_h264_frame(), mxf_parse_mpeg2_frame(), mxf_parse_structural_metadata(), mxf_write_cdci_common(), mxf_write_jpeg2000_subdesc(), nsv_parse_NSVs_header(), nuv_header(), ogg_build_vp8_headers(), ogm_dshow_header(), ogm_header(), opengl_compute_display_area(), opengl_write_header(), parse_chunk(), parse_video_info(), parse_video_var(), parse_vtrk(), pdv_read_header(), pmp_header(), print_pkt_side_data(), put_videoinfoheader2(), r3d_read_red1(), rawvideo_read_header(), read_frame(), read_header(), read_header_vs(), read_packet(), read_packet_vs(), read_seek(), read_thread(), rfc4175_parse_sdp_line(), rl2_read_header(), roq_read_packet(), rpl_read_header(), rv10_write_header(), scan_file(), sdl2_write_header(), sdl2_write_packet(), sdr2_read_header(), seq_read_header(), ser_read_header(), show_stream(), siff_parse_vbv1(), smacker_read_header(), smjpeg_write_header(), smush_read_header(), str_read_packet(), stream_specifier_match(), swf_write_header(), swf_write_video(), theora_header(), thp_read_header(), tmv_read_header(), track_header(), v4l2_read_header(), vc1t_read_header(), vc1test_write_header(), vfw_read_header(), vivo_read_header(), vp8_header(), wc3_read_header(), write_adaptation_set(), write_header(), write_image_header(), write_metadata(), write_packet(), write_representation(), write_streamheader(), write_trailer(), wsvqa_read_header(), xiph_parse_fmtp_pair(), xmv_process_packet_header(), xv_write_header(), xv_write_packet(), yop_read_header(), yuv4_read_header(), yuv4_write_header(), and yuv4_write_packet().

◆ sample_aspect_ratio

AVRational AVCodecParameters::sample_aspect_ratio

Video only.

The aspect ratio (width / height) which a single pixel should have when displayed.

When the aspect ratio is unknown / undefined, the numerator should be set to 0 (the denominator may have any value).

Definition at line 144 of file codec_par.h.

Referenced by asf_write_header1(), av_guess_sample_aspect_ratio(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), codec_parameters_reset(), configure_video_filters(), dec_open(), dump_stream_format(), gif_read_header(), has_codec_parameters(), init_muxer(), ist_add(), lavfi_read_header(), mov_write_avid_tag(), mov_write_pasp_tag(), mov_write_tapt_tag(), mov_write_video_tag(), mxf_init(), mxf_parse_ffv1_frame(), ogg_build_vp8_headers(), streamcopy_init(), and xv_write_header().

◆ framerate

AVRational AVCodecParameters::framerate

Video only.

Number of frames per second, for streams with constant frame durations. Should be set to { 0, 1 } when some frames have differing durations or if the value is not known.

Note
This field correponds to values that are stored in codec-level headers and is typically overridden by container/transport-layer timestamps, when available. It should thus be used only as a last resort, when no higher-level timing information is available.

Definition at line 156 of file codec_par.h.

Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), avformat_find_stream_info(), codec_parameters_reset(), ff_dovi_configure_ext(), and ist_dts_update().

◆ field_order

enum AVFieldOrder AVCodecParameters::field_order

◆ color_range

enum AVColorRange AVCodecParameters::color_range

◆ color_primaries

enum AVColorPrimaries AVCodecParameters::color_primaries

◆ color_trc

enum AVColorTransferCharacteristic AVCodecParameters::color_trc

◆ color_space

enum AVColorSpace AVCodecParameters::color_space

◆ chroma_location

enum AVChromaLocation AVCodecParameters::chroma_location

◆ video_delay

int AVCodecParameters::video_delay

◆ ch_layout

AVChannelLayout AVCodecParameters::ch_layout

Audio only.

The channel layout and number of channels.

Definition at line 180 of file codec_par.h.

Referenced by aa_read_header(), aax_read_header(), aax_read_packet(), ace_read_header(), acm_read_header(), adp_read_header(), ads_read_header(), adx_read_header(), adx_read_packet(), aea_read_header(), aea_write_header(), aea_write_trailer(), afc_read_header(), aiff_write_header(), aix_read_header(), ambisonics_config(), amf_parse_object(), amr_handle_packet(), amv_write_alist(), apac_read_header(), apc_read_header(), ape_read_header(), aptx_read_header_common(), ast_read_header(), ast_write_header(), ast_write_packet(), at_write_header(), audio_read_header(), audio_write_header(), av_find_best_stream(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avisynth_create_stream_audio(), avr_read_header(), bfi_read_header(), binka_read_header(), bmv_read_header(), bonk_read_header(), caf_write_header(), cdata_read_header(), cdxl_read_packet(), celt_header(), cin_read_header(), codec2_read_header_common(), codec_parameters_reset(), create_audio_stream(), create_master_playlist(), create_new_audio_stream(), daud_header(), daud_init(), dcstr_read_header(), decode_stream_header(), derf_read_header(), dfpwm_read_header(), dhav_read_packet(), dsf_read_header(), dsf_read_packet(), dshow_add_device(), dss_read_header(), dtshd_read_header(), dump_stream_group(), dv_init_mux(), dvdvideo_audio_stream_add(), ea_read_header(), epaf_read_header(), ff_alsa_open(), ff_argo_asf_fill_stream(), ff_framehash_write_header(), ff_get_wav_header(), ff_hls_senc_parse_audio_setup_info(), ff_iamf_add_audio_element(), ff_mov_get_channel_layout_tag(), ff_mov_read_chan(), ff_mov_read_chnl(), ff_mov_read_stsd_entries(), ff_mp4_read_dec_config_descr(), ff_pcm_default_packet_size(), ff_pcm_read_seek(), ff_put_wav_header(), ff_rtp_get_codec_info(), ff_rtp_get_payload_type(), ff_voc_get_packet(), film_read_header(), film_write_header(), flac_init(), flac_read_header(), flv_read_packet(), flv_write_codec_header(), fsb_read_header(), fsb_read_packet(), fwse_read_header(), g722_read_header(), g723_1_init(), g726_read_header(), g729_read_header(), gdv_read_header(), genh_read_header(), genh_read_packet(), get_aiff_header(), get_audio_flags(), get_codec_data(), get_m2ts_stream_type(), get_sindex(), gsm_read_header(), guess_channel_layout(), guess_input_channel_layout(), gxf_write_header(), handle_file(), hca_read_header(), hcom_read_header(), idcin_read_header(), iff_read_header(), ifv_read_header(), ilbc_read_header(), imf_read_packet(), init(), init_audio(), init_fps(), init_muxer(), ircam_read_header(), ircam_write_header(), iss_read_header(), ist_add(), laf_read_header(), lavfi_read_header(), LLVMFuzzerTestOneInput(), lvf_read_header(), lxf_read_header(), map_auto_audio(), match_stream_specifier(), mkv_write_track(), mmf_read_header(), modplug_read_header(), moflex_read_sync(), mov_finalize_stsd_codec(), mov_init(), mov_parse_stsd_audio(), mov_read_dac3(), mov_read_ddts(), mov_read_dec3(), mov_read_dmlp(), mov_read_SA3D(), mov_write_audio_tag(), mov_write_chan_tag(), mov_write_chnl_tag(), mov_write_header(), mov_write_isml_manifest(), mov_write_SA3D_tag(), mov_write_uuidprof_tag(), movie_common_init(), mp3_write_xing(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpegps_read_packet(), mpegts_write_pmt(), msf_read_header(), msf_read_packet(), mtaf_read_header(), musx_read_header(), mv_read_header(), mxf_get_d10_aes3_packet(), mxf_handle_missing_index_segment(), mxf_init(), mxf_parse_structural_metadata(), mxf_set_audio_pts(), mxf_write_d10_audio_packet(), mxf_write_generic_sound_common(), mxg_read_header(), nist_read_header(), nsp_read_header(), nsv_read_chunk(), ogm_dshow_header(), ogm_header(), oma_read_header(), oma_write_header(), opus_header(), opus_write_extradata(), osq_read_header(), parse_chunk(), parse_dsd_prop(), parse_mca_labels(), parse_mpeg1waveformatex(), parse_strk(), parse_waveformatex(), pcm_read_header(), pmp_header(), pp_bnk_read_header(), pulse_read_header(), pulse_write_header(), pulse_write_packet(), pvf_read_header(), qcp_read_header(), qoa_read_header(), r3d_read_reda(), read_desc_chunk(), read_frame_internal(), read_header(), read_header_gme(), read_header_openmpt(), read_index(), read_kuki_chunk(), read_packet(), read_seek(), redspark_read_header(), redspark_read_packet(), rka_read_header(), rl2_read_header(), rm_read_audio_stream_info(), roq_read_packet(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rso_write_header(), rtp_write_header(), rtp_write_packet(), rv10_write_header(), samples_per_packet(), sbg_read_header(), scalable_channel_layout_config(), scd_read_packet(), scd_read_track(), sdns_read_header(), sdr2_read_header(), sds_read_header(), sdx_read_header(), seq_read_header(), set_channels(), sga_audio_packet(), show_stream(), simbiosis_imx_read_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), smush_read_header(), sol_read_header(), sox_read_header(), sox_write_header(), speex_header(), str_read_packet(), stream_cycle_channel(), stream_specifier_match(), svag_read_header(), svs_read_header(), swf_write_header(), tak_read_header(), thp_read_header(), threedostr_read_header(), threedostr_read_packet(), tmv_read_header(), track_header(), tta_read_header(), tta_write_header(), update_extradata(), vag_read_header(), vid_read_packet(), decklink_input_callback::VideoInputFrameArrived(), viv_read_packet(), vivo_read_header(), vmd_read_header(), voc_write_packet(), vorbis_header(), vpk_read_header(), vpk_read_packet(), vqf_read_header(), wady_read_header(), wavarc_read_header(), wc3_read_header(), write_metadata(), write_streamheader(), wsaud_read_header(), wsaud_read_packet(), wsaud_write_header(), wsd_read_header(), wsvqa_read_packet(), wv_read_header(), wve_read_header(), xa_read_header(), xa_read_packet(), xmd_read_header(), xmv_process_packet_header(), xvag_read_header(), xwma_read_header(), and yop_read_header().

◆ sample_rate

int AVCodecParameters::sample_rate

Audio only.

The number of audio samples per second.

Definition at line 184 of file codec_par.h.

Referenced by aa_read_header(), aax_read_header(), ace_read_header(), acm_read_header(), adp_read_header(), ads_read_header(), adx_read_header(), aea_read_header(), aea_write_header(), afc_read_header(), aiff_read_header(), aiff_write_header(), aix_read_header(), amf_parse_object(), amv_init(), amv_write_alist(), apac_read_header(), apc_read_header(), ape_read_header(), aptx_read_header_common(), argo_brp_read_header(), ast_read_header(), ast_write_header(), at_write_header(), audio_element_obu(), audio_read_header(), audio_write_header(), av_find_best_stream(), av_find_default_stream_index(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avisynth_create_stream_audio(), avr_read_header(), bfi_read_header(), binka_read_header(), bmv_read_header(), bonk_read_header(), caf_write_header(), cdata_read_header(), cdxl_read_packet(), celt_header(), cin_read_header(), codec2_read_header_common(), compute_frame_duration(), create_audio_stream(), create_new_audio_stream(), daud_header(), daud_init(), dcstr_read_header(), decode_stream_header(), derf_read_header(), dfpwm_read_header(), dhav_read_packet(), dsf_read_header(), dshow_add_device(), dss_723_1_read_packet(), dss_read_header(), dtshd_read_header(), dv_assemble_frame(), dv_init_mux(), dvdvideo_audio_stream_add(), dxa_read_header(), ea_read_header(), enable_pcr_generation_for_stream(), epaf_read_header(), ff_argo_asf_fill_stream(), ff_framehash_write_header(), ff_get_wav_header(), ff_hls_senc_parse_audio_setup_info(), ff_mov_read_stsd_entries(), ff_mp4_read_dec_config_descr(), ff_parse_specific_params(), ff_pcm_default_packet_size(), ff_pcm_read_seek(), ff_put_wav_header(), ff_rtp_get_codec_info(), ff_rtp_get_payload_type(), ff_rtp_parse_open(), ff_voc_get_packet(), fill_codec_config(), film_read_header(), film_write_header(), find_expected_header(), flv_read_packet(), flv_same_audio_codec(), flv_set_audio_codec(), flv_write_codec_header(), fsb_read_header(), fwse_read_header(), g722_read_header(), g723_1_init(), g726_read_header(), g729_read_header(), gdv_read_header(), genh_read_header(), get_aiff_header(), get_audio_flags(), get_codec_data(), get_dvb_stream_type(), get_sindex(), gsm_read_header(), guess_pkt_duration(), gxf_write_header(), handle_file(), hca_read_header(), hcom_read_header(), iamf_read_header(), idcin_read_header(), iff_read_header(), ifv_read_header(), ilbc_read_header(), imf_read_packet(), init(), init_audio(), init_fps(), init_muxer(), init_pts(), ircam_read_header(), ircam_write_header(), iss_read_header(), ist_dts_update(), laf_read_header(), laf_read_packet(), lavfi_read_header(), LLVMFuzzerTestOneInput(), lvf_read_header(), lxf_read_header(), match_stream_specifier(), mkv_write_block(), mkv_write_track(), mmf_read_header(), modplug_read_header(), moflex_read_sync(), mov_finalize_stsd_codec(), mov_init(), mov_parse_stsd_audio(), mov_read_ddts(), mov_read_dmlp(), mov_read_trak(), mov_write_audio_tag(), mov_write_esds_tag(), mov_write_isml_manifest(), mov_write_uuidprof_tag(), mp3_write_xing(), mpc8_read_header(), mpc_read_header(), mpeg_mux_init(), mpegps_read_packet(), mpegts_init(), mpegts_write_packet_internal(), msf_read_header(), mtaf_read_header(), musx_read_header(), mv_read_header(), mxf_init(), mxf_parse_structural_metadata(), mxf_write_generic_desc(), mxf_write_generic_sound_common(), mxf_write_wav_common(), mxg_read_header(), nist_read_header(), nsp_read_header(), nsv_parse_NSVs_header(), nsv_read_chunk(), nut_write_header(), ogg_init(), ogm_dshow_header(), ogm_header(), oma_read_header(), oma_write_header(), opus_header(), osq_read_header(), parse_audio_var(), parse_chunk(), parse_dsd_prop(), parse_strk(), pcm_read_header(), pmp_header(), pp_bnk_read_header(), pulse_read_header(), pulse_write_header(), pulse_write_packet(), pvf_read_header(), qcp_read_header(), qoa_read_header(), r3d_read_reda(), read_desc_chunk(), read_frame_internal(), read_header(), read_header_gme(), read_header_openmpt(), redspark_read_header(), rka_read_header(), rl2_read_header(), rm_read_audio_stream_info(), rm_write_header(), roq_read_packet(), rsd_read_header(), rso_read_header(), rso_write_header(), rtp_write_header(), rv10_write_header(), samples_per_packet(), sbg_read_header(), scd_read_track(), sdns_read_header(), sdr2_read_header(), sds_read_header(), sdx_read_header(), seq_read_header(), set_codec_from_probe_data(), sga_audio_packet(), show_stream(), simbiosis_imx_read_header(), smacker_read_header(), smjpeg_read_header(), smjpeg_write_header(), smush_read_header(), sol_read_header(), sox_read_header(), sox_write_header(), speex_header(), str_read_packet(), stream_cycle_channel(), stream_specifier_match(), svag_read_header(), svs_read_header(), swf_write_header(), tak_read_header(), thp_read_header(), threedostr_read_header(), tmv_read_header(), track_header(), ts_to_samples(), tta_init(), tta_read_header(), tta_write_header(), update_initial_timestamps(), vag_read_header(), vid_read_packet(), viv_read_packet(), viv_read_seek(), vivo_read_header(), vmd_read_header(), voc_write_packet(), vorbis_header(), vpk_read_header(), vqf_read_header(), wady_read_header(), wavarc_read_header(), wc3_read_header(), write_adaptation_set(), write_metadata(), write_representation(), write_streamheader(), wsaud_read_header(), wsaud_write_header(), wsd_read_header(), wsvqa_read_packet(), wv_read_header(), wve_read_header(), xa_read_header(), xmd_read_header(), xmv_process_packet_header(), xvag_read_header(), xwma_read_header(), and yop_read_header().

◆ block_align

int AVCodecParameters::block_align

Audio only.

The number of bytes per coded audio frame, required by some formats.

Corresponds to nBlockAlign in WAVEFORMATEX.

Definition at line 191 of file codec_par.h.

Referenced by aa_read_header(), ace_read_header(), ace_read_packet(), ads_read_header(), ads_read_packet(), aea_read_header(), aiff_read_header(), aiff_read_packet(), aiff_write_header(), aiff_write_trailer(), amv_init(), apc_read_header(), aptx_hd_read_header(), aptx_read_header(), asf_write_header1(), ast_write_trailer(), av_get_audio_frame_duration2(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), avi_read_header(), avr_read_header(), caf_write_header(), caf_write_packet(), caf_write_trailer(), codec2_read_header_common(), codec2_read_packet(), daud_header(), dcstr_read_header(), dcstr_read_packet(), derf_read_header(), dfpwm_read_header(), dsf_read_header(), dsf_read_packet(), dxa_read_header(), ea_read_header(), epaf_read_header(), ff_argo_asf_fill_stream(), ff_get_wav_header(), ff_parse_specific_params(), ff_pcm_default_packet_size(), ff_pcm_read_seek(), ff_put_wav_header(), ff_rm_parse_packet(), ff_rm_retrieve_cache(), film_read_header(), fsb_read_header(), fsb_read_packet(), fwse_read_header(), g729_read_header(), g729_read_packet(), genh_read_header(), genh_read_packet(), get_aiff_header(), get_sindex(), handle_file(), hca_read_header(), hca_read_packet(), hcom_read_header(), idcin_read_header(), iff_read_header(), iff_read_packet(), ilbc_parse_fmtp(), ilbc_parse_sdp_line(), ilbc_read_header(), ilbc_read_packet(), ilbc_write_header(), init_audio(), init_muxer(), ircam_read_header(), ism_write_header(), iss_read_header(), LLVMFuzzerTestOneInput(), mov_finalize_stsd_codec(), mov_init(), mov_write_isml_manifest(), msf_read_header(), msf_read_packet(), mtaf_read_header(), mtaf_read_packet(), musx_read_header(), musx_read_packet(), mxf_write_d10_audio_packet(), mxf_write_wav_common(), mxg_read_header(), nist_read_header(), nsp_read_header(), oma_read_header(), oma_write_header(), parse_strk(), pcm_read_header(), pp_bnk_read_header(), pvf_read_header(), read_desc_chunk(), read_header(), read_packet(), rl2_read_header(), rm_read_audio_stream_info(), roq_read_packet(), rsd_read_header(), rsd_read_packet(), rso_read_header(), rtp_send_ilbc(), rtp_write_header(), samples_per_packet(), scd_read_packet(), scd_read_track(), sdns_read_header(), sdx_read_header(), seq_read_header(), sox_read_header(), str_read_packet(), streamcopy_init(), svag_read_header(), svag_read_packet(), svs_read_header(), threedostr_read_header(), vag_read_header(), vag_read_packet(), vivo_read_header(), vmd_read_header(), vpk_read_header(), vpk_read_packet(), vpk_read_seek(), wady_read_header(), wc3_read_header(), write_skip_frames(), wve_read_header(), xmd_read_header(), xmv_process_packet_header(), xvag_read_header(), xvag_read_packet(), xwma_read_header(), and xwma_read_packet().

◆ frame_size

int AVCodecParameters::frame_size

◆ initial_padding

int AVCodecParameters::initial_padding

Audio only.

The amount of padding (in samples) inserted by the encoder at the beginning of the audio. I.e. this number of leading decoded samples must be discarded by the caller to get the original audio without leading padding.

Definition at line 203 of file codec_par.h.

Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), dtshd_read_header(), mkv_write_track(), mov_read_dops(), mpegts_init(), ogg_write_packet_internal(), opus_header(), and show_stream().

◆ trailing_padding

int AVCodecParameters::trailing_padding

Audio only.

The amount of padding (in samples) appended by the encoder to the end of the audio. I.e. this number of decoded samples must be discarded by the caller from the end of the stream to get the original audio without any trailing padding.

Definition at line 210 of file codec_par.h.

Referenced by avcodec_parameters_from_context(), avcodec_parameters_to_context(), and dtshd_read_header().

◆ seek_preroll

int AVCodecParameters::seek_preroll

Audio only.

Number of samples to skip after a discontinuity.

Definition at line 214 of file codec_par.h.

Referenced by audio_element_obu(), avcodec_parameters_from_context(), avcodec_parameters_to_context(), mov_read_dops(), and opus_header().


The documentation for this struct was generated from the following file: