Searched refs:alpha_first (Results 1 - 5 of 5) sorted by relevance

/external/webp/src/dsp/
H A Dalpha_processing_sse2.c172 static void ApplyAlphaMultiply(uint8_t* rgba, int alpha_first, argument
180 if (!alpha_first) {
197 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0);
198 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3);
H A Dalpha_processing.c220 static void ApplyAlphaMultiply(uint8_t* rgba, int alpha_first, argument
223 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0);
224 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3);
H A Ddsp.h394 // alpha_first should be 0 for argb, 1 for rgba or bgra (where alpha is last).
396 uint8_t* rgba, int alpha_first, int w, int h, int stride);
/external/webp/src/dec/
H A Dio.c180 const int alpha_first = local
186 uint8_t* const dst = base_rgba + (alpha_first ? 0 : 3);
193 WebPApplyAlphaMultiply(base_rgba, alpha_first,
387 const int alpha_first = local
389 uint8_t* dst = base_rgba + (alpha_first ? 0 : 3);
404 WebPApplyAlphaMultiply(base_rgba, alpha_first,
/external/libpng/contrib/libtests/
H A Dpngvalid.c5647 unsigned int alpha_first :1; /* Alpha at start, not end */ member in struct:image_pixel
5742 if ((colour_type & 4) != 0 && format != 0 && format->alpha_first)
5770 if (format == 0 || !format->alpha_first)
5797 this->alpha_first = 0;
8142 that->alpha_first = 1;
8268 that->alpha_first = data.flags == PNG_FILLER_BEFORE;
8329 that->alpha_first = data.flags == PNG_FILLER_BEFORE;

Completed in 204 milliseconds