Home
last modified time | relevance | path

Searched refs:color_map (Results 1 – 13 of 13) sorted by relevance

/external/libaom/libaom/av1/decoder/
Ddetokenize.c28 uint8_t *const color_map = param->color_map; in decode_color_map_tokens() local
36 color_map[0] = av1_read_uniform(r, n); in decode_color_map_tokens()
37 assert(color_map[0] < n); in decode_color_map_tokens()
43 color_map, plane_block_width, (i - j), j, n, color_order, NULL); in decode_color_map_tokens()
47 color_map[(i - j) * plane_block_width + j] = color_order[color_idx]; in decode_color_map_tokens()
53 memset(color_map + i * plane_block_width + cols, in decode_color_map_tokens()
54 color_map[i * plane_block_width + cols - 1], in decode_color_map_tokens()
60 memcpy(color_map + i * plane_block_width, in decode_color_map_tokens()
61 color_map + (rows - 1) * plane_block_width, plane_block_width); in decode_color_map_tokens()
69 params.color_map = in av1_decode_palette_tokens()
/external/autotest/tko/
Ddisplay.py6 color_map = { variable
47 keys = filter(lambda key: key.endswith('pct'), color_map.keys())
54 % color_map[key]
117 if color_map.has_key(color_key):
118 self.color = color_map[color_key]
120 self.color = color_map['header']
122 self.color = color_map['plain_text']
124 self.color = color_map['blank']
283 color_map['borders'])
/external/tensorflow/tensorflow/core/lib/gif/
Dgif_io.cc140 ColorMapObject* color_map = this_image->ImageDesc.ColorMap in Decode() local
143 if (color_map == nullptr) { in Decode()
155 if (color_index >= color_map->ColorCount) { in Decode()
158 color_map->ColorCount); in Decode()
162 const GifColorType& gif_color = color_map->Colors[color_index]; in Decode()
/external/libaom/libaom/av1/encoder/
Dtokenize.c33 const uint8_t *const color_map = param->color_map; in cost_and_tokenize_map() local
52 color_map, plane_block_width, i, j, n, color_order, &color_new_idx); in cost_and_tokenize_map()
83 params->color_map = xd->plane[plane].color_index_map; in get_palette_params()
124 (*t)->token = color_map_params.color_map[0]; in av1_tokenize_color_map()
Drdopt.c4090 const uint8_t *const color_map = xd->plane[0].color_index_map; in intra_mode_info_cost_y() local
4097 write_uniform_cost(plt_size, color_map[0]); in intra_mode_info_cost_y()
4147 const uint8_t *const color_map = xd->plane[1].color_index_map; in intra_mode_info_cost_uv() local
4150 write_uniform_cost(plt_size, color_map[0]); in intra_mode_info_cost_uv()
4237 static void extend_palette_color_map(uint8_t *const color_map, int orig_width, in extend_palette_color_map() argument
4246 memmove(color_map + j * new_width, color_map + j * orig_width, orig_width); in extend_palette_color_map()
4248 memset(color_map + j * new_width + orig_width, in extend_palette_color_map()
4249 color_map[j * new_width + orig_width - 1], new_width - orig_width); in extend_palette_color_map()
4253 memcpy(color_map + j * new_width, color_map + (orig_height - 1) * new_width, in extend_palette_color_map()
4306 uint8_t *const color_map = xd->plane[0].color_index_map; in palette_rd_y() local
[all …]
/external/webp/src/dsp/
Dlossless_mips_dsp_r2.c24 const uint32_t* const color_map, \
79 : [color_map]"r"(color_map) \
84 *dst++ = GET_VALUE(color_map[GET_INDEX(*src++)]); \
Dlossless.c326 static void F_NAME(const TYPE* src, const uint32_t* const color_map, \
332 *dst++ = GET_VALUE(color_map[GET_INDEX(*src++)]); \
342 const uint32_t* const color_map = transform->data_; \
356 *dst++ = GET_VALUE(color_map[packed_pixels & bit_mask]); \
361 VP8LMapColor##BIT_SUFFIX(src, color_map, dst, y_start, y_end, width); \
Dlossless.h81 const uint32_t* const color_map,
85 const uint32_t* const color_map,
/external/libaom/libaom/av1/common/
Dentropymode.c900 int av1_get_palette_color_index_context(const uint8_t *color_map, int stride, in av1_get_palette_color_index_context() argument
908 color_neighbors[0] = (c - 1 >= 0) ? color_map[r * stride + c - 1] : -1; in av1_get_palette_color_index_context()
910 (c - 1 >= 0 && r - 1 >= 0) ? color_map[(r - 1) * stride + c - 1] : -1; in av1_get_palette_color_index_context()
911 color_neighbors[2] = (r - 1 >= 0) ? color_map[(r - 1) * stride + c] : -1; in av1_get_palette_color_index_context()
958 *color_idx = inverse_color_order[color_map[r * stride + c]]; in av1_get_palette_color_index_context()
Dentropymode.h205 int av1_get_palette_color_index_context(const uint8_t *color_map, int stride,
Dblockd.h1130 uint8_t *color_map; member
/external/libjpeg-turbo/
Dwrppm.c219 register JSAMPROW color_map = cinfo->colormap[0]; in put_demapped_gray() local
225 PUTPPMSAMPLE(bufferptr, GETJSAMPLE(color_map[GETJSAMPLE(*ptr++)])); in put_demapped_gray()
/external/tensorflow/tensorflow/compiler/xla/service/
Dbuffer_assignment.cc1139 color_map; in SplitBuffersByColor() local
1141 color_map[buffer->color()].insert(buffer); in SplitBuffersByColor()
1143 return color_map; in SplitBuffersByColor()
1186 auto color_map = SplitBuffersByColor(all_buffers_to_assign); in AssignBuffersWithSequentialOrdering() local
1187 for (auto& single_colored_set : color_map) { in AssignBuffersWithSequentialOrdering()
1217 auto color_map = SplitBuffersByColor(buffers_to_assign); in AssignBuffersWithSequentialOrdering() local
1218 for (auto& single_colored_set : color_map) { in AssignBuffersWithSequentialOrdering()