CSI-DSP
Version 1.0.0
CSI DSP Software Library
|
Functions | |
void | csky_dsp_lib_mat_cx_add16 (cq15_t *A, cq15_t *B, uint32 N, uint32 M, cq15_t *C) |
Q15 complex Matrix addition. More... | |
void | csky_dsp_lib_mat_cx_add32 (cq31_t *A, cq31_t *B, uint32 N, uint32 M, cq31_t *C) |
Q31 complex Matrix addition. More... | |
Element-by-element addition of the complex matrix in same format, the source data us form A and B, the data in A is stored in an interleaved fashion(real, imag, real, imag,...), so, the computaional process is:
*((C+i)+2*j+0) = *((A+i)+2*j+0) + *((B+i)+2*j+0), 0 <= i < N, 0 =< j < M. *((C+i)+2*j+1) = *((A+i)+2*j+1) + *((B+i)+2*j+1).
support for q15 and q31 format.
[in] | *A | points to the input buffer a |
[in] | *B | points to the input buffer b |
[in] | N | the number of rows of matrix |
[in] | M | the number of colums of matrix |
[out] | *C | points to the output buffer |
Scaling and Overflow Behavior:
[in] | *A | points to the input buffer a |
[in] | *B | points to the input buffer b |
[in] | N | the number of rows of matrix |
[in] | M | the number of colums of matrix |
[out] | *C | points to the output buffer |
Scaling and Overflow Behavior: