Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPngCrunch.cpp402 std::unique_ptr<png_byte[]> alpha_palette_bytes; in WritePalette() local
404 alpha_palette_bytes = std::unique_ptr<png_byte[]>(new png_byte[alpha_palette->size()]); in WritePalette()
419 if (alpha != 0xff && alpha_palette_bytes) { in WritePalette()
421 alpha_palette_bytes[index] = alpha; in WritePalette()
430 if (alpha_palette_bytes) { in WritePalette()
431 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette()