FFmpeg
|
Options definition for AVCodecContext. More...
#include "avcodec.h"
#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
#include "libavutil/opt.h"
#include <float.h>
#include <string.h>
#include "options_table.h"
Go to the source code of this file.
Macros | |
#define | alloc_and_copy_or_fail(obj, size, pad) |
#define | FOFFSET(x) offsetof(AVFrame,x) |
#define | SROFFSET(x) offsetof(AVSubtitleRect,x) |
Functions | |
static const char * | context_to_name (void *ptr) |
static void * | codec_child_next (void *obj, void *prev) |
static const AVClass * | codec_child_class_next (const AVClass *prev) |
static AVClassCategory | get_category (void *ptr) |
int | avcodec_get_context_defaults3 (AVCodecContext *s, const AVCodec *codec) |
Set the fields of the given AVCodecContext to default values corresponding to the given codec (defaults may be codec-dependent). | |
AVCodecContext * | avcodec_alloc_context3 (const AVCodec *codec) |
Allocate an AVCodecContext and set its fields to default values. | |
void | avcodec_free_context (AVCodecContext **pavctx) |
Free the codec context and everything associated with it and write NULL to the provided pointer. | |
int | avcodec_copy_context (AVCodecContext *dest, const AVCodecContext *src) |
Copy the settings of the source AVCodecContext into the destination AVCodecContext. | |
const AVClass * | avcodec_get_class (void) |
Get the AVClass for AVCodecContext. | |
const AVClass * | avcodec_get_frame_class (void) |
Get the AVClass for AVFrame. | |
const AVClass * | avcodec_get_subtitle_rect_class (void) |
Get the AVClass for AVSubtitleRect. | |
Variables | |
static const AVClass | av_codec_context_class |
static const AVOption | frame_options [] |
static const AVClass | av_frame_class |
static const AVOption | subtitle_rect_options [] |
static const AVClass | av_subtitle_rect_class |
Options definition for AVCodecContext.
Definition in file options.c.
#define alloc_and_copy_or_fail | ( | obj, | |
size, | |||
pad | |||
) |
#define SROFFSET | ( | x | ) | offsetof(AVSubtitleRect,x) |
|
static |
|
static |
Definition at line 78 of file options.c.
Referenced by avcodec_get_class(), and avcodec_get_context_defaults3().
|
static |
|
static |
Definition at line 276 of file options.c.
Referenced by avcodec_get_frame_class().
|
static |
Definition at line 301 of file options.c.
Referenced by avcodec_get_subtitle_rect_class().