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
static void FUNCC() get_pixels(int16_t *av_restrict block, const uint8_t *_pixels, ptrdiff_t line_size)
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.
#define FF_IDCT_SIMPLEARMV5TE
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...
#define FF_IDCT_SIMPLEARM
static const AVOption avdct_options[]
#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...
#define FF_IDCT_SIMPLEALPHA
static const AVClass avdct_class
int avcodec_dct_init(AVDCT *dsp)
Libavcodec external API header.
#define FF_IDCT_SIMPLENEON
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.
int idct_algo
IDCT algorithm, see FF_IDCT_* below.
int dct_algo
DCT algorithm.
const AVClass * avcodec_dct_get_class(void)
main external API structure.
Describe the class of an AVClass context structure.
av_cold void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx)
#define FF_IDCT_SIMPLEARMV6
av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
int idct_algo
IDCT algorithm.
#define FF_IDCT_SIMPLEMMX
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...