Home
last modified time | relevance | path

Searched refs:paletteSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
DPng.cpp348 int paletteSize = w * h + bpp * num_colors; in analyze_image() local
354 printf("Size w/ palette = %d, gray+alpha = %d, rgb(a) = %d\n", paletteSize, in analyze_image()
376 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
382 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp1035 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local
1043 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()
1061 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
1067 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
/frameworks/native/opengl/libagl/
Dtexture.cpp473 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4() local
475 uint8_t const* pixels = (uint8_t *)data + paletteSize; in decodePalette4()