|
Sound Open Firmware
|
Discrete Cosine Transform (DCT) matrix generation and planning. More...


Go to the source code of this file.
Data Structures | |
| struct | dct_plan_16 |
Macros | |
| #define | DCT_MATRIX_SIZE_MAX 42 /* Max matrix size where cos() argument fits Q7.24 */ |
Enumerations | |
| enum | dct_type { DCT_I = 0 , DCT_II } |
Functions | |
| int | mod_dct_initialize_16 (struct processing_module *mod, struct dct_plan_16 *dct) |
| Initialize a 16-bit Discrete Cosine Transform plan and compute transform matrix. | |
| int | mod_dct_free_16 (struct processing_module *mod, struct dct_plan_16 *dct) |
| Free memory allocated for a 16-bit DCT plan matrix. | |
Discrete Cosine Transform (DCT) matrix generation and planning.
| #define DCT_MATRIX_SIZE_MAX 42 /* Max matrix size where cos() argument fits Q7.24 */ |
| enum dct_type |
| int mod_dct_free_16 | ( | struct processing_module * | mod, |
| struct dct_plan_16 * | dct | ||
| ) |
Free memory allocated for a 16-bit DCT plan matrix.
| mod | Processing module owning the plan. |
| dct | Pointer to DCT plan structure to free. |
| int mod_dct_initialize_16 | ( | struct processing_module * | mod, |
| struct dct_plan_16 * | dct | ||
| ) |
Initialize a 16-bit Discrete Cosine Transform plan and compute transform matrix.
| mod | Processing module requesting the plan (for memory allocation). |
| dct | Pointer to DCT plan configuration structure. |