FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
avdct.c File Reference
#include "avcodec.h"
#include "idctdsp.h"
#include "fdctdsp.h"
#include "pixblockdsp.h"
#include "avdct.h"

Go to the source code of this file.

Macros

#define OFFSET(x)   offsetof(AVDCT,x)
 
#define DEFAULT   0
 
#define V   AV_OPT_FLAG_VIDEO_PARAM
 
#define A   AV_OPT_FLAG_AUDIO_PARAM
 
#define E   AV_OPT_FLAG_ENCODING_PARAM
 
#define D   AV_OPT_FLAG_DECODING_PARAM
 
#define COPY(src, name)   memcpy(&dsp->name, &src.name, sizeof(dsp->name))
 

Functions

const AVClassavcodec_dct_get_class (void)
 
AVDCTavcodec_dct_alloc (void)
 Allocates a AVDCT context. More...
 
int avcodec_dct_init (AVDCT *dsp)
 

Variables

static const AVOption avdct_options []
 
static const AVClass avdct_class
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(AVDCT,x)

Definition at line 27 of file avdct.c.

#define DEFAULT   0

Definition at line 28 of file avdct.c.

Referenced by show_stream().

#define V   AV_OPT_FLAG_VIDEO_PARAM
#define A   AV_OPT_FLAG_AUDIO_PARAM

Definition at line 31 of file avdct.c.

Definition at line 33 of file avdct.c.

#define COPY (   src,
  name 
)    memcpy(&dsp->name, &src.name, sizeof(dsp->name))

Function Documentation

const AVClass* avcodec_dct_get_class ( void  )

Definition at line 79 of file avdct.c.

Referenced by child_class_next().

AVDCT* avcodec_dct_alloc ( void  )

Allocates a AVDCT context.

This needs to be initialized with avcodec_dct_init() after optionally configuring it with AVOptions.

To free it use av_free()

Definition at line 84 of file avdct.c.

Referenced by init_dict().

int avcodec_dct_init ( AVDCT dsp)

Definition at line 97 of file avdct.c.

Referenced by config_input().

Variable Documentation

const AVOption avdct_options[]
static

Definition at line 35 of file avdct.c.

const AVClass avdct_class
static
Initial value:
= {
.class_name = "AVDCT",
.option = avdct_options,
}
#define LIBAVUTIL_VERSION_INT
Definition: version.h:70
static const AVOption avdct_options[]
Definition: avdct.c:35

Definition at line 73 of file avdct.c.

Referenced by avcodec_dct_alloc(), and avcodec_dct_get_class().