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_rotation_set(int32_t matrix[9], double angle)
Initialize a transformation matrix describing a pure counterclockwise rotation by the specified angle...
void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip)
Flip the input matrix horizontally and/or vertically.
static void print_matrix(int32_t matrix[9])
double av_display_rotation_get(const int32_t matrix[9])
The display transformation matrix specifies an affine transformation that should be applied to video ...