14#ifndef __SOF_MATH_DCT_H__
15#define __SOF_MATH_DCT_H__
21#define DCT_MATRIX_SIZE_MAX 42
int mod_dct_free_16(struct processing_module *mod, struct dct_plan_16 *dct)
Free memory allocated for a 16-bit DCT plan matrix.
dct_type
Definition dct.h:23
@ DCT_I
Definition dct.h:24
@ DCT_II
Definition dct.h:25
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.
Matrix math routines, allocation, multiplication, and transposition.
int num_in
Definition dct.h:30
enum dct_type type
Definition dct.h:32
struct mat_matrix_16b * matrix
Definition dct.h:29
int num_out
Definition dct.h:31
bool ortho
Definition dct.h:33