Searched defs:alpha (Results 476 - 500 of 573) sorted by relevance

<<11121314151617181920>>

/external/opencv/cv/src/
H A DmycvHaarDetectObjects.cpp81 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 Dcvtrifocal.cpp1591 double alpha = cvmGet(&result,0,i); local
1596 alpha * cvmGet(fundReduceCoef1,0,j) + (1-alpha) * cvmGet(fundReduceCoef2,0,j) );
/external/opencv/cxcore/src/
H A Dcxdrawing.cpp854 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 Dcxmatmul.cpp132 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/opencv/ml/src/
H A Dmlsvm.cpp233 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...]
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render.cpp599 int alpha; local
601 alpha = (FX_INT32)(pGeneralData->m_FillAlpha * 255);
613 alpha = 255;
615 return m_Options.TranslateColor(ArgbEncode(alpha, rgb));
630 int alpha; local
632 alpha = (FX_INT32)(pGeneralData->m_StrokeAlpha * 255);
644 alpha = 255;
646 return m_Options.TranslateColor(ArgbEncode(alpha, rgb));
H A Dfpdf_render_image.cpp596 int alpha = *mask_scan ++; local
597 if (alpha) {
598 int orig = (*dest_scan - matte_b) * 255 / alpha + matte_b;
605 orig = (*dest_scan - matte_g) * 255 / alpha + matte_g;
612 orig = (*dest_scan - matte_r) * 255 / alpha + matte_r;
683 int alpha = *mask_scan ++; local
684 if (alpha) {
685 int orig = (*dest_scan - matte_b) * 255 / alpha + matte_b;
692 orig = (*dest_scan - matte_g) * 255 / alpha + matte_g;
699 orig = (*dest_scan - matte_r) * 255 / alpha
[all...]
H A Dfpdf_render_loadimage.cpp1385 int alpha = 0xff; local
1387 alpha = (pSrcPixel[0] < m_pCompData[0].m_ColorKeyMin ||
1395 argb |= alpha << 24;
H A Dfpdf_render_pattern.cpp15 CPDF_ColorSpace* pCS, int alpha)
71 rgb_array[i] = FXARGB_TODIB(FXARGB_MAKE(alpha, FXSYS_round(R * 255), FXSYS_round(G * 255), FXSYS_round(B * 255)));
99 CPDF_ColorSpace* pCS, int alpha)
152 rgb_array[i] = FXARGB_TODIB(FXARGB_MAKE(alpha, FXSYS_round(R * 255), FXSYS_round(G * 255), FXSYS_round(B * 255)));
229 CPDF_ColorSpace* pCS, int alpha)
283 dib_buf[column] = FXARGB_TODIB(FXARGB_MAKE(alpha, (FX_INT32)(R * 255), (FX_INT32)(G * 255), (FX_INT32)(B * 255)));
304 static void _DrawGouraud(CFX_DIBitmap* pBitmap, int alpha, CPDF_MeshVertex triangle[3]) argument
374 FXARGB_SETDIB(dib_buf, FXARGB_MAKE(alpha, (FX_INT32)(R * 255), (FX_INT32)(G * 255), (FX_INT32)(B * 255)));
381 CPDF_ColorSpace* pCS, int alpha)
407 _DrawGouraud(pBitmap, alpha, triangl
13 _DrawAxialShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Dictionary* pDict, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument
97 _DrawRadialShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Dictionary* pDict, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument
227 _DrawFuncShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Dictionary* pDict, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument
379 _DrawFreeGouraudShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Stream* pShadingStream, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument
410 _DrawLatticeGouraudShading(CFX_DIBitmap* pBitmap, CFX_AffineMatrix* pObject2Bitmap, CPDF_Stream* pShadingStream, CPDF_Function** pFuncs, int nFuncs, CPDF_ColorSpace* pCS, int alpha) argument
602 int alpha; member in struct:CPDF_PatchDrawer
836 int alpha = pPageObj->m_GeneralState.GetAlpha(bStroke); local
[all...]
/external/pdfium/core/src/fxge/dib/
H A Dfx_dib_main.cpp453 int alpha; local
456 alpha = alpha_flag & 0xff;
459 alpha = FXARGB_A(color);
475 color_p[3] = (FX_BYTE)alpha;
496 FXARGB_SETDIB(dest_pos++, dst_color | ((alpha * (*src_scan++) / 255) << 24));
524 *dest_alpha_pos++ = (alpha * (*src_scan++) / 255);
553 void CFX_DIBSource::GetPalette(FX_DWORD* pal, int alpha) const
557 pal[0] = ((m_pPalette ? m_pPalette[0] : 0xff000000) & 0xffffff) | (alpha << 24);
558 pal[1] = ((m_pPalette ? m_pPalette[1] : 0xffffffff) & 0xffffff) | (alpha << 24);
563 pal[i] = (m_pPalette[i] & 0x00ffffff) | (alpha << 2
1009 MultiplyAlpha(int alpha) argument
1147 int alpha = FXARGB_A(color); local
[all...]
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_text.cpp168 int alpha = FXGETFLAG_COLORTYPE(alpha_flag) ? FXGETFLAG_ALPHA_FILL(alpha_flag) : FXARGB_A(fill_color); local
169 if (alpha < 255) {
/external/pdfium/core/src/fxge/win32/
H A Dfx_win32_device.cpp851 int alpha; local
853 ArgbDecode(fill_color, alpha, rgb);
854 if (alpha == 0) {
857 if (alpha < 255) {
978 int alpha = FXGETFLAG_COLORTYPE(alpha_flag) ? FXGETFLAG_ALPHA_FILL(alpha_flag) : FXARGB_A(color); local
979 FX_BOOL bGDI = pSource->GetBPP() == 1 && alpha == 255;
/external/qemu/android/skin/
H A Dwindow.c270 * alpha = MINALPHA + (1-MINALPHA)*(level-MIN)/(LOW-MIN)
278 * alpha = MAXALPHA*(level-HIGH)/(MAX-HIGH)
301 unsigned alpha = brightness; local
305 if (alpha <= b_min)
306 alpha = b_min;
307 else if (alpha > b_max)
308 alpha = b_max;
312 if (alpha < b_low)
317 alpha = alpha_min + ((alpha
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_blit_N.c109 * colors is alpha, and it's one complete byte, since some formats
110 * leave alpha with a zero mask, but we should still swizzle the bits.
137 /* Use zero for alpha if either surface doesn't have alpha */
259 unsigned alpha; local
268 0x10 - 0x1f is the alpha
315 if (dstfmt->Amask && srcfmt->alpha) {
316 ((unsigned char *)&valpha)[0] = alpha = srcfmt->alpha;
319 alpha
404 unsigned alpha; local
554 unsigned alpha = dstfmt->Amask ? srcfmt->alpha : 0; local
2046 unsigned alpha = dstfmt->Amask ? srcfmt->alpha : 0; local
2202 unsigned alpha = dstfmt->Amask ? srcfmt->alpha : 0; local
2280 enum { NO_ALPHA=1, SET_ALPHA=2, COPY_ALPHA=4 } alpha; member in struct:blit_table
[all...]
/external/replicaisland/src/com/replica/replicaisland/
H A DGLErrorLogger.java86 public void glClearColor(float red, float green, float blue, float alpha) { argument
87 ((GL10)mGL).glClearColor(red, green, blue, alpha);
91 public void glClearColorx(int red, int green, int blue, int alpha) { argument
92 ((GL10)mGL).glClearColorx(red, green, blue, alpha);
116 public void glColor4f(float red, float green, float blue, float alpha) { argument
117 ((GL10)mGL).glColor4f(red, green, blue, alpha);
121 public void glColor4x(int red, int green, int blue, int alpha) { argument
122 ((GL10)mGL).glColor4x(red, green, blue, alpha);
127 boolean alpha) {
128 ((GL10)mGL).glColorMask(red, green, blue, alpha);
126 glColorMask(boolean red, boolean green, boolean blue, boolean alpha) argument
[all...]
/external/skia/include/core/
H A DSkColorPriv.h173 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/skia/src/gpu/gl/
H A DGrGLNoOpInterface.cpp54 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/webp/src/dec/
H A Dvp8l.c35 // 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/webp/src/demux/
H A Ddemux.c233 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/webp/src/enc/
H A Dquant.c301 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/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core.c67 //Q15 alpha = 0.99439986968132 const Factor for magnitude approximation
71 //Q15 alpha = 0.94234827210087 const Factor for magnitude approximation
75 //Q15 alpha = 0.82247698684306 const Factor for magnitude approximation
1401 WebRtc_UWord16 alpha = 0; local
1439 // magn ~= alpha * max(|imag|,|real|) + beta * min(|imag|,|real|)
1441 // The parameters alpha and beta are stored in Q15
1460 alpha = kAlpha1;
1464 alpha = kAlpha2;
1468 alpha = kAlpha3;
1472 alpha,
[all...]
/external/chromium_org/gpu/command_buffer/service/
H A Dgles2_cmd_decoder_autogen.h106 GLclampf alpha = static_cast<GLclampf>(c.alpha); local
108 state_.blend_color_blue != blue || state_.blend_color_alpha != alpha) {
112 state_.blend_color_alpha = alpha;
113 glBlendColor(red, green, blue, alpha);
301 GLclampf alpha = static_cast<GLclampf>(c.alpha); local
303 state_.color_clear_blue != blue || state_.color_clear_alpha != alpha) {
307 state_.color_clear_alpha = alpha;
308 glClearColor(red, green, blue, alpha);
347 GLboolean alpha = static_cast<GLboolean>(c.alpha); local
[all...]
H A Dgles2_cmd_decoder_unittest_base.cc718 bool alpha) {
721 cached_color_mask_alpha_ != alpha) {
725 cached_color_mask_alpha_ = alpha;
726 EXPECT_CALL(*gl_, ColorMask(red, green, blue, alpha))
715 SetupExpectationsForColorMask(bool red, bool green, bool blue, bool alpha) argument
/external/chromium_org/ppapi/lib/gl/gles2/
H A Dgles2.c53 glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
55 glGetCurrentContextPPAPI(), red, green, blue, alpha); local
104 glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
106 glGetCurrentContextPPAPI(), red, green, blue, alpha); local
118 glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { argument
120 glGetCurrentContextPPAPI(), red, green, blue, alpha); local
/external/chromium_org/ppapi/shared_impl/
H A Dppb_opengles2_shared.cc90 GLclampf alpha) {
93 ToGles2Impl(&enter)->BlendColor(red, green, blue, alpha);
173 GLclampf alpha) {
176 ToGles2Impl(&enter)->ClearColor(red, green, blue, alpha);
198 GLboolean alpha) {
201 ToGles2Impl(&enter)->ColorMask(red, green, blue, alpha);
86 BlendColor(PP_Resource context_id, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
169 ClearColor(PP_Resource context_id, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) argument
194 ColorMask(PP_Resource context_id, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) argument

Completed in 1311 milliseconds

<<11121314151617181920>>