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.


#define OFFSET(x)   offsetof(AVDCT,x)
#define DEFAULT   0
#define COPY(src, name)   memcpy(&dsp->name, &src.name, sizeof(dsp->name))


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


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().


Definition at line 31 of file avdct.c.

Definition at line 33 of file avdct.c.

#define COPY (   src,
)    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[]

Definition at line 35 of file avdct.c.

const AVClass avdct_class
Initial value:
= {
.class_name = "AVDCT",
.option = avdct_options,
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().