27 #define OFFSET(x) offsetof(AVDCT,x)
28 #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C
30 #define V AV_OPT_FLAG_VIDEO_PARAM
31 #define A AV_OPT_FLAG_AUDIO_PARAM
32 #define E AV_OPT_FLAG_ENCODING_PARAM
33 #define D AV_OPT_FLAG_DECODING_PARAM
61 #if FF_API_UNUSED_MEMBERS
108 #define COPY(src, name) memcpy(&dsp->name, &src.name, sizeof(dsp->name))
115 COPY(idsp, idct_permutation);
127 #if CONFIG_PIXBLOCKDSP
131 COPY(pdsp, get_pixels);
#define FF_IDCT_SIMPLEARMV5TE
static void idct(int16_t block[64])
int dct_algo
DCT algorithm, see FF_DCT_* below.
#define FF_IDCT_SIMPLEALPHA
#define LIBAVUTIL_VERSION_INT
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
int bits_per_raw_sample
Bits per sample/pixel of internal libavcodec pixel/sample format.
av_cold void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
static const AVOption avdct_options[]
#define FF_IDCT_SIMPLEARM
#define FF_IDCT_SIMPLEAUTO
int avcodec_close(AVCodecContext *avctx)
Close a given AVCodecContext and free all the data associated with it (but not the AVCodecContext its...
static const AVClass avdct_class
int avcodec_dct_init(AVDCT *dsp)
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
AVDCT * avcodec_dct_alloc(void)
Allocates a AVDCT context.
AVCodecContext * avcodec_alloc_context3(const AVCodec *codec)
Allocate an AVCodecContext and set its fields to default values.
#define FF_IDCT_SIMPLEARMV6
int idct_algo
IDCT algorithm, see FF_IDCT_* below.
int dct_algo
DCT algorithm.
const AVClass * avcodec_dct_get_class(void)
Libavcodec external API header.
#define FF_IDCT_SIMPLENEON
main external API structure.
Describe the class of an AVClass context structure.
#define FF_IDCT_SIMPLEMMX
av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
int idct_algo
IDCT algorithm.
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...