Home
last modified time | relevance | path

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

/external/webp/src/dsp/
Dalpha_processing_neon.c42 static void ApplyAlphaMultiply_NEON(uint8_t* rgba, int alpha_first, in ApplyAlphaMultiply_NEON() argument
48 if (alpha_first) { in ApplyAlphaMultiply_NEON()
64 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0); in ApplyAlphaMultiply_NEON()
65 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply_NEON()
Dalpha_processing_sse2.c177 static void ApplyAlphaMultiply_SSE2(uint8_t* rgba, int alpha_first, in ApplyAlphaMultiply_SSE2() argument
186 if (!alpha_first) { in ApplyAlphaMultiply_SSE2()
197 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0); in ApplyAlphaMultiply_SSE2()
198 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply_SSE2()
Dalpha_processing.c224 static void ApplyAlphaMultiply_C(uint8_t* rgba, int alpha_first, in ApplyAlphaMultiply_C() argument
227 uint8_t* const rgb = rgba + (alpha_first ? 1 : 0); in ApplyAlphaMultiply_C()
228 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); in ApplyAlphaMultiply_C()
Ddsp.h567 uint8_t* rgba, int alpha_first, int w, int h, int stride);
/external/webp/src/dec/
Dio_dec.c185 const int alpha_first = in EmitAlphaRGB() local
191 uint8_t* const dst = base_rgba + (alpha_first ? 0 : 3); in EmitAlphaRGB()
198 WebPApplyAlphaMultiply(base_rgba, alpha_first, in EmitAlphaRGB()
408 const int alpha_first = in ExportAlpha() local
410 uint8_t* dst = base_rgba + (alpha_first ? 0 : 3); in ExportAlpha()
425 WebPApplyAlphaMultiply(base_rgba, alpha_first, in ExportAlpha()
/external/libpng/contrib/libtests/
Dpngvalid.c6022 unsigned int alpha_first :1; /* Alpha at start, not end */ member
6117 if ((colour_type & 4) != 0 && format != 0 && format->alpha_first) in image_pixel_init()
6145 if (format == 0 || !format->alpha_first) in image_pixel_init()
6172 this->alpha_first = 0; in image_pixel_init()
8515 that->alpha_first = 1; in image_transform_png_set_swap_alpha_mod()
8641 that->alpha_first = data.flags == PNG_FILLER_BEFORE; in image_transform_png_set_filler_mod()
8702 that->alpha_first = data.flags == PNG_FILLER_BEFORE; in image_transform_png_set_add_alpha_mod()