ESP-IDF Firmware
Firmware architecture and call graph
Loading...
Searching...
No Matches
dsps_dct.h
Go to the documentation of this file.
1// Copyright 2018-2020 Espressif Systems (Shanghai) PTE LTD
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#ifndef _dsps_dct_H_
16#define _dsps_dct_H_
17#include "dsp_err.h"
18#include "sdkconfig.h"
19
20#ifdef __cplusplus
21extern "C"
22{
23#endif
24
43esp_err_t dsps_dct_f32(float *data, int N);
45
46
65esp_err_t dsps_dctiv_f32(float *data, int N);
67
86esp_err_t dsps_dstiv_f32(float *data, int N);
88
107esp_err_t dsps_dct_inv_f32(float *data, int N);
108
110
128esp_err_t dsps_dct_f32_ref(float *data, int N, float *result);
129esp_err_t dsps_dct_inverce_f32_ref(float *data, int N, float *result);
131
132
133#ifdef __cplusplus
134}
135#endif
136
137#endif // _dsps_dct_H_
esp_err_t dsps_dct_f32_ref(float *data, int N, float *result)
DCTs.
esp_err_t dsps_dstiv_f32(float *data, int N)
DST of radix 2, type IV, unscaled.
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_dctiv_f32(float *data, int N)
DCT of radix 2, type IV, unscaled.
esp_err_t dsps_dct_inverce_f32_ref(float *data, int N, float *result)
int esp_err_t
Definition esp_err.h:21
static float data[128 *2]
Definition test_fft2r.c:34
#define N
Definition test_mmult.c:13