Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp249 int grayscaleTolerance, png_colorp rgbPalette, in analyze_image() argument
404 rgbPalette[idx].red = (png_byte)((col >> 24) & 0xff); in analyze_image()
405 rgbPalette[idx].green = (png_byte)((col >> 16) & 0xff); in analyze_image()
406 rgbPalette[idx].blue = (png_byte)((col >> 8) & 0xff); in analyze_image()
470 png_color rgbPalette[256]; in writePng() local
475 analyze_image(diag, *info, grayScaleTolerance, rgbPalette, alphaPalette, in writePng()
516 png_set_PLTE(writePtr, infoPtr, rgbPalette, paletteEntries); in writePng()
/frameworks/base/tools/aapt/
DImages.cpp876 png_colorp rgbPalette, png_bytep alphaPalette, in analyze_image() argument
1107 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff); in analyze_image()
1108 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff); in analyze_image()
1109 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff); in analyze_image()
1172 png_color rgbPalette[256]; in write_png() local
1178 analyze_image(imageName, imageInfo, grayscaleTolerance, rgbPalette, alphaPalette, in write_png()
1224 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png()