Home
last modified time | relevance | path

Searched refs:cmatrix (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/c/
Dsk_effects.cpp11 static void from_c_matrix(const sk_matrix_t* cmatrix, SkMatrix* matrix) { in from_c_matrix() argument
12 matrix->setAll(cmatrix->mat[0], cmatrix->mat[1], cmatrix->mat[2], in from_c_matrix()
13 cmatrix->mat[3], cmatrix->mat[4], cmatrix->mat[5], in from_c_matrix()
14 cmatrix->mat[6], cmatrix->mat[7], cmatrix->mat[8]); in from_c_matrix()
54 const sk_matrix_t* cmatrix) { in sk_shader_new_linear_gradient() argument
60 if (cmatrix) { in sk_shader_new_linear_gradient()
61 from_c_matrix(cmatrix, &matrix); in sk_shader_new_linear_gradient()
81 const sk_matrix_t* cmatrix) { in sk_shader_new_radial_gradient() argument
87 if (cmatrix) { in sk_shader_new_radial_gradient()
88 from_c_matrix(cmatrix, &matrix); in sk_shader_new_radial_gradient()
[all …]
Dsk_surface.cpp51 static void from_c_matrix(const sk_matrix_t* cmatrix, SkMatrix* matrix) { in from_c_matrix() argument
52 matrix->setAll(cmatrix->mat[0], cmatrix->mat[1], cmatrix->mat[2], in from_c_matrix()
53 cmatrix->mat[3], cmatrix->mat[4], cmatrix->mat[5], in from_c_matrix()
54 cmatrix->mat[6], cmatrix->mat[7], cmatrix->mat[8]); in from_c_matrix()
270 void sk_canvas_concat(sk_canvas_t* ccanvas, const sk_matrix_t* cmatrix) { in sk_canvas_concat() argument
271 SkASSERT(cmatrix); in sk_canvas_concat()
273 from_c_matrix(cmatrix, &matrix); in sk_canvas_concat()
327 const sk_matrix_t* cmatrix, const sk_paint_t* cpaint) { in sk_canvas_draw_picture() argument
330 if (cmatrix) { in sk_canvas_draw_picture()
331 from_c_matrix(cmatrix, &matrix); in sk_canvas_draw_picture()
/third_party/skia/src/c/
Dsk_effects.cpp11 static void from_c_matrix(const sk_matrix_t* cmatrix, SkMatrix* matrix) { in from_c_matrix() argument
12 matrix->setAll(cmatrix->mat[0], cmatrix->mat[1], cmatrix->mat[2], in from_c_matrix()
13 cmatrix->mat[3], cmatrix->mat[4], cmatrix->mat[5], in from_c_matrix()
14 cmatrix->mat[6], cmatrix->mat[7], cmatrix->mat[8]); in from_c_matrix()
54 const sk_matrix_t* cmatrix) { in sk_shader_new_linear_gradient() argument
60 if (cmatrix) { in sk_shader_new_linear_gradient()
61 from_c_matrix(cmatrix, &matrix); in sk_shader_new_linear_gradient()
81 const sk_matrix_t* cmatrix) { in sk_shader_new_radial_gradient() argument
87 if (cmatrix) { in sk_shader_new_radial_gradient()
88 from_c_matrix(cmatrix, &matrix); in sk_shader_new_radial_gradient()
[all …]
Dsk_surface.cpp51 static void from_c_matrix(const sk_matrix_t* cmatrix, SkMatrix* matrix) { in from_c_matrix() argument
52 matrix->setAll(cmatrix->mat[0], cmatrix->mat[1], cmatrix->mat[2], in from_c_matrix()
53 cmatrix->mat[3], cmatrix->mat[4], cmatrix->mat[5], in from_c_matrix()
54 cmatrix->mat[6], cmatrix->mat[7], cmatrix->mat[8]); in from_c_matrix()
288 void sk_canvas_concat(sk_canvas_t* ccanvas, const sk_matrix_t* cmatrix) { in sk_canvas_concat() argument
289 SkASSERT(cmatrix); in sk_canvas_concat()
291 from_c_matrix(cmatrix, &matrix); in sk_canvas_concat()
358 const sk_matrix_t* cmatrix, const sk_paint_t* cpaint) { in sk_canvas_draw_picture() argument
361 if (cmatrix) { in sk_canvas_draw_picture()
362 from_c_matrix(cmatrix, &matrix); in sk_canvas_draw_picture()
/third_party/ffmpeg/libavfilter/
Davf_showcqt.h76 float cmatrix[3][3]; member
Davf_showcqt.c1126 yuv_from_cqt(s->c_buf, s->cqt_result, s->sono_g, s->width, s->cmatrix, s->cscheme_v); in process_cqt()
1223 s->cmatrix[0][0] = 219.0 * kr; in init_colormatrix()
1224 s->cmatrix[0][1] = 219.0 * kg; in init_colormatrix()
1225 s->cmatrix[0][2] = 219.0 * kb; in init_colormatrix()
1226 s->cmatrix[1][0] = -112.0 * kr / (1.0 - kb); in init_colormatrix()
1227 s->cmatrix[1][1] = -112.0 * kg / (1.0 - kb); in init_colormatrix()
1228 s->cmatrix[1][2] = 112.0; in init_colormatrix()
1229 s->cmatrix[2][0] = 112.0; in init_colormatrix()
1230 s->cmatrix[2][1] = -112.0 * kg / (1.0 - kr); in init_colormatrix()
1231 s->cmatrix[2][2] = -112.0 * kb / (1.0 - kr); in init_colormatrix()