Searched refs:rgbPalette (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | Png.cpp | 233 png_colorp rgbPalette, png_bytep alphaPalette, in analyze_image() argument 385 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff); in analyze_image() 386 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff); in analyze_image() 387 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff); in analyze_image() 450 png_color rgbPalette[256]; in writePng() local 455 analyze_image(logger, *info, grayScaleTolerance, rgbPalette, alphaPalette, in writePng() 492 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 1026 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff); in analyze_image() 1027 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff); in analyze_image() 1028 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff); in analyze_image() 1090 png_color rgbPalette[256]; in write_png() local 1095 analyze_image(imageName, imageInfo, grayscaleTolerance, rgbPalette, alphaPalette, in write_png() 1132 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png()
|