Searched refs:y_true (Results 1 - 8 of 8) sorted by relevance

/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/
H A Dtest_fft16.c131 struct ComplexFloat* y_true; local
172 y_true = (struct ComplexFloat*) malloc(sizeof(*y_true) * fft_size);
173 y_scaled = (OMX_SC16*) malloc(sizeof(*y_true) * fft_size);
175 GenerateSignal(x, y_true, x_true, fft_size, signal_type, scale_factor);
181 y_scaled[n].Re = 0.5 + y_true[n].Re / scale;
182 y_scaled[n].Im = 0.5 + y_true[n].Im / scale;
223 struct ComplexFloat* y_true; local
259 y_scaled_aligned = AllocAlignedPointer(32, sizeof(*y_true) * fft_size);
266 y_true
[all...]
H A Dtest_rfft16_s16.c101 struct ComplexFloat* y_true; local
136 y_true = (struct ComplexFloat*) malloc(sizeof(*y_true) * (fft_size / 2 + 1));
137 y_scaled = (OMX_SC16*) malloc(sizeof(*y_true) * (fft_size / 2 + 1));
139 GenerateSignal(y_true, x_true, fft_size, signal_type);
148 y_scaled[n].Re = 0.5 + y_true[n].Re / scale;
149 y_scaled[n].Im = 0.5 + y_true[n].Im / scale;
193 struct ComplexFloat* y_true; local
219 y_true = (struct ComplexFloat*) malloc(sizeof(*y_true) * fft_siz
[all...]
H A Dtest_rfft32.c107 OMX_SC32* y_true; local
130 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1));
135 GenerateSignal(x, y_true, fft_size, signal_type);
142 DumpArrayComplex32("y", fft_size / 2, y_true);
156 CompareComplex32(snr, y, y_true, fft_size / 2 + 1);
160 free(y_true);
171 OMX_SC32* y_true; local
202 sizeof(*y_true) * (fft_size / 2 + 1));
207 y_true
[all...]
H A Dtest_rfft16_s32.c103 OMX_SC32* y_true; local
126 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1));
131 GenerateSignal(x, y_true, fft_size, signal_type);
138 DumpArrayComplex32("y", fft_size / 2, y_true);
152 CompareComplex32(snr, y, y_true, fft_size / 2 + 1);
166 OMX_SC32* y_true; local
201 y_true = y_true_aligned->aligned_pointer_;
203 GenerateSignal(x, y_true, fft_size, signal_type);
207 DumpArrayComplex32("y", fft_size / 2, y_true);
[all...]
H A Dtest_float_rfft.c135 OMX_FC32* y_true; local
161 y_true = (OMX_FC32*) malloc(sizeof(*y_true) * (fft_size / 2 + 1));
163 GenerateSignal(x, y_true, fft_size, signal_type, signal_value);
176 DumpArrayComplexFloat("y", 1 + fft_size / 2, y_true);
190 CompareComplexFloat(snr, y, y_true, fft_size / 2 + 1);
194 free(y_true);
H A Dtest_fft32.c119 OMX_SC32* y_true; local
142 y_true = (OMX_SC32*) malloc(sizeof(*y_true) * fft_size);
147 GenerateSignal(x, y_true, fft_size, signal_type);
154 DumpArrayComplex32("y", fft_size, y_true);
168 CompareComplex32(snr, y, y_true, fft_size);
H A Dtest_float_fft.c109 OMX_FC32* y_true; local
134 y_true = (OMX_FC32*) malloc(sizeof(*y_true) * fft_size);
139 GenerateSignal(x, y_true, fft_size, signal_type, signal_value);
152 DumpArrayComplexFloat("y", fft_size, y_true);
167 CompareComplexFloat(snr, y, y_true, fft_size);
H A Dtest_fft_time.c337 struct ComplexFloat* y_true; local
353 y_true = (struct ComplexFloat*) malloc(sizeof(*y_true) * fft_size);
359 GenerateTestSignalAndFFT(x, y_true, fft_size, signal_type, signal_value, 0);
395 free(y_true);
448 OMX_F32* y_true; /* True FFT */ local
475 y_true = (OMX_F32*) malloc(sizeof(*y_true) * (fft_size + 2));
477 GenerateRealFloatSignal(x, (OMX_FC32*) y_true, fft_size, signal_type,
568 OMX_SC32* y_true; local
750 OMX_SC16* y_true; local
933 OMX_S32* y_true; local
1200 OMX_S32* y_true; local
[all...]

Completed in 91 milliseconds