VkFFT icon indicating copy to clipboard operation
VkFFT copied to clipboard

DCT Normalization - possible bug

Open ACDC77 opened this issue 1 year ago • 2 comments

Hi Dmitrii,

When computing DCT type III (inverse of DCT type II), for 2D formatted data, the configuration.normalize setting seems to have no effect on the output. The output I see is always unnormalized regardless of whether this field is 0 (default) or 1. Could you please try to replicate at your end?

Here are my configuration settings:

config_idct.FFTdim = 2;
config_idct.size[0] = N;
config_idct.size[1] = M;
config_idct.performR2C = false;
config_idct.isInputFormatted = true;
config_idct.isOutputFormatted = true;
config_idct.kernelConvolution = 0;
config_idct.doublePrecision = 0;
config_idct.numberBatches = 1;
config_idct.performDCT = 3;
config_idct.normalize = 1;

Regards, Atul

ACDC77 avatar Sep 03 '24 17:09 ACDC77