Lines Matching refs:matrix
34 double av_display_rotation_get(const int32_t matrix[9]) in av_display_rotation_get()
38 scale[0] = hypot(CONV_FP(matrix[0]), CONV_FP(matrix[3])); in av_display_rotation_get()
39 scale[1] = hypot(CONV_FP(matrix[1]), CONV_FP(matrix[4])); in av_display_rotation_get()
44 rotation = atan2(CONV_FP(matrix[1]) / scale[1], in av_display_rotation_get()
45 CONV_FP(matrix[0]) / scale[0]) * 180 / M_PI; in av_display_rotation_get()
50 void av_display_rotation_set(int32_t matrix[9], double angle) in av_display_rotation_set()
56 memset(matrix, 0, 9 * sizeof(int32_t)); in av_display_rotation_set()
58 matrix[0] = CONV_DB(c); in av_display_rotation_set()
59 matrix[1] = CONV_DB(-s); in av_display_rotation_set()
60 matrix[3] = CONV_DB(s); in av_display_rotation_set()
61 matrix[4] = CONV_DB(c); in av_display_rotation_set()
62 matrix[8] = 1 << 30; in av_display_rotation_set()
65 void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip) in av_display_matrix_flip()
72 matrix[i] *= flip[i % 3]; in av_display_matrix_flip()