Searched refs:n_comp (Results 1 – 3 of 3) sorted by relevance
/third_party/mesa3d/src/util/format/ |
D | u_format_fxt1.c | 418 const int32_t n_comp = 3; /* 3 components: R, G, B */ in fxt1_quantize_CHROMA() local 424 if (fxt1_choose(vec, n_vect, input, n_comp, N_TEXELS) != 0) { in fxt1_quantize_CHROMA() 425 fxt1_lloyd(vec, n_vect, input, n_comp, N_TEXELS); in fxt1_quantize_CHROMA() 430 for (i = 0; i < n_comp; i++) { in fxt1_quantize_CHROMA() 442 lohi |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA() 447 lolo |= fxt1_bestcol(vec, n_vect, input[k], n_comp); in fxt1_quantize_CHROMA() 460 const int32_t n_comp = 4; /* 4 components: R, G, B, A */ in fxt1_quantize_ALPHA0() local 467 for (i = 0; i < n_comp; i++) { in fxt1_quantize_ALPHA0() 472 if (fxt1_choose(vec, n_vect, reord, n_comp, n) != 0) { in fxt1_quantize_ALPHA0() 473 fxt1_lloyd(vec, n_vect, reord, n_comp, n); in fxt1_quantize_ALPHA0() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-dither.c | 45 guint n_comp; member 286 guint width, n_comp; in alloc_errors() local 289 n_comp = dither->n_comp; in alloc_errors() 291 dither->errors = g_malloc0 (sizeof (guint16) * (width + 8) * n_comp * lines); in alloc_errors() 297 guint i, j, k, width, n_comp, errdepth; in setup_bayer() local 302 n_comp = dither->n_comp; in setup_bayer() 321 guint8 *p = (guint8 *) dither->errors + (n_comp * width * i), v; in setup_bayer() 323 for (k = 0; k < n_comp; k++) { in setup_bayer() 327 p[n_comp * j + k] = v; in setup_bayer() 333 guint16 *p = (guint16 *) dither->errors + (n_comp * width * i), v; in setup_bayer() [all …]
|
/third_party/libxml2/ |
D | testapi.c | 16927 int n_comp; in test_xmlPatternFromRoot() local 16929 for (n_comp = 0;n_comp < gen_nb_xmlPatternPtr;n_comp++) { in test_xmlPatternFromRoot() 16931 comp = gen_xmlPatternPtr(n_comp, 0); in test_xmlPatternFromRoot() 16936 des_xmlPatternPtr(n_comp, comp, 0); in test_xmlPatternFromRoot() 16942 printf(" %d", n_comp); in test_xmlPatternFromRoot() 16971 int n_comp; in test_xmlPatternMatch() local 16975 for (n_comp = 0;n_comp < gen_nb_xmlPatternPtr;n_comp++) { in test_xmlPatternMatch() 16978 comp = gen_xmlPatternPtr(n_comp, 0); in test_xmlPatternMatch() 16984 des_xmlPatternPtr(n_comp, comp, 0); in test_xmlPatternMatch() 16991 printf(" %d", n_comp); in test_xmlPatternMatch() [all …]
|