AVDCT

AVDCT context. @note function pointers can be NULL if the specific features have been disabled at build time.

Members

Variables

av_class
const(AVClass)* av_class;
Undocumented in source.
bits_per_sample
int bits_per_sample;
Undocumented in source.
dct_algo
int dct_algo;

DCT algorithm. must use AVOptions to set this field.

fdct
void function(short* block) fdct;
Undocumented in source.
get_pixels
void function(short* block, const(ubyte)* pixels, ptrdiff_t line_size) get_pixels;
Undocumented in source.
idct
void function(short* block) idct;
Undocumented in source.
idct_algo
int idct_algo;

IDCT algorithm. must use AVOptions to set this field.

idct_permutation
ubyte[64] idct_permutation;

IDCT input permutation. Several optimized IDCTs need a permutated input (relative to the normal order of the reference IDCT). This permutation must be performed before the idct_put/add. Note, normally this can be merged with the zigzag/alternate scan<br> An example to avoid confusion: - (->decode coeffs -> zigzag reorder -> dequant -> reference IDCT -> ...) - (x -> reference DCT -> reference IDCT -> x) - (x -> reference DCT -> simple_mmx_perm = idct_permutation -> simple_idct_mmx -> x) - (-> decode coeffs -> zigzag reorder -> simple_mmx_perm -> dequant -> simple_idct_mmx -> ...)

Meta