45 for (
unsigned int itr = 0; itr < count; itr++ )
47 dst[ itr ].
x =
A1 * src[ itr ].
x +
C1 * src[ itr ].
y;
48 dst[ itr ].
y =
B1 * src[ itr ].
x +
D1 * src[ itr ].
y;
71 for (
unsigned int itr = 0; itr < count; itr++ )
73 dst[ itr ].
x =
A1 * src[ itr ].
x +
D1 * src[ itr ].
y +
G1 * src[ itr ].
z;
74 dst[ itr ].
y =
B1 * src[ itr ].
x +
E1 * src[ itr ].
y +
H1 * src[ itr ].
z;
75 dst[ itr ].
z =
C1 * src[ itr ].
x +
F1 * src[ itr ].
y +
I1 * src[ itr ].
z;
100 #define I1 cst->c3.r1 101 #define J1 cst->c3.r2 102 #define K1 cst->c3.r3 103 #define L1 cst->c3.r4 104 #define M1 cst->c4.r1 105 #define N1 cst->c4.r2 106 #define O1 cst->c4.r3 107 #define P1 cst->c4.r4 110 for (
unsigned int itr = 0; itr < count; itr++ )
112 dst[ itr ].
x =
A1 * src[ itr ].
x +
E1 * src[ itr ].
y +
I1 * src[ itr ].
z +
M1 * src[ itr ].
w;
113 dst[ itr ].
y =
B1 * src[ itr ].
x +
F1 * src[ itr ].
y +
J1 * src[ itr ].
z +
N1 * src[ itr ].
w;
114 dst[ itr ].
z =
C1 * src[ itr ].
x +
G1 * src[ itr ].
y +
K1 * src[ itr ].
z +
O1 * src[ itr ].
w;
115 dst[ itr ].
w =
D1 * src[ itr ].
x +
H1 * src[ itr ].
y +
L1 * src[ itr ].
z +
P1 * src[ itr ].
w;
A 2-tuple of ne10_float32_t values.
ne10_result_t ne10_mulcmatvec_cm4x4f_v4f_c(ne10_vec4f_t *dst, const ne10_mat4x4f_t *cst, ne10_vec4f_t *src, ne10_uint32_t count)
Specific implementation of ne10_mulcmatvec_cm4x4f_v4f using plain C code.
ne10_result_t ne10_mulcmatvec_cm2x2f_v2f_c(ne10_vec2f_t *dst, const ne10_mat2x2f_t *cst, ne10_vec2f_t *src, ne10_uint32_t count)
Specific implementation of ne10_mulcmatvec_cm2x2f_v2f using plain C code.
A 3-tuple of ne10_float32_t values.
#define NE10_CHECKPOINTER_DstSrc
A 4-tuple of ne10_float32_t values.
ne10_result_t ne10_mulcmatvec_cm3x3f_v3f_c(ne10_vec3f_t *dst, const ne10_mat3x3f_t *cst, ne10_vec3f_t *src, ne10_uint32_t count)
Specific implementation of ne10_mulcmatvec_cm3x3f_v3f using plain C code.