VkFFT
VkFFT copied to clipboard
DCT Normalization - possible bug
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