Searched refs:rgbPalette (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 231 png_colorp rgbPalette, png_bytep alphaPalette, in analyze_image() argument 383 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff); in analyze_image() 384 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff); in analyze_image() 385 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff); in analyze_image() 448 png_color rgbPalette[256]; in writePng() local 453 analyze_image(diag, *info, grayScaleTolerance, rgbPalette, alphaPalette, in writePng() 490 png_set_PLTE(writePtr, infoPtr, rgbPalette, paletteEntries); in writePng()
|
/frameworks/base/tools/aapt/ |
D | Images.cpp | 875 png_colorp rgbPalette, png_bytep alphaPalette, in analyze_image() argument 1106 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff); in analyze_image() 1107 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff); in analyze_image() 1108 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff); in analyze_image() 1171 png_color rgbPalette[256]; in write_png() local 1177 analyze_image(imageName, imageInfo, grayscaleTolerance, rgbPalette, alphaPalette, in write_png() 1223 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png()
|