18 return (
x != 0) && ((
x & (
x - 1)) == 0);
23 for (
size_t i = 0; i < 16; i++) {
41 int N =
sizeof(
data) /
sizeof(
float) / 2;
43 float check_ampl = 2000;
44 for (
int i = 0 ; i <
N ; i++) {
45 data[i * 2 + 0] = check_ampl * sinf(
M_PI /
N * check_bin * 2 * i) / (
N / 2);
48 for (
int i = 0 ; i <
N * 2 ; i++) {
67 for (
int i = 0 ; i < N_check ; i++) {
76 printf(
"Test Pass!\n");
esp_err_t dsps_fft2r_fc32_aes3_(float *data, int N, float *w)
float * dsps_fft_w_table_fc32
esp_err_t dsps_fft2r_init_fc32(float *fft_table_buff, int table_size)
init fft tables
void xt_iss_profile_disable()
bool dsp_is_power_of_two(int x)
check power of two The function check if the argument is power of 2. The implementation use ANSI C an...
int dsp_power_of_two(int x)
Power of two The function return power of 2 for values 2^N. The implementation use ANSI C and could b...
static float data[128 *2]
static float data_test[128 *2]
static float check_data[128 *2]
void xt_iss_profile_enable()