diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 8643e9ac9a..138e6f42c8 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -240,6 +240,10 @@ typedef struct DSPContext { /** * 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
* an example to avoid confusion: * - (->decode coeffs -> zigzag reorder -> dequant -> reference idct ->...) * - (x -> referece dct -> reference idct -> x)