Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DImages.cpp893 int paletteSize = w * h + bpp * num_colors; in analyze_image() local
899 paletteSize, 2 * w * h, bpp * w * h)); in analyze_image()
916 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
922 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
/frameworks/native/opengl/libagl/
Dtexture.cpp484 const int paletteSize = (1 << indexBits) * entrySize; in decodePalette4() local
486 uint8_t const* pixels = (uint8_t *)data + paletteSize; in decodePalette4()