Home
last modified time | relevance | path

Searched refs:color_table (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Ddraw_bounding_box_op.cc31 std::vector<std::vector<float>> color_table; in DefaultColorTable() local
32 color_table.emplace_back(std::vector<float>({1, 1, 0, 1})); // 0: yellow in DefaultColorTable()
33 color_table.emplace_back(std::vector<float>({0, 0, 1, 1})); // 1: blue in DefaultColorTable()
34 color_table.emplace_back(std::vector<float>({1, 0, 0, 1})); // 2: red in DefaultColorTable()
35 color_table.emplace_back(std::vector<float>({0, 1, 0, 1})); // 3: lime in DefaultColorTable()
36 color_table.emplace_back(std::vector<float>({0.5, 0, 0.5, 1})); // 4: purple in DefaultColorTable()
37 color_table.emplace_back(std::vector<float>({0.5, 0.5, 0, 1})); // 5: olive in DefaultColorTable()
38 color_table.emplace_back(std::vector<float>({0.5, 0, 0, 1})); // 6: maroon in DefaultColorTable()
39 color_table.emplace_back(std::vector<float>({0, 0, 0.5, 1})); // 7: navy blue in DefaultColorTable()
40 color_table.emplace_back(std::vector<float>({0, 1, 1, 1})); // 8: aqua in DefaultColorTable()
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Ddraw_bounding_box_op_test.py63 color_table = colors
66 color_table = np.asarray([[1, 1, 0, 1], [0, 0, 1, 1], [1, 0, 0, 1],
73 assert depth <= color_table.shape[1]
77 color_table[:, 0] = 1
78 num_colors = color_table.shape[0]
82 color = color_table[(num_boxes - 1) % num_colors, 0:depth]
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/StdSuites/
DType_Names_Suite.py46 class color_table(aetools.ComponentItem): class
211 color_table._superclassnames = []
212 color_table._privpropdict = {
214 color_table._privelemdict = {
392 'clrt' : color_table,
D__init__.py122 getbaseclasses(color_table)
317 'clrt' : color_table,
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Finder/
D__init__.py76 getbaseclasses(StdSuites.Type_Names_Suite.color_table)
151 'clrt' : StdSuites.Type_Names_Suite.color_table,
/external/mesa3d/src/gallium/frontends/vdpau/
Doutput.c293 void const *color_table) in vlVdpOutputSurfacePutBitsIndexed() argument
329 if (!color_table) in vlVdpOutputSurfacePutBitsIndexed()
395 context->texture_subdata(context, res, 0, PIPE_MAP_WRITE, &box, color_table, in vlVdpOutputSurfacePutBitsIndexed()
/external/mesa3d/src/mesa/drivers/x11/
DxmesaP.h226 unsigned long color_table[576]; /* RGB -> pixel value */ member