Tizen Native API  5.5
3x3 Matrices in fixed point

Definition and operations for 3x3 fixed point matrices.

Functions

void eina_matrix3_f16p16_identity (Eina_Matrix3_F16p16 *m)
 Sets the given fixed point matrix to the identity matrix.
void eina_matrix3_f16p16_compose (const Eina_Matrix3_F16p16 *m1, const Eina_Matrix3_F16p16 *m2, Eina_Matrix3_F16p16 *dst)
 Sets dst as the matrix multiplication (composition) of two Eina_F16p16 matrices.
Eina_Matrix_Type eina_matrix3_f16p16_type_get (const Eina_Matrix3_F16p16 *m)
 Returns the type of the given fixed point matrix.

Typedefs

typedef struct _Eina_Matrix3_F16p16 Eina_Matrix3_F16p16

Typedef Documentation

A 3x3 fixed point (Q16.16) matrix.


Function Documentation

Sets dst as the matrix multiplication (composition) of two Eina_F16p16 matrices.

Parameters:
[in]m1The first matrix. Must be non-NULL.
[in]m2The second matrix. Must be non-NULL.
[out]dstThe results matrix.

In matrix multiplication, AB, the resultant matrix is created from the rows of A multiplied against the columns of B and summed. This is not a commutative; i.e. AB != BA, so the ordering of arguments m1 and m2 matters.

Since (EFL) :
1.14
Since :
3.0

Sets the given fixed point matrix to the identity matrix.

Parameters:
[in]mThe fixed point matrix to set.

This function sets m to the identity matrix. No check is done on m.

Since (EFL) :
1.14
Since :
3.0

Returns the type of the given fixed point matrix.

Parameters:
[in]mThe fixed point matrix.
Returns:
The type of the matrix.

This function returns the type of the matrix m. No check is done on m.

Since (EFL) :
1.14
Since :
3.0