|
FFmpeg
|
Data Structures | |
| struct | AVCodecParameters |
| This struct describes the properties of an encoded stream. More... | |
| AVCodecParameters * | avcodec_parameters_alloc (void) |
| Allocate a new AVCodecParameters and set its fields to default values (unknown/invalid/0). | |
| void | avcodec_parameters_free (AVCodecParameters **par) |
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer. | |
| int | avcodec_parameters_copy (AVCodecParameters *dst, const AVCodecParameters *src) |
Copy the contents of src to dst. | |
| int | av_get_audio_frame_duration2 (AVCodecParameters *par, int frame_bytes) |
| This function is the same as av_get_audio_frame_duration(), except it works with AVCodecParameters instead of an AVCodecContext. | |
|
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 57 of file codec_par.c.
|
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied pointer.
Definition at line 67 of file codec_par.c.
|
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 107 of file codec_par.c.
|
This function is the same as av_get_audio_frame_duration(), except it works with AVCodecParameters instead of an AVCodecContext.