Searched defs:alpha (Results 201 - 225 of 573) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/gpu/
H A DGrSWMaskHelper.cpp104 bool antiAlias, uint8_t alpha) {
113 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alpha));
124 bool antiAlias, uint8_t alpha) {
150 if (SkRegion::kReplace_Op == op && 0xFF == alpha) {
155 paint.setColor(SkColorSetARGB(alpha, alpha, alpha, alph
103 draw(const SkRect& rect, SkRegion::Op op, bool antiAlias, uint8_t alpha) argument
123 draw(const SkPath& path, const SkStrokeRec& stroke, SkRegion::Op op, bool antiAlias, uint8_t alpha) argument
[all...]
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libico.cpp280 //check the alpha bit first, but pass it along to the function to figure out how to deal with it
371 //alphaBit == 1 => alpha = 0
372 int alpha = (alphaBit-1) & 0xFF; local
373 *address = SkPreMultiplyARGB(alpha, red, green, blue);
388 int alpha = readByte(buf, xorOffset + 4*pixelNo + 3) & ((alphaBit-1)&0xFF); local
389 *address = SkPreMultiplyARGB(alpha, red, green, blue);
/external/chromium_org/third_party/skia/src/opts/
H A DSkColor_opts_SSE2.h28 static inline __m128i SkAlpha255To256_SSE2(const __m128i& alpha) { argument
29 return _mm_add_epi32(alpha, _mm_set1_epi32(1));
/external/chromium_org/third_party/skia/tests/
H A DBlitRowTest.cpp233 uint8_t alpha = (k & 2) ? 0x80 : 0xFF; local
235 paint.setAlpha(alpha);
251 " alpha=0x%x src=0x%x",
253 alpha, c);
/external/chromium_org/third_party/webrtc/modules/desktop_capture/
H A Ddesktop_and_cursor_composer_unittest.cc50 // Blends two pixel values taking into account alpha.
52 uint8_t alpha = 255 - ((src & 0xff000000) >> 24); local
54 ((dest & 0x00ff0000) >> 16) * alpha / 255 + ((src & 0x00ff0000) >> 16);
56 ((dest & 0x0000ff00) >> 8) * alpha / 255 + ((src & 0x0000ff00) >> 8);
57 uint32_t b = (dest & 0x000000ff) * alpha / 255 + (src & 0x000000ff);
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
H A Doveruse_detector.cc243 // of the network alpha is tuned for 30 frames per second, but
244 double alpha = 0.01; local
246 alpha = 0.002;
249 // beta is a function of alpha and the time delta since
251 const double beta = pow(1 - alpha, ts_delta * 30.0 / 1000.0);
H A Dremote_rate_control.cc161 double alpha = RateIncreaseFactor(now_ms, last_bit_rate_change_, local
164 current_bit_rate = static_cast<uint32_t>(current_bit_rate * alpha) + 1000;
221 // alpha = 1.02 + B ./ (1 + exp(b*(tr - (c1*s2 + c2))))
229 double alpha = 1.005 + B / (1 + exp( b * (d * reaction_time_ms - local
232 if (alpha < 1.005) {
233 alpha = 1.005;
234 } else if (alpha > 1.3) {
235 alpha = 1.3;
239 alpha = pow(alpha, (now_m
263 const float alpha = 0.05f; local
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Djitter_estimator.cc328 double alpha = local
336 // scale the alpha weight relative a 30 fps stream.
348 alpha = pow(alpha, rate_scale);
352 double avgNoise = alpha * _avgNoise + (1 - alpha) * d_dT;
354 alpha * _varNoise + (1 - alpha) * (d_dT - _avgNoise) * (d_dT - _avgNoise);
/external/chromium_org/ui/events/gesture_detection/
H A Dmotion_event_buffer.cc29 float Lerp(float a, float b, float alpha) { argument
30 return a + alpha * (b - a);
109 float alpha) {
113 // horizon (i.e., the event no later than the time interpolated by alpha).
115 if (alpha > 1)
122 p.x = Lerp(p.x, event1.GetX(event1_pointer_index), alpha);
123 p.y = Lerp(p.y, event1.GetY(event1_pointer_index), alpha);
124 p.raw_x = Lerp(p.raw_x, event1.GetRawX(event1_pointer_index), alpha);
125 p.raw_y = Lerp(p.raw_y, event1.GetRawY(event1_pointer_index), alpha);
140 const float alpha
105 ResamplePointer(const MotionEvent& event0, const MotionEvent& event1, size_t event0_pointer_index, size_t event1_pointer_index, float alpha) argument
[all...]
H A Dmotion_event_buffer_unittest.cc710 float alpha = (interpolated_time - move0.GetEventTime()).InMillisecondsF() / local
715 move0.GetX(0) + (move1.GetX(0) - move0.GetX(0)) * alpha,
716 move0.GetY(0) + (move1.GetY(0) - move0.GetY(0)) * alpha);
/external/chromium_org/ui/gfx/
H A Dcolor_utils.cc124 SkColor HSLToSkColor(const HSL& hsl, SkAlpha alpha) { argument
141 return SkColorSetARGB(alpha, light, light, light);
148 return SkColorSetARGB(alpha,
186 int alpha = SkColorGetA(color); local
201 SkColor result = HSLToSkColor(hsl, alpha);
220 return SkColorSetARGB(alpha,
239 SkColor AlphaBlend(SkColor foreground, SkColor background, SkAlpha alpha) { argument
240 if (alpha == 0)
242 if (alpha == 255)
248 double normalizer = (f_alpha * alpha
268 BlendTowardOppositeLuminance(SkColor color, SkAlpha alpha) argument
[all...]
H A Dnine_image_painter.cc88 // When no alpha value is specified, use default value of 100% opacity.
94 const uint8 alpha) {
102 paint.setAlpha(alpha);
92 Paint(Canvas* canvas, const Rect& bounds, const uint8 alpha) argument
H A Dskbitmap_operations_unittest.cc86 // Invert bitmap and verify the each pixel is inverted and the alpha value is
120 // Blend two bitmaps together at 50% alpha and verify that the result
168 // Generate alpha mask
169 SkBitmap alpha; local
170 alpha.allocN32Pixels(src_w, src_h);
173 *alpha.getAddr32(x, y) = SkColorSetARGB((i + 128) % 255,
181 SkBitmap masked = SkBitmapOperations::CreateMaskedBitmap(src, alpha);
184 SkAutoLockPixels alpha_lock(alpha);
188 // Test that the alpha is equal.
191 SkUnPreMultiply::PMColorToColor(*alpha
[all...]
H A Dskia_util.cc177 int alpha = SkGetPackedA32(pixel_in); local
178 if (alpha != 0 && alpha != 255) {
183 rgba[i + 3] = alpha;
188 rgba[i + 3] = alpha;
/external/deqp/modules/gles2/functional/
H A Des2fReadPixelsTests.cpp220 const float alpha = 1.0f; local
222 m_testCtx.getLog() << tcu::TestLog::Message << "Clear color: (" << red << ", " << green << ", " << blue << ", " << alpha << ")" << tcu::TestLog::EndMessage;
225 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha));
231 reference.getLevel(0).setPixel(tcu::Vec4(red, green, blue, alpha), x, y);
/external/deqp/modules/gles3/functional/
H A Des3fReadPixelsTests.cpp278 const float alpha = rnd.getFloat(); local
280 const GLfloat color[] = { red, green, blue, alpha };
282 GLU_CHECK_CALL(glClearColor(red, green, blue, alpha));
290 reference.getLevel(0).setPixel(tcu::UVec4((deUint32)(255.0f * red), (deUint32)(255.0f * green), (deUint32)(255.0f * blue), (deUint32)(255 * alpha)), x, y);
299 const GLint alpha = rnd.getUint32(); local
301 const GLint color[] = { red, green, blue, alpha };
309 reference.getLevel(0).setPixel(tcu::IVec4(red, green, blue, alpha), x, y);
316 const GLuint alpha = rnd.getUint32(); local
318 const GLuint color[] = { red, green, blue, alpha };
326 reference.getLevel(0).setPixel(tcu::UVec4(red, green, blue, alpha),
[all...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/bin/
H A Dant.bat33 if "%USERPROFILE%"=="" goto alpha
34 if "%USERPROFILE%"=="%HOME%" goto alpha
35 if "%USERPROFILE%"=="%HOMEDRIVE%%HOMEPATH%" goto alpha
38 :alpha label
/external/eigen/Eigen/src/Core/products/
H A DSelfadjointMatrixMatrix.h214 const Scalar& alpha)
222 ::run(cols, rows, rhs, rhsStride, lhs, lhsStride, res, resStride, alpha);
237 const Scalar& alpha);
248 const Scalar& alpha)
294 gebp_kernel(res+i2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha);
302 gebp_kernel(res+k2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha);
311 gebp_kernel(res+i2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha);
328 const Scalar& alpha);
339 const Scalar& alpha)
373 gebp_kernel(res+i2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha);
209 run( Index rows, Index cols, const Scalar* lhs, Index lhsStride, const Scalar* rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha) argument
243 run( Index rows, Index cols, const Scalar* _lhs, Index lhsStride, const Scalar* _rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha) argument
334 run( Index rows, Index cols, const Scalar* _lhs, Index lhsStride, const Scalar* _rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha) argument
[all...]
H A DSelfadjointMatrixVector.h35 Scalar alpha);
44 Scalar alpha)
62 Scalar cjAlpha = ConjugateRhs ? numext::conj(alpha) : alpha;
145 res[j] += alpha * (t2 + predux(ptmp2));
146 res[j+1] += alpha * (t3 + predux(ptmp3));
161 res[j] += alpha * t2;
190 template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const
201 Scalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(m_lhs)
270 template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) cons
39 run( Index size, const Scalar* lhs, Index lhsStride, const Scalar* _rhs, Index rhsIncr, Scalar* res, Scalar alpha) argument
[all...]
H A DTriangularMatrixMatrix.h64 const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking)
74 ::run(cols, rows, depth, rhs, rhsStride, lhs, lhsStride, res, resStride, alpha, blocking);
78 // implements col-major += alpha * op(triangular) * op(general)
99 const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking);
112 const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking)
189 gebp_kernel(res+startBlock, resStride, blockA, blockB, actualPanelWidth, actualPanelWidth, cols, alpha,
199 gebp_kernel(res+startTarget, resStride, blockA, blockB, lengthTarget, actualPanelWidth, cols, alpha,
214 gebp_kernel(res+i2, resStride, blockA, blockB, actual_mc, actual_kc, cols, alpha, -1, -1, 0, 0, blockW);
220 // implements col-major += alpha * op(general) * op(triangular)
240 const Scalar& alpha, level3_blockin
59 run( Index rows, Index cols, Index depth, const Scalar* lhs, Index lhsStride, const Scalar* rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking) argument
107 run( Index _rows, Index _cols, Index _depth, const Scalar* _lhs, Index lhsStride, const Scalar* _rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking) argument
248 run( Index _rows, Index _cols, Index _depth, const Scalar* _lhs, Index lhsStride, const Scalar* _rhs, Index rhsStride, Scalar* res, Index resStride, const Scalar& alpha, level3_blocking<Scalar,Scalar>& blocking) argument
[all...]
/external/eigen/Eigen/src/IterativeLinearSolvers/
H A DBiCGSTAB.h54 Scalar alpha = 1; local
82 Scalar beta = (rho/rho_old) * (alpha / w);
89 alpha = rho / r0.dot(v);
90 s = r - alpha * v;
100 x += alpha * y + w * z;
H A DConjugateGradient.h72 Scalar alpha = absNew / p.dot(tmp); // the amount we travel on dir local
73 x += alpha * p; // update solution
74 residual -= alpha * tmp; // update residue
/external/eigen/Eigen/src/SparseCore/
H A DSparseDenseProduct.h173 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
183 res.coeffRef(j,c) = alpha * tmp;
197 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
203 typename Res::Scalar rhs_j = alpha * rhs.coeff(j,c);
219 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
225 res_j += (alpha*it.value()) * rhs.row(it.index());
238 static void run(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const typename Res::Scalar& alpha) argument
244 res.row(it.index()) += (alpha*it.value()) * rhs_j;
250 inline void sparse_time_dense_product(const SparseLhsType& lhs, const DenseRhsType& rhs, DenseResType& res, const AlphaType& alpha) argument
252 sparse_time_dense_product_impl<SparseLhsType,DenseRhsType,DenseResType>::run(lhs, rhs, res, alpha);
[all...]
/external/eigen/blas/
H A Dlevel2_impl.h33 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); local
47 if(*m==0 || *n==0 || (alpha==Scalar(0) && beta==Scalar(1)))
68 func[code](actual_m, actual_n, a, *lda, actual_b, 1, actual_c, 1, alpha);
195 * y := alpha*A*x + beta*y, or y := alpha*A'*x + beta*y,
197 * where alpha and beta are scalars, x and y are vectors and A is an
206 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); local
222 if(*m==0 || *n==0 || (alpha==Scalar(0) && beta==Scalar(1)))
249 vector(actual_y+start,len) += (alpha*actual_x[j]) * mat_coeffs.col(j).segment(offset,len);
251 actual_y[j] += alpha * ( mat_coeff
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c89 boolean alpha)
103 if(alpha)
191 LLVMValueRef alpha,
209 if (rgb != alpha) {
211 alpha, swizzled_rgb);
309 LLVMValueRef alpha; local
311 alpha = lp_build_blend(&bld.base,
324 alpha,
87 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, unsigned factor, boolean alpha) argument
189 lp_build_blend_swizzle(struct lp_build_blend_aos_context *bld, LLVMValueRef rgb, LLVMValueRef alpha, enum lp_build_blend_swizzle rgb_swizzle, unsigned alpha_swizzle) argument

Completed in 1854 milliseconds

1234567891011>>