FFmpeg
|
#include <string.h>
#include "libavutil/mem.h"
#include "avcodec.h"
#include "codec_par.h"
#include "packet.h"
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... | |
static int | codec_parameters_copy_side_data (AVPacketSideData **pdst, int *pnb_dst, const AVPacketSideData *src, int nb_src) |
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) |
AVCodecParameters functions for libavcodec.
Definition in file codec_par.c.
|
static |
Definition at line 32 of file codec_par.c.
Referenced by avcodec_parameters_alloc(), avcodec_parameters_copy(), avcodec_parameters_free(), and avcodec_parameters_from_context().
|
static |
Definition at line 77 of file codec_par.c.
Referenced by avcodec_parameters_copy(), avcodec_parameters_from_context(), and avcodec_parameters_to_context().
int avcodec_parameters_to_context | ( | AVCodecContext * | codec, |
const AVCodecParameters * | par | ||
) |
Definition at line 203 of file codec_par.c.