Lines Matching refs:matrix
35 double av_display_rotation_get(const int32_t matrix[9])
39 scale[0] = hypot(CONV_FP(matrix[0]), CONV_FP(matrix[3]));
40 scale[1] = hypot(CONV_FP(matrix[1]), CONV_FP(matrix[4]));
45 rotation = atan2(CONV_FP(matrix[1]) / scale[1],
46 CONV_FP(matrix[0]) / scale[0]) * 180 / M_PI;
51 void av_display_rotation_set(int32_t matrix[9], double angle)
57 memset(matrix, 0, 9 * sizeof(int32_t));
59 matrix[0] = CONV_DB(c);
60 matrix[1] = CONV_DB(-s);
61 matrix[3] = CONV_DB(s);
62 matrix[4] = CONV_DB(c);
63 matrix[8] = 1 << 30;
66 void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip)
73 matrix[i] *= flip[i % 3];