Home
last modified time | relevance | path

Searched refs:num_colors (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display-test.cpp302 uint32_t num_colors = color_textures.size(); in FillWriteBuffer() local
326 uint32_t num_pixels = width * height / num_colors; in FillWriteBuffer()
327 for (uint32_t color_index = 0; color_index < num_colors - 1; ++color_index) { in FillWriteBuffer()
336 uint32_t color_texture = color_textures[num_colors - 1]; in FillWriteBuffer()
337 uint32_t num_colored_pixels = num_pixels * (num_colors - 1); in FillWriteBuffer()
/frameworks/base/tools/aapt2/compile/
DPng.cpp257 int num_colors = 0; in analyze_image() local
320 for (idx = 0; idx < num_colors; idx++) { in analyze_image()
332 if (num_colors == 256) { in analyze_image()
338 colors[num_colors++] = col; in analyze_image()
348 int paletteSize = w * h + bpp * num_colors; in analyze_image()
399 *paletteEntries = num_colors; in analyze_image()
402 for (int idx = 0; idx < num_colors; idx++) { in analyze_image()