[FFmpeg-devel] [PATCH 2/2] lavu/tx: add DCT-I and DST-I transforms

Lynne dev at lynne.ee
Thu Aug 3 19:31:23 EEST 2023


These are true, actual DCT-I and DST-I transforms, unlike the
libavcodec versions, which are plainly not.

Error tests via https://github.com/cyanreg/lavu_fft_test

RMS error on a 2048-sample DCT-I:
RMSE   av_tx = 0.000000 (4096 matches, first mismatch at -1)
RMSE  fftw3f = 0.000000 (4096 matches, first mismatch at -1)
RMSE   avfft = 0.011440 (0 matches, first mismatch at 0)

RMS error on a 2048-sample DST-I:
RMSE   av_tx = 0.000000 (4096 matches, first mismatch at -1)
RMSE  fftw3f = 0.000000 (4096 matches, first mismatch at -1)
RMSE   avfft = 0.015316 (0 matches, first mismatch at 0)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lavu-tx-add-DCT-I-and-DST-I-transforms.patch
Type: text/x-diff
Size: 5094 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230803/3ec51262/attachment.patch>


More information about the ffmpeg-devel mailing list