Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Ddraw_bounding_box_op.cc93 int64 color_index = bb % color_table_length; in Compute() local
147 static_cast<T>(color_table[color_index][c]); in Compute()
155 static_cast<T>(color_table[color_index][c]); in Compute()
163 static_cast<T>(color_table[color_index][c]); in Compute()
171 static_cast<T>(color_table[color_index][c]); in Compute()
/external/harfbuzz_ng/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.cc118 unsigned int color_index) in hb_ot_color_palette_color_get_name_id() argument
120 return face->table.CPAL->get_color_name_id (color_index); in hb_ot_color_palette_color_get_name_id()
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()
Dhb-ot-color-colr-table.hh111 layers[i].color_index = segment_layers.arrayZ[i].colorIdx; in get_glyph_layers()
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.cc151 GifByteType color_index = in Decode() local
155 if (color_index >= color_map->ColorCount) { in Decode()
156 *error_string = strings::StrCat("found color index ", color_index, in Decode()
162 const GifColorType& gif_color = color_map->Colors[color_index]; in Decode()
/external/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()
Dttcolr.h48 FT_UInt color_index,
/external/ImageMagick/coders/
Dsixel.c243 int repeat_count, color_index, max_color_index = 2, background_color_index; in sixel_decode() local
259 color_index = 0; in sixel_decode()
399 if ((color_index = param[0]) < 0) { in sixel_decode()
400 color_index = 0; in sixel_decode()
401 } else if (color_index >= SIXEL_PALETTE_MAX) { in sixel_decode()
402 color_index = SIXEL_PALETTE_MAX - 1; in sixel_decode()
411 sixel_palet[color_index] = hls_to_rgb(param[2] * 100 / 360, param[3], param[4]); in sixel_decode()
416 sixel_palet[color_index] = SIXEL_XRGB(param[2], param[3], param[4]); in sixel_decode()
462 if (color_index > max_color_index) { in sixel_decode()
463 max_color_index = color_index; in sixel_decode()
[all …]
/external/tensorflow/tensorflow/python/debug/cli/
Dcurses_ui.py411 color_index = 0
416 color_index += 1
417 curses.init_pair(color_index, self._FOREGROUND_COLORS[fg_color],
424 self._color_pairs[color_name] = curses.color_pair(color_index)
428 color_index += 1
429 curses.init_pair(color_index, 245, -1)
430 self._color_pairs[cli_shared.COLOR_GRAY] = curses.color_pair(color_index)
/external/blktrace/iowatcher/
Dplot.c88 static int color_index; in pick_color() local
89 char *ret = colors[color_index]; in pick_color()
92 color_index = 0; in pick_color()
93 ret = colors[color_index]; in pick_color()
95 color_index++; in pick_color()
/external/pdfium/core/fpdfapi/render/
Dcpdf_dibsource.cpp1033 unsigned int color_index = 0; in GetScanline() local
1036 color_index |= data << (color * m_bpc); in GetScanline()
1039 m_pLineBuf[col] = color_index; in GetScanline()
1257 unsigned int color_index = 0; in DownSampleScanline8Bit() local
1260 color_index |= data << (color * m_bpc); in DownSampleScanline8Bit()
1263 m_pLineBuf[col] = color_index; in DownSampleScanline8Bit()
/external/harfbuzz_ng/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()
/external/freetype/include/freetype/internal/
Dsfnt.h572 FT_UInt color_index,
/external/freetype/src/base/
Dftobjs.c4520 FT_UInt color_index; in FT_Render_Glyph_Internal() local
4528 &color_index, in FT_Render_Glyph_Internal()
4558 color_index, in FT_Render_Glyph_Internal()
4567 &color_index, in FT_Render_Glyph_Internal()
/external/freetype/
DChangeLog1014 (TT_Blend_Colr_Func): Change type of `color_index' to `FT_UInt'.
1022 `color_index' to `FT_UInt'.