Home
last modified time | relevance | path

Searched refs:color_index (Results 1 – 25 of 40) sorted by relevance

12

/third_party/ffmpeg/libavformat/
Dqtpalette.c349 int color_index, color_dec; in ff_get_qtpalette() local
352 color_index = 255; in ff_get_qtpalette()
355 r = g = b = color_index; in ff_get_qtpalette()
357 color_index -= color_dec; in ff_get_qtpalette()
358 if (color_index < 0) in ff_get_qtpalette()
359 color_index = 0; in ff_get_qtpalette()
/third_party/harfbuzz/src/
Dhb-ot-color-cpal-table.hh69 unsigned int color_index, in get_color_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
126 hb_ot_name_id_t get_color_name_id (unsigned int color_index) const in get_color_name_id()
127 { return v1 ().get_color_name_id (this, color_index, numColors); } in get_color_name_id()
Dhb-ot-color.h58 unsigned int color_index);
109 unsigned int color_index; member
Dhb-ot-color.cc130 unsigned int color_index) in hb_ot_color_palette_color_get_name_id() argument
132 return face->table.CPAL->get_color_name_id (color_index); in hb_ot_color_palette_color_get_name_id()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cpal-table.hh69 unsigned int color_index, in get_color_name_id()
73 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
126 hb_ot_name_id_t get_color_name_id (unsigned int color_index) const in get_color_name_id()
127 { return v1 ().get_color_name_id (this, color_index, numColors); } in get_color_name_id()
Dhb-ot-color.h58 unsigned int color_index);
106 unsigned int color_index; member
Dhb-ot-color.cc141 unsigned int color_index) in hb_ot_color_palette_color_get_name_id() argument
146 return face->table.CPAL->get_color_name_id (color_index); in hb_ot_color_palette_color_get_name_id()
Dhb-ot-color-colr-table.hh111 layers[i].color_index = segment_layers.arrayZ[i].colorIdx; in get_glyph_layers()
Dtest-ot-color.cc191 if (layers[layer].color_index != 0xFFFF) in layered_glyph_dump()
192 color = colors[layers[layer].color_index]; in layered_glyph_dump()
/third_party/freetype/src/sfnt/
Dttcolr.c270 FT_UInt color_index, in tt_face_colr_blend_layer() argument
366 if ( color_index == 0xFFFF ) in tt_face_colr_blend_layer()
399 b = face->palette[color_index].blue; in tt_face_colr_blend_layer()
400 g = face->palette[color_index].green; in tt_face_colr_blend_layer()
401 r = face->palette[color_index].red; in tt_face_colr_blend_layer()
402 alpha = face->palette[color_index].alpha; in tt_face_colr_blend_layer()
Dttcpal.c272 FT_UShort color_index; in tt_face_palette_set() local
279 color_index = FT_PEEK_USHORT( offset ); in tt_face_palette_set()
281 if ( color_index + face->palette_data.num_palette_entries > in tt_face_palette_set()
285 p = cpal->colors + COLOR_SIZE * color_index; in tt_face_palette_set()
Dttcolr.h47 FT_UInt color_index,
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttcolr.c271 FT_UInt color_index, in tt_face_colr_blend_layer() argument
367 if ( color_index == 0xFFFF ) in tt_face_colr_blend_layer()
400 b = face->palette[color_index].blue; in tt_face_colr_blend_layer()
401 g = face->palette[color_index].green; in tt_face_colr_blend_layer()
402 r = face->palette[color_index].red; in tt_face_colr_blend_layer()
403 alpha = face->palette[color_index].alpha; in tt_face_colr_blend_layer()
Dttcpal.c273 FT_UShort color_index; in tt_face_palette_set() local
280 color_index = FT_PEEK_USHORT( offset ); in tt_face_palette_set()
282 if ( color_index + face->palette_data.num_palette_entries > in tt_face_palette_set()
286 p = cpal->colors + COLOR_SIZE * color_index; in tt_face_palette_set()
Dttcolr.h48 FT_UInt color_index,
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcpal.c272 FT_UShort color_index; in tt_face_palette_set() local
279 color_index = FT_PEEK_USHORT( offset ); in tt_face_palette_set()
281 if ( color_index + face->palette_data.num_palette_entries > in tt_face_palette_set()
285 p = cpal->colors + COLOR_SIZE * color_index; in tt_face_palette_set()
Dttcolr.h73 FT_UInt color_index,
Dttcolr.c1117 FT_UInt color_index, in tt_face_colr_blend_layer() argument
1213 if ( color_index == 0xFFFF ) in tt_face_colr_blend_layer()
1246 b = face->palette[color_index].blue; in tt_face_colr_blend_layer()
1247 g = face->palette[color_index].green; in tt_face_colr_blend_layer()
1248 r = face->palette[color_index].red; in tt_face_colr_blend_layer()
1249 alpha = face->palette[color_index].alpha; in tt_face_colr_blend_layer()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-cpal-table.hh68 unsigned int color_index, in get_color_name_id()
72 return (base+colorLabelsZ).as_array (color_count)[color_index]; in get_color_name_id()
165 hb_ot_name_id_t get_color_name_id (unsigned int color_index) const in get_color_name_id()
166 { return v1 ().get_color_name_id (this, color_index, numColors); } in get_color_name_id()
Dhb-ot-color.h58 unsigned int color_index);
109 unsigned int color_index; member
Dhb-ot-color.cc130 unsigned int color_index) in hb_ot_color_palette_color_get_name_id() argument
132 return face->table.CPAL->get_color_name_id (color_index); in hb_ot_color_palette_color_get_name_id()
/third_party/boost/libs/math/doc/graphs/
Ddist_graphs.cpp251 int color_index = 0; in plot() local
269 .line_color(colors[color_index]) in plot()
274 ++color_index; in plot()
275 color_index = color_index % (sizeof(colors)/sizeof(colors[0])); in plot()
308 .line_color(colors[color_index]) in plot()
311 .area_fill(colors[color_index]); in plot()
312 ++color_index; in plot()
313 color_index = color_index % (sizeof(colors)/sizeof(colors[0])); in plot()
/third_party/boost/libs/geometry/test/algorithms/detail/
Dget_left_turns.cpp138 int color_index = 0; in test_one() local
141 angles.begin(); it != angles.end(); ++it, color_index++) in test_one()
145 … std::string style = "opacity:0.5;stroke-width:1;stroke:rgb(0,0,0);fill:" + get_color(color_index); in test_one()
189 sorted.begin(); sit != sorted.end(); ++sit, color_index++) in test_one()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-color.c336 g_assert_cmpuint (layers[0].color_index, ==, 1); in test_hb_ot_color_glyph_get_layers()
344 g_assert_cmpuint (layers[0].color_index, ==, 0); in test_hb_ot_color_glyph_get_layers()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-color.c334 g_assert_cmpuint (layers[0].color_index, ==, 1); in test_hb_ot_color_glyph_get_layers()
342 g_assert_cmpuint (layers[0].color_index, ==, 0); in test_hb_ot_color_glyph_get_layers()

12