Searched refs:alpha_palette (Results 1 – 1 of 1) sorted by relevance
369 std::unordered_set<uint32_t>* alpha_palette) { in WritePalette() argument371 CHECK(alpha_palette->size() <= 256); in WritePalette()379 for (uint32_t color : *alpha_palette) { in WritePalette()394 if (!alpha_palette->empty()) { in WritePalette()395 alpha_palette_bytes = std::unique_ptr<png_byte[]>(new png_byte[alpha_palette->size()]); in WritePalette()411 CHECK(static_cast<size_t>(index) < alpha_palette->size()); in WritePalette()422 png_set_tRNS(write_ptr, write_info_ptr, alpha_palette_bytes.get(), alpha_palette->size(), in WritePalette()518 std::unordered_set<uint32_t> alpha_palette; in WritePng() local548 alpha_palette.insert(color); in WritePng()568 msg << " paletteSize=" << color_palette.size() << " alphaPaletteSize=" << alpha_palette.size() in WritePng()[all …]