FFmpeg
|
Go to the source code of this file.
Functions | |
static void | codec_parameters_reset (AVCodecParameters *par) |
AVCodecParameters * | avcodec_parameters_alloc (void) |
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0). More... | |
void | avcodec_parameters_free (AVCodecParameters **ppar) |
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer. More... | |
int | avcodec_parameters_copy (AVCodecParameters *dst, const AVCodecParameters *src) |
Copy the contents of src to dst. More... | |
int | avcodec_parameters_from_context (AVCodecParameters *par, const AVCodecContext *codec) |
Fill the parameters struct based on the values from the supplied codec context. More... | |
int | avcodec_parameters_to_context (AVCodecContext *codec, const AVCodecParameters *par) |
Fill the codec context based on the values from the supplied codec parameters. More... | |
AVCodecParameters functions for libavcodec.
Definition in file codec_par.c.
|
static |
Definition at line 31 of file codec_par.c.
Referenced by avcodec_parameters_alloc(), avcodec_parameters_copy(), avcodec_parameters_free(), and avcodec_parameters_from_context().
AVCodecParameters* avcodec_parameters_alloc | ( | void | ) |
Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0).
The returned struct must be freed with avcodec_parameters_free().
Definition at line 51 of file codec_par.c.
Referenced by av_bsf_alloc(), avformat_new_stream(), ff_mov_init_hinting(), flv_read_packet(), mov_create_chapter_track(), mov_create_timecode_track(), and new_output_stream().
void avcodec_parameters_free | ( | AVCodecParameters ** | ppar | ) |
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer.
Definition at line 61 of file codec_par.c.
Referenced by av_bsf_free(), ff_mov_close_hinting(), ff_mov_init_hinting(), ffmpeg_cleanup(), flv_read_packet(), free_stream(), and mov_free().
int avcodec_parameters_copy | ( | AVCodecParameters * | dst, |
const AVCodecParameters * | src | ||
) |
Copy the contents of src to dst.
Any allocated fields in dst are freed and replaced with newly allocated duplicates of the corresponding fields in src.
Definition at line 72 of file codec_par.c.
Referenced by asfrtp_parse_sdp_line(), av_bsf_init(), bsf_list_init(), copy_stream_props(), dash_init(), detect_stream_specific(), extract_extradata_init(), ff_rtp_chain_mux_open(), ff_stream_add_bitstream_filter(), ff_stream_encode_params_copy(), hds_write_header(), hls_mux_init(), init_output_bsfs(), init_output_stream_streamcopy(), ism_write_header(), main(), mpegts_init(), open_demux_for_component(), open_output_file(), open_slave(), read_gab2_sub(), read_header(), rtp_mpegts_write_header(), sap_fetch_packet(), sap_read_header(), segment_mux_init(), set_stream_info_from_input_stream(), webm_chunk_init(), and write_muxed_file().