/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 | intra_mode_search.c | 337 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_y() local 338 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in intra_mode_info_cost_y() 340 av1_palette_color_cost_y(&mbmi->palette_mode_info, color_cache, in intra_mode_info_cost_y() 390 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in intra_mode_info_cost_uv() local 391 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in intra_mode_info_cost_uv() 393 pmi, color_cache, n_cache, cpi->common.seq_params.bit_depth); in intra_mode_info_cost_uv() 542 static AOM_INLINE void optimize_palette_colors(uint16_t *color_cache, in optimize_palette_colors() argument 547 int min_diff = abs(centroids[i] - (int)color_cache[0]); in optimize_palette_colors() 550 const int this_diff = abs(centroids[i] - color_cache[j]); in optimize_palette_colors() 556 if (min_diff <= 1) centroids[i] = color_cache[idx]; in optimize_palette_colors() [all …]
|
D | bitstream.c | 672 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_y() local 673 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in write_palette_colors_y() 677 av1_index_color_cache(color_cache, n_cache, pmi->palette_colors, n, in write_palette_colors_y() 699 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in write_palette_colors_uv() local 700 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in write_palette_colors_uv() 704 color_cache, n_cache, colors_u, n, cache_color_found, out_cache_colors); in write_palette_colors_uv()
|
/external/ImageMagick/MagickCore/ |
D | color.c | 790 *color_cache = (LinkedListInfo *) NULL; variable 973 if (color_cache != (LinkedListInfo *) NULL) in ColorComponentTerminus() 974 color_cache=DestroyLinkedList(color_cache,DestroyColorElement); in ColorComponentTerminus() 1039 ResetLinkedListIterator(color_cache); in GetColorCompliance() 1040 p=(const ColorInfo *) GetNextValueInLinkedList(color_cache); in GetColorCompliance() 1051 p=(const ColorInfo *) GetNextValueInLinkedList(color_cache); in GetColorCompliance() 1057 (void) InsertValueInLinkedList(color_cache,0, in GetColorCompliance() 1058 RemoveElementByValueFromLinkedList(color_cache,p)); in GetColorCompliance() 1305 GetNumberOfElementsInLinkedList(color_cache)+1UL,sizeof(*colors)); in GetColorInfoList() 1312 ResetLinkedListIterator(color_cache); in GetColorInfoList() [all …]
|
/external/webp/src/utils/ |
D | color_cache_utils.h | 75 int VP8LColorCacheInit(VP8LColorCache* const color_cache, int hash_bits); 81 void VP8LColorCacheClear(VP8LColorCache* const color_cache);
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 1123 VP8LColorCache* const color_cache = in DecodeImageData() local 1180 if (color_cache != NULL) { in DecodeImageData() 1182 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1216 if (color_cache != NULL) { in DecodeImageData() 1218 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1223 assert(color_cache != NULL); in DecodeImageData() 1225 VP8LColorCacheInsert(color_cache, *last_cached++); in DecodeImageData() 1227 *src = VP8LColorCacheLookup(color_cache, key); in DecodeImageData()
|
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 475 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_y() local 477 const int n_cache = av1_get_palette_cache(xd, 0, color_cache); in read_palette_colors_y() 481 if (aom_read_bit(r, ACCT_STR)) cached_colors[idx++] = color_cache[i]; in read_palette_colors_y() 509 uint16_t color_cache[2 * PALETTE_MAX_SIZE]; in read_palette_colors_uv() local 511 const int n_cache = av1_get_palette_cache(xd, 1, color_cache); in read_palette_colors_uv() 514 if (aom_read_bit(r, ACCT_STR)) cached_colors[idx++] = color_cache[i]; in read_palette_colors_uv()
|