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
99 #define COPY(src, name) memcpy(&dsp->name, &src.name, sizeof(dsp->name))
106 COPY(idsp, idct_permutation);
118 #if CONFIG_PIXBLOCKDSP
122 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 LIBAVUTIL_VERSION_INT
void av_opt_set_defaults(void *s)
Set the values of all AVOption fields to their default values.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
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
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.
void avcodec_free_context(AVCodecContext **avctx)
Free the codec context and everything associated with it and write NULL to the provided pointer...
#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.