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

/frameworks/base/tools/aapt/
H A DImages.cpp875 png_colorp rgbPalette, png_bytep alphaPalette,
1106 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff);
1107 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff);
1108 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff);
1171 png_color rgbPalette[256]; local
1177 analyze_image(imageName, imageInfo, grayscaleTolerance, rgbPalette, alphaPalette,
1223 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries);
874 analyze_image(const char *imageName, image_info &imageInfo, int grayscaleTolerance, png_colorp rgbPalette, png_bytep alphaPalette, int *paletteEntries, int *alphaPaletteEntries, bool *hasTransparency, int *colorType, png_bytepp outRows) argument
/frameworks/base/tools/aapt2/compile/
H A DPng.cpp231 png_colorp rgbPalette, png_bytep alphaPalette,
383 rgbPalette[idx].red = (png_byte) ((col >> 24) & 0xff);
384 rgbPalette[idx].green = (png_byte) ((col >> 16) & 0xff);
385 rgbPalette[idx].blue = (png_byte) ((col >> 8) & 0xff);
448 png_color rgbPalette[256]; local
453 analyze_image(diag, *info, grayScaleTolerance, rgbPalette, alphaPalette,
490 png_set_PLTE(writePtr, infoPtr, rgbPalette, paletteEntries);
230 analyze_image(IDiagnostics* diag, const PngInfo& imageInfo, int grayscaleTolerance, png_colorp rgbPalette, png_bytep alphaPalette, int *paletteEntries, bool *hasTransparency, int *colorType, png_bytepp outRows) argument

Completed in 26 milliseconds