/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | State.cpp | 69 mBlendColor.alpha = 0; 206 void State::setClearColor(float red, float green, float blue, float alpha) argument 211 mColorClearValue.alpha = alpha; 280 void State::setColorMask(bool red, bool green, bool blue, bool alpha) argument 285 mBlend.colorMaskAlpha = alpha; 368 void State::setBlendColor(float red, float green, float blue, float alpha) argument 373 mBlendColor.alpha = alpha; 1169 params[3] = mColorClearValue.alpha; [all...] |
/external/chromium_org/third_party/libwebp/dec/ |
H A D | vp8l.c | 35 // 2. alpha, 533 // Lastly, store alpha if needed. 654 // Special method for paletted alpha data. 710 // Row-processing for the special case when alpha data contains only one 716 // call to ReadSymbol() for red/blue/alpha channels. 855 int red, green, blue, alpha; local 860 alpha = ReadSymbol(&htree_group->htrees_[ALPHA], br); 861 *src = ((uint32_t)alpha << 24) | (red << 16) | (green << 8) | blue; 1194 // first row in the row-blocks. Not needed for paletted alpha. 1196 // Scratch buffer for temporary BGRA storage. Not needed for paletted alpha [all...] |
/external/chromium_org/third_party/libwebp/demux/ |
H A D | demux.c | 233 if (alpha_chunks > 0) return PARSE_ERROR; // VP8L has its own alpha 438 // Clear any alpha when the alpha flag is missing. 446 // Also, set ALPHA_FLAG if this is a lossless image with alpha. 650 const ChunkData* const alpha = f->img_components_ + 1; local 657 if (alpha->size_ == 0 && image->size_ == 0) return 0; 658 // Ensure alpha precedes image bitstream. 659 if (alpha->size_ > 0 && alpha->offset_ > image->offset_) { 668 // Ensure alpha precede 824 const ChunkData* const alpha = frame->img_components_ + 1; local [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | quant.c | 301 static double QualityToJPEGCompression(double c, double alpha) { argument 302 // We map the complexity 'alpha' and quality setting 'c' to a compression 313 const double expn = (alpha > amax) ? exp_min 314 : (alpha < amin) ? exp_max 315 : exp_max + slope * (alpha - amin);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_gen_mipmap.c | 462 const int alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local 463 dst[i] = (alpha << 12) | (blue << 8) | (green << 4) | red; 492 const int alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local 493 dst[i] = (alpha << 15) | (blue << 10) | (green << 5) | red; 1282 /* no-op depth/stencil/alpha */
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_schedule.c | 68 * PairedInst references the alpha insturction's dependency information. 498 * but no scalar instruction (alpha). 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused */ 600 struct rc_pair_instruction * alpha) 605 assert(alpha->RGB.Opcode == RC_OPCODE_NOP); 612 if (alpha->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { 613 if (!merge_presub_sources(rgb, alpha->RGB, RC_SOURCE_RGB)) { 617 /* Merge the alpha presubtract registers */ 618 if (alpha->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 619 if(!merge_presub_sources(rgb, alpha 598 destructive_merge_instructions( struct rc_pair_instruction * rgb, struct rc_pair_instruction * alpha) argument 685 merge_instructions(struct rc_pair_instruction * rgb, struct rc_pair_instruction * alpha) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/include/pipe/ |
H A D | p_state.h | 248 struct pipe_alpha_state alpha; member in struct:pipe_depth_stencil_alpha_state 379 unsigned swizzle_a:3; /**< PIPE_SWIZZLE_x for alpha component */
|
/external/chromium_org/third_party/qcms/src/ |
H A D | transform.c | 312 unsigned char alpha = *src++; local 323 dest[3] = alpha; 360 unsigned char alpha = *src++; local 371 dest[3] = alpha; 424 unsigned char alpha = *src++; local 447 dest[3] = alpha; 803 unsigned char alpha = *src++; local 828 dest[3] = alpha;
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkColorPriv.h | 173 alpha * value / 255. 175 In debugging, asserts that alpha is 0..255 177 static inline unsigned SkAlpha255To256(U8CPU alpha) { argument 178 SkASSERT(SkToU8(alpha) == alpha); 181 return alpha + 1; 207 * Returns (src * alpha + dst * (255 - alpha)) / 255 211 static inline int SkAlphaBlend255(S16CPU src, S16CPU dst, U8CPU alpha) { argument 214 SkASSERT((uint8_t)alpha [all...] |
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 371 // regardless of the paint's alpha 378 U8CPU alpha, const SkGradientShaderBase& shader) 379 : fCacheAlpha(alpha) 400 paint specifies a non-opaque alpha. 652 * The gradient holds a cache for the most recent value of alpha. Successive 653 * callers with the same alpha value will share the same cache. 655 SkGradientShaderBase::GradientShaderCache* SkGradientShaderBase::refCache(U8CPU alpha) const { 657 if (!fCache || fCache->getAlpha() != alpha) { 658 fCache.reset(SkNEW_ARGS(GradientShaderCache, (alpha, *this))); 677 // our caller assumes no external alpha, s 377 GradientShaderCache( U8CPU alpha, const SkGradientShaderBase& shader) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLNoOpInterface.cpp | 54 GrGLclampf alpha) { 78 GrGLclampf alpha) { 87 GrGLboolean alpha) { 51 noOpGLBlendColor(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha) argument 75 noOpGLClearColor(GrGLclampf red, GrGLclampf green, GrGLclampf blue, GrGLclampf alpha) argument 84 noOpGLColorMask(GrGLboolean red, GrGLboolean green, GrGLboolean blue, GrGLboolean alpha) argument
|
/external/chromium_org/third_party/skia/src/pdf/ |
H A D | SkPDFShader.cpp | 780 // Create resource dict with alpha graphics state as G0 and 1287 * Create a copy of this gradient state with alpha assigned to RGB luminousity. 1296 SkAlpha alpha = SkColorGetA(fInfo.fColors[i]); local 1297 newState->fInfo.fColors[i] = SkColorSetARGB(255, alpha, alpha, alpha); 1304 * Create a copy of this gradient state with alpha set to fully opaque 1320 * Returns true if state is a gradient and the gradient has alpha. 1328 SkAlpha alpha = SkColorGetA(fInfo.fColors[i]); local 1329 if (alpha ! [all...] |
/external/chromium_org/ui/gl/ |
H A D | gl_bindings_skia_in_process.cc | 68 GLclampf alpha) { 69 glBlendColor(red, green, blue, alpha); 102 GLclampf alpha) { 103 glClearColor(red, green, blue, alpha); 111 GLboolean alpha) { 112 glColorMask(red, green, blue, alpha); 67 StubGLBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 101 StubGLClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument 110 StubGLColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument
|
/external/chromium_org/ui/native_theme/ |
H A D | native_theme_base.cc | 74 SkColor BrightenColor(const color_utils::HSL& hsl, SkAlpha alpha, argument 83 return color_utils::HSLToSkColor(adjusted, alpha);
|
/external/deqp/framework/opengl/simplereference/ |
H A D | sglrGLContext.cpp | 443 void GLContext::clearColor (float red, float green, float blue, float alpha) argument 445 m_wrapper->glClearColor(red, green, blue, alpha); 575 void GLContext::blendColor (float red, float green, float blue, float alpha) argument 577 m_wrapper->glBlendColor(red, green, blue, alpha);
|
/external/deqp/modules/egl/ |
H A D | teglImageFormatTests.cpp | 1366 float alpha = 1.0f; local 1378 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha)); 1385 tcu::Vec4 color = tcu::Vec4(red, green, blue, alpha);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureUnitTests.cpp | 888 deUint32 alpha = 0xff000000; local 890 deUint32 colorA = alpha | rgb; 891 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff);
|
/external/libpng/ |
H A D | pngread.c | 621 * image has alpha or transparency, and png_handle_alpha()[*] has been 633 * alpha channel or a transparency chunk, you must provide a buffer for 827 /* Read the entire image. If the image has an alpha channel or a tRNS 1218 /* Strip alpha bytes from the input data without combining with 1250 * Expand paletted or RGB images with transparency to full alpha 1309 /* Invert the alpha channel from opacity to transparency */ 1397 #define PNG_CMAP_GA 1 /* Process GA data to a color-map with alpha */ 1849 png_uint_32 foreground, int foreground_encoding, png_uint_32 alpha, 1854 * file and alpha are 8-bit values. The (output) encoding will always be 1860 /* The alpha i 1848 png_colormap_compose(png_image_read_control *display, png_uint_32 foreground, int foreground_encoding, png_uint_32 alpha, png_uint_32 background, int encoding) argument 1885 png_create_colormap_entry(png_image_read_control *display, png_uint_32 ip, png_uint_32 red, png_uint_32 green, png_uint_32 blue, png_uint_32 alpha, int encoding) argument 2593 png_uint_32 alpha = 51 * a; local 3129 unsigned int alpha = *inrow++; local 3157 png_byte alpha = *inrow++; local 3181 unsigned int alpha = inrow[3]; local 3443 png_byte alpha = inrow[channels]; local 3605 png_byte alpha = inrow[1]; local 3650 png_byte alpha = inrow[1]; local 3744 png_uint_16 alpha = inrow[1]; local [all...] |
/external/libyuv/files/source/ |
H A D | row_posix.cc | 2710 // Shuffle table for isolating alpha. 2720 // psrlw xmm3, 8 // alpha 2721 // pshufhw xmm3, xmm3,0F5h // 8 alpha words 2724 // pshufb xmm3, kShuffleAlpha // alpha 2919 // Shuffle table duplicating alpha 2978 uintptr_t alpha = 0; local 3018 "+r"(alpha) // %3
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_gen_mipmap.c | 462 const int alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local 463 dst[i] = (alpha << 12) | (blue << 8) | (green << 4) | red; 492 const int alpha = (rowAa0 + rowAa1 + rowBa0 + rowBa1) >> 2; local 493 dst[i] = (alpha << 15) | (blue << 10) | (green << 5) | red; 1282 /* no-op depth/stencil/alpha */
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_pair_schedule.c | 68 * PairedInst references the alpha insturction's dependency information. 498 * but no scalar instruction (alpha). 597 /* This function assumes that rgb.Alpha and alpha.RGB are unused */ 600 struct rc_pair_instruction * alpha) 605 assert(alpha->RGB.Opcode == RC_OPCODE_NOP); 612 if (alpha->RGB.Src[RC_PAIR_PRESUB_SRC].Used) { 613 if (!merge_presub_sources(rgb, alpha->RGB, RC_SOURCE_RGB)) { 617 /* Merge the alpha presubtract registers */ 618 if (alpha->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 619 if(!merge_presub_sources(rgb, alpha 598 destructive_merge_instructions( struct rc_pair_instruction * rgb, struct rc_pair_instruction * alpha) argument 685 merge_instructions(struct rc_pair_instruction * rgb, struct rc_pair_instruction * alpha) argument [all...] |
/external/mesa3d/src/gallium/include/pipe/ |
H A D | p_state.h | 248 struct pipe_alpha_state alpha; member in struct:pipe_depth_stencil_alpha_state 379 unsigned swizzle_a:3; /**< PIPE_SWIZZLE_x for alpha component */
|
/external/opencv/cv/include/ |
H A D | cvtypes.h | 345 float* alpha; member in struct:CvHaarClassifier
|
/external/opencv/cv/src/ |
H A D | cvimgwarp.cpp | 198 float alpha; member in union:CvResizeAlpha::__anon28089 281 float alpha; member in struct:CvDecimateAlpha 342 float alpha = xofs[k].alpha; \ 343 buf[dxn] = buf[dxn] + load_macro(src[xofs[k].si])*alpha; \ 350 float alpha = xofs[k].alpha; \ 351 float t0 = buf[dxn] + load_macro(src[sxn])*alpha; \ 352 float t1 = buf[dxn+1] + load_macro(src[sxn+1])*alpha; \ 360 float alpha 1197 double alpha, beta; local 1829 const ushort* alpha = (const ushort*)(amap->data.ptr + amap->step*y); local 2122 short* alpha = (short*)(mapa->data.ptr + mapa->step*y); local [all...] |
H A D | cvstereogc.cpp | 661 static int64 icvAlphaExpand( int64 Eprev, int alpha, CvStereoGCState* state, CvStereoGCState2* state2 ) argument 683 int aa[] = { alpha, -alpha }; 732 if( d != alpha && d != OCCLUDED && (unsigned)x1 < (unsigned)cols ) 739 delta = IS_BLOCKED(alpha, d) ? INFINITY : 0; 745 else if( IS_BLOCKED(alpha, d) ) 749 // (left + x, right + x + alpha) 750 x1 = x + alpha; 756 E0a = IS_BLOCKED(d, alpha) ? INFINITY : 0; 757 Ea0 = IS_BLOCKED(-d1, alpha) 940 int alpha = disp[i]; local [all...] |