27 for (i = 0; i < 3; ++i) {
28 for (j = 0; j < 3 - 1; ++j)
29 printf(
"%d ", matrix[i*3 + j]);
31 printf(
"%d\n", matrix[i*3 + j]);
void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip)
Flip the input matrix horizontally and/or vertically.
void av_display_rotation_set(int32_t matrix[9], double angle)
Initialize a transformation matrix describing a pure counterclockwise rotation by the specified angle...
static void print_matrix(int32_t matrix[9])
double av_display_rotation_get(const int32_t matrix[9])
Extract the rotation component of the transformation matrix.