|
ESP-IDF Firmware
Firmware architecture and call graph
|
Go to the source code of this file.
Functions | |
| esp_err_t | dsps_dct_f32_ref (float *data, int N, float *result) |
| DCTs. | |
| esp_err_t | dsps_dct_inverce_f32_ref (float *data, int N, float *result) |
| esp_err_t | dsps_dct_f32 (float *data, int N) |
| DCT of radix 2, unscaled. | |
| esp_err_t | dsps_dct_inv_f32 (float *data, int N) |
| Inverce DCT of radix 2. | |
| esp_err_t dsps_dct_f32 | ( | float * | data, |
| int | N ) |
DCT of radix 2, unscaled.
Discrete Cosine Transform type II of radix 2, unscaled Function is FFT based The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in,out] | data | input/output array with size of N*2. An elements located: Re[0],Re[1], , ... Re[N-1], any data... up to N*2 result of DCT will be stored to this array from 0...N-1. Size of data array must be N*2!!! |
| [in] | N | Size of DCT transform. Size of data array must be N*2!!! |
Definition at line 47 of file dsps_dct_f32.c.
References data, dsps_bit_rev_fc32, dsps_fft2r_fc32, dsps_fft2r_initialized, dsps_fft_w_table_fc32, ESP_ERR_DSP_REINITIALIZED, ESP_OK, and N.
| esp_err_t dsps_dct_f32_ref | ( | float * | data, |
| int | N, | ||
| float * | result ) |
DCTs.
Direct DCT type II and Inverce DCT type III, unscaled These functions used as a reference for general purpose. These functions are not optimyzed! The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in] | data | input/output array with size of N. An elements located: Re[0],Re[1], , ... Re[N-1] |
| [in] | N | Size of DCT transform. Size of data array must be N*2!!! |
| [out] | result | output result array with size of N. |
Definition at line 21 of file dsps_dct_f32.c.
| esp_err_t dsps_dct_inv_f32 | ( | float * | data, |
| int | N ) |
Inverce DCT of radix 2.
Inverce Discrete Cosine Transform type II of radix 2, unscaled Function is FFT based The extension (_ansi) use ANSI C and could be compiled and run on any platform. The extension (_ae32) is optimized for ESP32 chip.
| [in,out] | data | input/output array with size of N*2. An elements located: Re[0],Re[1], , ... Re[N-1], any data... up to N*2 result of DCT will be stored to this array from 0...N-1. Size of data array must be N*2!!! |
| [in] | N | Size of DCT transform. Size of data array must be N*2!!! |
Definition at line 91 of file dsps_dct_f32.c.
References data, dsps_bit_rev_fc32, dsps_fft2r_fc32, dsps_fft2r_initialized, ESP_ERR_DSP_REINITIALIZED, ESP_OK, M_PI, and N.
| esp_err_t dsps_dct_inverce_f32_ref | ( | float * | data, |
| int | N, | ||
| float * | result ) |
Definition at line 34 of file dsps_dct_f32.c.