/external/opencv/cxcore/src/ |
H A D | cxarithm.cpp | 1824 icvAddWeighted_##flavor##_C1R( const arrtype* src1, int step1, double alpha, \ 1836 worktype t0 = cast_macro1(load_macro((src1)[i])*alpha + \ 1838 worktype t1 = cast_macro1(load_macro((src1)[i+1])*alpha + \ 1844 t0 = cast_macro1(load_macro((src1)[i+2])*alpha + \ 1846 t1 = cast_macro1(load_macro((src1)[i+3])*alpha + \ 1855 worktype t0 = cast_macro1(load_macro((src1)[i])*alpha + \ 1869 icvAddWeighted_8u_fast_C1R( const uchar* src1, int step1, double alpha, argument 1877 alpha *= 1 << shift; 1885 t += alpha; 1968 typedef CvStatus (CV_STDCALL *CvAddWeightedFunc)( const void* src1, int step1, double alpha, 1974 cvAddWeighted( const CvArr* srcAarr, double alpha, const CvArr* srcBarr, double beta, double gamma, CvArr* dstarr ) argument [all...] |
H A D | cxdrawing.cpp | 854 float alpha, beta; local 886 icvSinCos( angle, &alpha, &beta ); 899 pts->x = cvRound( cx + x * alpha - y * beta ); 900 pts->y = cvRound( cy - x * beta - y * alpha );
|
H A D | cxmatmul.cpp | 132 double alpha, double beta, int flags ) \ 184 worktype al = worktype(a_data[i])*alpha; \ 244 s0 = (s0+s1+s2+s3)*alpha; \ 282 d_data[j] = arrtype(s0*alpha); \ 283 d_data[j+1] = arrtype(s1*alpha); \ 284 d_data[j+2] = arrtype(s2*alpha); \ 285 d_data[j+3] = arrtype(s3*alpha); \ 289 s0 = s0*alpha; s1 = s1*alpha; \ 290 s2 = s2*alpha; s 605 cvGEMM( const CvArr* Aarr, const CvArr* Barr, double alpha, const CvArr* Carr, double beta, CvArr* Darr, int flags ) argument [all...] |
/external/qemu/android/ |
H A D | main-common.c | 566 int alpha, rotate; local 568 if ( opts->onion_alpha && 1 == sscanf( opts->onion_alpha, "%d", &alpha ) ) { 569 alpha = (256*alpha)/100; 571 alpha = 128; 579 qemulator_get()->onion_alpha = alpha;
|
/external/qemu/android/skin/ |
H A D | trackball.c | 158 typedef struct { int x, y, offset, alpha; Fix16VectorRec f; } SphereCoordRec, *SphereCoord; member in struct:__anon8001 328 coord->alpha = 256; 333 coord->alpha = 256*(radius - r0); 351 coord->alpha = coord->alpha * scale; 358 coord->alpha = 0; 360 coord->alpha = -256*(r0 - (radius2-1.)); 400 color_blend( unsigned from, unsigned to, int alpha ) 406 unsigned result_ag = (from_ag + (alpha*(to_ag - from_ag) >> 8)) & 0xff00ff; 407 unsigned result_rb = (from_rb + (alpha*(to_r [all...] |
/external/qemu/distrib/sdl-1.2.12/include/ |
H A D | SDL_video.h | 38 /* Transparency definitions: These define alpha as the opacity of a surface */ 81 /* Alpha value information (per-surface alpha) */ 82 Uint8 alpha; member in struct:SDL_PixelFormat 135 #define SDL_SRCALPHA 0x00010000 /* Blit uses source alpha blending */ 493 * SDL_SRCALPHA means that the surface will be used for alpha blits and 494 * if the hardware supports hardware acceleration of alpha blits between 572 * This function sets the alpha value for the entire surface, as opposed to 573 * using the alpha component of each pixel. This value measures the range 575 * being completely opaque. An 'alpha' value of 255 causes blits to be 577 * that per-surface alpha ca [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
H A D | SDL_RLEaccel.c | 25 * RLE encoding for software colorkey and alpha-channel acceleration 30 * decoder. Added per-surface alpha blitter. Added per-pixel alpha 49 * binary transparency and for per-surface alpha blending, and for surfaces 50 * with per-pixel alpha. The details differ, however: 62 * Encoding of surfaces with per-pixel alpha: 69 * partially transparent (translucent) pixels (where 1 <= alpha <= 254), 73 * the alpha value occupying the highest 8 bits. The <skip> and <run> 78 * and the hole filled with the 5 most significant bits of the alpha value. 120 * Various colorkey blit methods, for opaque and per-surface alpha 782 RLEClipBlit(int w, Uint8 *srcbuf, SDL_Surface *dst, Uint8 *dstbuf, SDL_Rect *srcrect, unsigned alpha) argument 846 unsigned alpha; local 1292 unsigned alpha = dfmt->Amask ? 255 : 0; local [all...] |
H A D | SDL_blit_A.c | 62 /* Functions to perform alpha blended blitting */ 64 /* N->1 blending with per-surface alpha */ 78 const unsigned A = srcfmt->alpha; 117 /* N->1 blending with pixel alpha */ 131 /* FIXME: fix alpha bit field expansion here too? */ 170 /* colorkeyed N->1 blending with per-surface alpha */ 185 const int A = srcfmt->alpha; 227 /* fast RGB888->(A)RGB888 blending with surface alpha=128 special case */ 243 movd_m2r(dalpha, mm7); /* dst alpha mask */ 244 punpckldq_r2r(mm7, mm7); /* dst alpha mas 282 unsigned alpha = info->src->alpha; local 505 unsigned alpha = info->src->alpha; local 939 unsigned alpha = info->src->alpha; local 1256 unsigned alpha = info->src->alpha; local 1352 unsigned alpha = info->src->alpha; local 1460 unsigned alpha = info->src->alpha; local 1875 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local 2014 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local 2160 unsigned alpha = info->src->alpha; local 2294 unsigned alpha = info->src->alpha; local 2430 unsigned alpha = info->src->alpha; local 2466 unsigned alpha = info->src->alpha; /* downscale alpha to 5 bits */ local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
H A D | SDL_dspvideo.c | 103 DSP_TRY_CC_AND_AA - Define if you want to try HWA color-key and alpha blitters 105 but hw alpha is neck-and-neck with SDL's soft bitter. 168 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha); 209 RGBColor alpha; // alpha color member in struct:private_hwdata 1018 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha) argument 1020 surface->hwdata->alpha.red = (alpha / 255.0) * 65535; 1021 surface->hwdata->alpha.blue = (alpha / 255. [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
H A D | SDL_dx5video.c | 420 static int DX5_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha); 865 /* This is only for alpha channel, and DirectX 6 866 doesn't support 2D alpha blits yet, so set it 0 1963 if ( DX5_SetHWAlpha(this, src, src->format->alpha) < 0 ) { 2030 static int DX5_SetHWAlpha(_THIS, SDL_Surface *surface, Uint8 alpha) argument
|
/external/qemu/telephony/ |
H A D | gsm.c | 1073 sim_adn_alpha_to_utf8( cbytes_t alpha, cbytes_t end, bytes_t dst ) argument 1078 while (alpha < end && end[-1] == 0xff) 1081 if (alpha >= end) 1084 if (alpha[0] == 0x80) { /* UCS/2 source encoding */ 1085 alpha += 1; 1086 result = ucs2_to_utf8( alpha, (end-alpha)/2, dst ); 1093 if (alpha+3 <= end && alpha[0] == 0x81) { 1095 len = alpha[ [all...] |
/external/skia/include/core/ |
H A D | SkColorPriv.h | 30 alpha * value / 255. 32 In debugging, asserts that alpha is 0..255 34 static inline unsigned SkAlpha255To256(U8CPU alpha) { argument 35 SkASSERT(SkToU8(alpha) == alpha); 38 return alpha + 1; 198 * the components are 0..255, and are already premultiplied (i.e. alpha >= color) 530 // if the src alpha is <= 7. 589 // of the truncated and dithered alpha values. If we didn't, cases like
|
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 577 isOpaque() for configs that can't support per-pixel alpha. 945 // if the src has alpha, we have to clear the dst first 1208 static bool GetBitmapAlpha(const SkBitmap& src, uint8_t SK_RESTRICT alpha[], argument 1210 SkASSERT(alpha != NULL); 1220 // zero out the alpha buffer and return 1222 memset(alpha, 0, w); 1223 alpha += alphaRowBytes; 1231 memcpy(alpha, s, w); 1233 alpha += alphaRowBytes; 1239 alpha[ [all...] |
H A D | SkScan_Path.cpp | 242 virtual void blitV(int x, int y, int height, SkAlpha alpha) { argument
|
H A D | SkXfermode.cpp | 22 static SkPMColor SkFourByteInterp(SkPMColor src, SkPMColor dst, U8CPU alpha) { argument 23 unsigned scale = SkAlpha255To256(alpha);
|
/external/speex/libspeex/ |
H A D | mdf.c | 704 spx_float_t alpha, alpha_1; local 1083 alpha = FLOAT_DIV32(tmp32, See); 1084 alpha_1 = FLOAT_SUB(FLOAT_ONE, alpha); 1086 st->Pey = FLOAT_ADD(FLOAT_MULT(alpha_1,st->Pey) , FLOAT_MULT(alpha,Pey)); 1087 st->Pyy = FLOAT_ADD(FLOAT_MULT(alpha_1,st->Pyy) , FLOAT_MULT(alpha,Pyy));
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
H A D | PlatformContextSkia.cpp | 106 // Helper function for applying the state's alpha value to the given input 457 void PlatformContextSkia::setAlpha(float alpha) argument 459 m_state->m_alpha = alpha; 538 int alpha = roundf(m_state->m_alpha * 256); local 539 if (alpha > 255) 540 alpha = 255; 541 else if (alpha < 0) 542 alpha = 0; 543 return alpha; 651 // only look at the alpha whe [all...] |
/external/webp/src/dec/ |
H A D | io.c | 104 // These two don't erase the alpha value 333 // Warning! Don't overwrite the alpha values (if any), as they 382 const uint8_t* alpha = io->a; local 383 if (alpha) { 385 memcpy(dst, alpha, mb_w * sizeof(*dst)); 386 alpha += io->width; 399 const uint8_t* alpha = io->a; local 400 if (alpha) { 403 dst[4 * i + 3] = alpha[i]; 405 alpha [all...] |
/external/webp/src/enc/ |
H A D | dsp.c | 23 static int ClipAlpha(int alpha) { argument 24 return alpha < 0 ? 0 : alpha > 255 ? 255 : alpha; 30 int alpha; local 40 alpha = den ? 10 * num / den - 5 : 0; 41 return ClipAlpha(alpha);
|
/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::__anon7361 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...] |
H A D | mycvHaarDetectObjects.cpp | 81 float* alpha; member in struct:MyCvHidHaarClassifier 293 hid_classifier->alpha = alpha_ptr; 312 memcpy( alpha_ptr, classifier->alpha, (node_count+1)*sizeof(alpha_ptr[0])); 352 ipp_val1[j] = classifier->alpha[0]; 353 ipp_val2[j] = classifier->alpha[1]; 422 return classifier->alpha[-idx]; 565 stage_sum += classifier->alpha[sum >= t]; 580 stage_sum += classifier->alpha[sum >= t];
|
/external/opencv/cvaux/src/ |
H A D | cvtrifocal.cpp | 1591 double alpha = cvmGet(&result,0,i); local 1596 alpha * cvmGet(fundReduceCoef1,0,j) + (1-alpha) * cvmGet(fundReduceCoef2,0,j) );
|
/external/opencv/ml/src/ |
H A D | mlsvm.cpp | 233 double alpha, double beta ) 245 results[j] = (Qfloat)(s*alpha + beta); 339 // min [0.5(\alpha^T Q \alpha) + b^T \alpha] 341 // y^T \alpha = \delta 348 // Q, b, y, Cp, Cn, and an initial feasible point \alpha 352 // solution will be put in \alpha, objective value will be put in obj 358 alpha = 0; 418 alpha 231 calc_non_rbf_base( int vcount, int var_count, const float** vecs, const float* another, Qfloat* results, double alpha, double beta ) argument 1282 train1( int sample_count, int var_count, const float** samples, const void* _responses, double Cp, double Cn, CvMemStorage* _storage, double* alpha, double& rho ) argument 1539 double* alpha; local 1607 double* alpha; local [all...] |