Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp329 int paletteSize = w * h + bpp * num_colors; in analyze_image() local
336 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()
354 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
360 } else if (isPalette && (paletteSize < bpp * w * h)) { in analyze_image()
/frameworks/base/tools/aapt/
DImages.cpp1034 int paletteSize = w * h + 3 * numOpaqueColors + 4 * numAlphaColors; in analyze_image() local
1042 paletteSize, 2 * w * h, bpp * w * h); in analyze_image()
1060 if (isPalette && (paletteSize < 2 * w * h)) { in analyze_image()
1066 } 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()