Searched refs:color_neighbors (Results 1 – 1 of 1) sorted by relevance
907 int color_neighbors[NUM_PALETTE_NEIGHBORS]; in av1_get_palette_color_index_context() local908 color_neighbors[0] = (c - 1 >= 0) ? color_map[r * stride + c - 1] : -1; in av1_get_palette_color_index_context()909 color_neighbors[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()920 if (color_neighbors[i] >= 0) { in av1_get_palette_color_index_context()921 scores[color_neighbors[i]] += weights[i]; in av1_get_palette_color_index_context()