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);
123 COPY(pdsp, get_pixels_unaligned);
#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.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample they are references to shared objects When the negotiation mechanism computes the intersection of the formats supported at each end of a all references to both lists are replaced with a reference to the intersection And when a single format is eventually chosen for a link amongst the remaining all references to the list are updated That means that if a filter requires that its input and output have the same format amongst a supported all it has to do is use a reference to the same list of formats query_formats can leave some formats unset and return AVERROR(EAGAIN) to cause the negotiation mechanism toagain later.That can be used by filters with complex requirements to use the format negotiated on one link to set the formats supported on another.Frame references ownership and permissions