Home
last modified time | relevance | path

Searched refs:color_used (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs_draw.c53 boolean color_used[2]; member
163 if (decl->Semantic.Index == 1 && !vsctx->color_used[0]) { in transform_decl()
166 vsctx->color_used[0] = TRUE; in transform_decl()
176 if (!vsctx->color_used[0]) { in transform_decl()
179 vsctx->color_used[0] = TRUE; in transform_decl()
181 if (!vsctx->color_used[1]) { in transform_decl()
184 vsctx->color_used[1] = TRUE; in transform_decl()
340 transform.color_used[index] = TRUE; in r300_draw_init_vertex_shader()
/third_party/ffmpeg/libavcodec/
H A Ddvdsubdec.c156 uint8_t color_used[16] = { 0 }; in guess_palette() local
172 if (alpha[i] != 0 && !color_used[colormap[i]]) { in guess_palette()
173 color_used[colormap[i]] = 1; in guess_palette()
182 memset(color_used, 0, 16); in guess_palette()
185 if (!color_used[colormap[i]]) { in guess_palette()
191 color_used[colormap[i]] = (i + 1); in guess_palette()
194 rgba_palette[i] = (rgba_palette[color_used[colormap[i]] - 1] & 0x00ffffff) | in guess_palette()
/third_party/ffmpeg/libavfilter/
H A Dvf_paletteuse.c628 static int get_next_color(const uint8_t *color_used, const PaletteUseContext *s, in get_next_color() argument
652 if (color_used[i] || (a != 0xff && !s->use_alpha) || in get_next_color()
706 uint8_t *color_used, in colormap_insert()
716 const int pal_id = get_next_color(color_used, s, &component, box); in colormap_insert()
732 color_used[pal_id] = 1; in colormap_insert()
739 node_left_id = colormap_insert(map, color_used, nb_used, s, &box1); in colormap_insert()
742 node_right_id = colormap_insert(map, color_used, nb_used, s, &box2); in colormap_insert()
767 uint8_t color_used[AVPALETTE_COUNT] = {0}; in load_colormap() local
782 color_used[i] = 1; in load_colormap()
787 color_used[ in load_colormap()
705 colormap_insert(struct color_node *map, uint8_t *color_used, int *nb_used, const PaletteUseContext *s, const struct color_rect *box) colormap_insert() argument
[all...]

Completed in 5 milliseconds