diff options
author | Lynne <dev@lynne.ee> | 2022-11-19 14:20:23 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-11-24 15:58:35 +0100 |
commit | 504b7bec1a7a46ffbfd0c605fdd984df36dc9871 (patch) | |
tree | 17a7e66a42c17f1504e5beaaf20a02a08b4c754a /libavutil/tx.h | |
parent | 93c30bd6f0846898bb3e7172bb5de65f2d0f33ce (diff) | |
download | ffmpeg-504b7bec1a7a46ffbfd0c605fdd984df36dc9871.tar.gz |
lavu/tx: add DCT-II implementation
Diffstat (limited to 'libavutil/tx.h')
-rw-r--r-- | libavutil/tx.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavutil/tx.h b/libavutil/tx.h index 758f634b73..064edbc097 100644 --- a/libavutil/tx.h +++ b/libavutil/tx.h @@ -91,6 +91,20 @@ enum AVTXType { AV_TX_DOUBLE_RDFT = 7, AV_TX_INT32_RDFT = 8, + /** + * Real to real (DCT) transforms. + * + * The forward transform is a DCT-II. + * The inverse transform is a DCT-III. + * + * The input array is always overwritten. DCT-III requires that the + * input be padded with 2 extra samples. Stride must be set to the + * spacing between two samples in bytes. + */ + AV_TX_FLOAT_DCT = 9, + AV_TX_DOUBLE_DCT = 10, + AV_TX_INT32_DCT = 11, + /* Not part of the API, do not use */ AV_TX_NB, }; |