![]() |
LIBDSP Version 4.1.9
LIBDSP Software Library
|

Functions | |
| tpt_status | tpt_dct3_forward_f16 (f16_t *aOutData, f16_t *aInData, f16_t *aScratch, size_t aLogN) |
| Processing function for the floating-point DCT3. | |
| tpt_status | tpt_dct3_inverse_f16 (f16_t *aOutData, f16_t *aInData, f16_t *aScratch, size_t aLogN) |
| static tpt_status | tpt_dct3_f16 (f16_t *aOutData, f16_t *aInData, f16_t *aScratch, size_t aLogN, bool aIdctFlag) |
| tpt_status | tpt_dct3_forward_f32 (f32_t *aOutData, f32_t *aInData, f32_t *aScratch, size_t aLogN) |
| Processing function for the floating-point DCT3. | |
| tpt_status | tpt_dct3_inverse_f32 (f32_t *aOutData, f32_t *aInData, f32_t *aScratch, size_t aLogN) |
| static tpt_status | tpt_dct3_f32 (f32_t *aOutData, f32_t *aInData, f32_t *aScratch, size_t aLogN, bool aIdctFlag) |
| tpt_status | tpt_dct3_forward_f64 (f64_t *aOutData, f64_t *aInData, f64_t *aScratch, size_t aLogN) |
| Processing function for the floating-point DCT3. | |
| tpt_status | tpt_dct3_inverse_f64 (f64_t *aOutData, f64_t *aInData, f64_t *aScratch, size_t aLogN) |
| static tpt_status | tpt_dct3_f64 (f64_t *aOutData, f64_t *aInData, f64_t *aScratch, size_t aLogN, bool aIdctFlag) |
| tpt_status | tpt_dct3_forward_q15 (q15_t *aOutData, q15_t *aInData, q15_t *aScratch, size_t aLogN) |
| Processing function for the Q15 DCT3. | |
| tpt_status | tpt_dct3_inverse_q15 (q15_t *aOutData, q15_t *aInData, q15_t *aScratch, size_t aLogN) |
| static tpt_status | tpt_dct3_q15 (q15_t *aOutData, q15_t *aInData, q15_t *aScratch, size_t aLogN, bool aIdctFlag) |
| tpt_status | tpt_dct3_forward_q31 (q31_t *aOutData, q31_t *aInData, q31_t *aScratch, size_t aLogN) |
| Processing function for the Q31 DCT3. | |
| tpt_status | tpt_dct3_inverse_q31 (q31_t *aOutData, q31_t *aInData, q31_t *aScratch, size_t aLogN) |
| static tpt_status | tpt_dct3_q31 (q31_t *aOutData, q31_t *aInData, q31_t *aScratch, size_t aLogN, bool aIdctFlag) |
A discrete cosine transform (DCT) expresses a finite sequence of data points in terms of a sum of cosine functions oscillating at different frequencies. In particular, a DCT is a Fourier-related transform similar to the discrete Fourier transform (DFT), but using only real numbers.
N-1
x[k] = sum { c[n] * y[n] * cos(PI * (2 * k + 1) * n / (2 * N)) }
n=0
where c[0] = 1 / 2.0 and c[n] = 1 for n != 0. The N-point DCT3 internally uses N-point CFFT implementation. It supports lengths of [16, 32, 64, ..., 1024] and the corresponding aLogN value is [4, 5, 6, ..., 10].
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| tpt_status tpt_dct3_forward_f16 | ( | f16_t * | aOutData, |
| f16_t * | aInData, | ||
| f16_t * | aScratch, | ||
| size_t | aLogN ) |
Processing function for the floating-point DCT3.
| [out] | aOutData | points to the output buffer. |
| [in] | aInData | points to the input buffer. |
| [in] | aScratch | points to a temporary buffer of size 2^(aLogN+1). |
| [in] | aLogN | The length is 2^aLogN. |
| tpt_status tpt_dct3_forward_f32 | ( | f32_t * | aOutData, |
| f32_t * | aInData, | ||
| f32_t * | aScratch, | ||
| size_t | aLogN ) |
Processing function for the floating-point DCT3.
| [out] | aOutData | points to the output buffer. |
| [in] | aInData | points to the input buffer. |
| [in] | aScratch | points to a temporary buffer of size 2^(aLogN+1). |
| [in] | aLogN | The length is 2^aLogN. |
| tpt_status tpt_dct3_forward_f64 | ( | f64_t * | aOutData, |
| f64_t * | aInData, | ||
| f64_t * | aScratch, | ||
| size_t | aLogN ) |
Processing function for the floating-point DCT3.
| [in,out] | aInPlace | points to the in-place input and output buffer. |
| [in] | aScratch | points to a temporary buffer of size 2^(aLogN+1). |
| [in] | aLogN | The length is 2^aLogN. |
| tpt_status tpt_dct3_forward_q15 | ( | q15_t * | aOutData, |
| q15_t * | aInData, | ||
| q15_t * | aScratch, | ||
| size_t | aLogN ) |
Processing function for the Q15 DCT3.
| [out] | aOutData | points to the output buffer. |
| [in] | aInData | points to the input buffer. |
| [in] | aScratch | points to a temporary buffer of size 2^(aLogN+1). |
| [in] | aLogN | The length is 2^aLogN. |
| tpt_status tpt_dct3_forward_q31 | ( | q31_t * | aOutData, |
| q31_t * | aInData, | ||
| q31_t * | aScratch, | ||
| size_t | aLogN ) |
Processing function for the Q31 DCT3.
| [out] | aOutData | points to the output buffer. |
| [in] | aInData | points to the input buffer. |
| [in] | aScratch | points to a temporary buffer of size 2^(aLogN+1). |
| [in] | aLogN | The length is 2^aLogN. |
| tpt_status tpt_dct3_inverse_f16 | ( | f16_t * | aOutData, |
| f16_t * | aInData, | ||
| f16_t * | aScratch, | ||
| size_t | aLogN ) |
| tpt_status tpt_dct3_inverse_f32 | ( | f32_t * | aOutData, |
| f32_t * | aInData, | ||
| f32_t * | aScratch, | ||
| size_t | aLogN ) |
| tpt_status tpt_dct3_inverse_f64 | ( | f64_t * | aOutData, |
| f64_t * | aInData, | ||
| f64_t * | aScratch, | ||
| size_t | aLogN ) |
| tpt_status tpt_dct3_inverse_q15 | ( | q15_t * | aOutData, |
| q15_t * | aInData, | ||
| q15_t * | aScratch, | ||
| size_t | aLogN ) |
| tpt_status tpt_dct3_inverse_q31 | ( | q31_t * | aOutData, |
| q31_t * | aInData, | ||
| q31_t * | aScratch, | ||
| size_t | aLogN ) |
|
inlinestatic |
|
inlinestatic |