Home | History | Annotate | Download | only in compile

Lines Matching full:alpha

302 // - RGB + cheap alpha
304 // - Color palette + cheap alpha
305 // - Color palette + alpha palette
307 // - Grayscale + cheap alpha
308 // - Grayscale + alpha
325 // This grayscale has alpha and can fit within a palette.
367 // Assigns indices to the color and alpha palettes, encodes them, and then invokes
379 // Colors in the alpha palette should have smaller indices.
380 // This will ensure that we can truncate the alpha palette if it is
413 const png_byte alpha = color & 0x000000ff;
414 if (alpha != 0xff && alpha_palette_bytes) {
416 alpha_palette_bytes[index] = alpha;
534 int alpha = *row++;
536 if (alpha == 0) {
547 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha;
550 // If the pixel has non-opaque alpha, insert it into the
551 // alpha palette.
552 if (alpha != 0xff) {
597 msg << "GRAY + ALPHA";
689 // Write out alpha if we have it.
724 // ignore the alpha channel.
726 // Delete the extraneous alpha values that we appended to our buffer