/external/libaom/libaom/av1/encoder/ |
D | palette.c | 70 int av1_index_color_cache(const uint16_t *color_cache, int n_cache, in av1_index_color_cache() argument 83 if (colors[j] == color_cache[i]) { in av1_index_color_cache() 118 uint16_t *color_cache, int n_cache, in av1_palette_color_cost_y() argument 124 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in av1_palette_color_cost_y() 132 uint16_t *color_cache, int n_cache, in av1_palette_color_cost_uv() argument 140 color_cache, n_cache, pmi->palette_colors + PALETTE_MAX_SIZE, n, in av1_palette_color_cost_uv()
|
D | palette.h | 74 int av1_index_color_cache(const uint16_t *color_cache, int n_cache, 85 uint16_t *color_cache, int n_cache, int bit_depth); 89 uint16_t *color_cache, int n_cache,
|
D | bitstream.c | 683 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y() local 684 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in write_palette_colors_y() 688 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in write_palette_colors_y() 710 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv() local 711 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in write_palette_colors_uv() 715 color_cache, n_cache, colors_u, n, cache_color_found, out_cache_colors); in write_palette_colors_uv()
|
D | rdopt.c | 4098 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_y() local 4099 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in intra_mode_info_cost_y() 4101 av1_palette_color_cost_y(&mbmi->palette_mode_info, color_cache, in intra_mode_info_cost_y() 4151 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_uv() local 4152 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in intra_mode_info_cost_uv() 4154 pmi, color_cache, n_cache, cpi->common.seq_params.bit_depth); in intra_mode_info_cost_uv() 4260 static void optimize_palette_colors(uint16_t *color_cache, int n_cache, in optimize_palette_colors() argument 4264 int min_diff = abs(centroids[i] - (int)color_cache[0]); in optimize_palette_colors() 4267 const int this_diff = abs(centroids[i] - color_cache[j]); in optimize_palette_colors() 4273 if (min_diff <= 1) centroids[i] = color_cache[idx]; in optimize_palette_colors() [all …]
|
/external/ImageMagick/MagickCore/ |
D | color.c | 790 *color_cache = (LinkedListInfo *) NULL; variable 969 if (color_cache != (LinkedListInfo *) NULL) in ColorComponentTerminus() 970 color_cache=DestroyLinkedList(color_cache,DestroyColorElement); in ColorComponentTerminus() 1035 ResetLinkedListIterator(color_cache); in GetColorCompliance() 1036 p=(const ColorInfo *) GetNextValueInLinkedList(color_cache); in GetColorCompliance() 1047 p=(const ColorInfo *) GetNextValueInLinkedList(color_cache); in GetColorCompliance() 1053 (void) InsertValueInLinkedList(color_cache,0, in GetColorCompliance() 1054 RemoveElementByValueFromLinkedList(color_cache,p)); in GetColorCompliance() 1320 GetNumberOfElementsInLinkedList(color_cache)+1UL,sizeof(*colors)); in GetColorInfoList() 1327 ResetLinkedListIterator(color_cache); in GetColorInfoList() [all …]
|
/external/webp/src/utils/ |
D | color_cache_utils.h | 73 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits); 79 void VP8LColorCacheClear(VP8LColorCache* const color_cache);
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 1128 VP8LColorCache* const color_cache = in DecodeImageData() local 1185 if (color_cache != NULL) { in DecodeImageData() 1187 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1220 if (color_cache != NULL) { in DecodeImageData() 1222 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1227 assert(color_cache != NULL); in DecodeImageData() 1229 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1231 *src = VP8LColorCacheLookup(color_cache, key); in DecodeImageData()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 453 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_y() local 455 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in read_palette_colors_y() 459 if (aom_read_bit(r, ACCT_STR)) cached_colors[idx++] = color_cache[i]; in read_palette_colors_y() 487 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_uv() local 489 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in read_palette_colors_uv() 492 if (aom_read_bit(r, ACCT_STR)) cached_colors[idx++] = color_cache[i]; in read_palette_colors_uv()
|