Data Structures | Typedefs | Functions
Matrices in fixed point

Fixed point matrices operations. More...

Data Structures

struct  _Eina_Matrix3_F16p16
 

Typedefs

typedef struct _Eina_Matrix3_F16p16 Eina_Matrix3_F16p16
 Fixed point matrix3 handler.
 

Functions

void eina_matrix3_f16p16_identity (Eina_Matrix3_F16p16 *m)
 Set the given fixed point matrix to the identity matrix. More...
 
void eina_matrix3_f16p16_compose (const Eina_Matrix3_F16p16 *m1, const Eina_Matrix3_F16p16 *m2, Eina_Matrix3_F16p16 *dst)
 
Eina_Matrix_Type eina_matrix3_f16p16_type_get (const Eina_Matrix3_F16p16 *m)
 Return the type of the given fixed point matrix. More...
 

Detailed Description

Fixed point matrices operations.

Function Documentation

void eina_matrix3_f16p16_identity ( Eina_Matrix3_F16p16 m)

Set the given fixed point matrix to the identity matrix.

Parameters
mThe fixed point matrix to set

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

Since
1.14
void eina_matrix3_f16p16_compose ( const Eina_Matrix3_F16p16 m1,
const Eina_Matrix3_F16p16 m2,
Eina_Matrix3_F16p16 dst 
)
Since
1.14

References eina_f16p16_mul().

Eina_Matrix_Type eina_matrix3_f16p16_type_get ( const Eina_Matrix3_F16p16 m)

Return the type of the given fixed point matrix.

Parameters
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
1.14

References EINA_MATRIX_TYPE_AFFINE, EINA_MATRIX_TYPE_IDENTITY, and EINA_MATRIX_TYPE_PROJECTIVE.