/external/eigen/blas/ |
level2_real_impl.h | 12 // y = alpha*A*x + beta*y 27 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); local 56 func[code](*n, a, *lda, actual_x, actual_y, alpha); 64 // C := alpha*x*x' + C 78 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha); local 88 if(*n==0 || alpha==Scalar(0)) return 1; 97 func[code](*n, c, *ldc, x_cpy, x_cpy, alpha); 104 // C := alpha*x*y' + alpha*y*x' + C 118 Scalar alpha = *reinterpret_cast<const Scalar*>(palpha) local 198 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); local 243 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); local 283 Scalar alpha = *reinterpret_cast<Scalar*>(palpha); local [all...] |
/external/eigen/unsupported/Eigen/src/IterativeSolvers/ |
ConstrainedConjGrad.h | 58 Scalar rho, rho_1, alpha; local 77 alpha = rho / p.dot(q); 78 e += alpha * p; 79 r += -alpha * q;
|
/external/google-tv-pairing-protocol/cpp/src/polo/pairing/ |
polochallengeresponse.cc | 32 Alpha* PoloChallengeResponse::GetAlpha(const Nonce& nonce) const { 83 Alpha* alpha = new Alpha(SHA256_DIGEST_LENGTH); local 84 SHA256(buffer, buffer_size, &(*alpha)[0]); 93 return alpha; 97 const Alpha* alpha = GetAlpha(nonce); local 98 if (!alpha) { 104 if (alpha->size() >= nonce.size()) [all...] |
/external/libdrm/tests/util/ |
format.h | 38 struct util_color_component alpha; member in struct:util_rgb_info
|
/external/libxcam/modules/ocl/ |
cv_edgetaper.cpp | 58 cv::Mat alpha = (cv::Scalar (1) - rows_proj) * (cv::Scalar (1) - cols_proj); local 63 cv::repeat (alpha, nr, nc, expanded);
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_pair_translate.c | 133 unsigned int * alpha) 141 *alpha = 1; 170 pair->Alpha.Opcode = inst->Opcode; 172 pair->Alpha.Saturate = 1; 182 * pair->{RGB,ALPHA}.Src[RC_PAIR_PRESUB_SRC] */ 193 unsigned int alpha = 0; local 194 src_uses(inst->SrcReg[j], &rgb, &alpha); 202 if(alpha) { 203 pair->Alpha.Src[i].File = 205 pair->Alpha.Src[i].Index [all...] |
/external/mesa3d/src/mesa/main/ |
texenv.c | 178 GLboolean alpha, legal; local 181 * Translate pname to (term, alpha). 191 alpha = GL_FALSE; 198 alpha = GL_TRUE; 254 if (alpha) 268 GLboolean alpha, legal; local 278 alpha = GL_FALSE; 285 alpha = GL_TRUE; 310 legal = !alpha 316 * GL_OPERAND[01]_(RGB|ALPHA) in the EXT version. In the ARB and N [all...] |
/external/opencv/cvaux/src/ |
cvlevmar.cpp | 149 double alpha; local 153 alpha = 0.001; 182 /* Solve normal equation for given alpha and Jacobian */ 185 /* Increase diagonal elements by alpha */ 190 cvmSet(matrJtJN,i,i,(1+alpha)*val); 214 alpha /= 10; 220 alpha *= 10; 224 /* new value of X and alpha were accepted */
|
/external/proguard/src/proguard/gui/splash/ |
ShadowedSprite.java | 34 private final VariableDouble alpha; field in class:ShadowedSprite 46 * @param alpha the variable darkness of the shadow (between 0 and 1). 53 VariableDouble alpha, 59 this.alpha = alpha; 69 double l = alpha.getDouble(time);
|
/external/skia/bench/ |
nanobench.h | 28 SkAlphaType alpha; member in struct:Config
|
/external/skia/tests/ |
ApplyGammaTest.cpp | 57 // Alpha should always be exactly preserved. 64 float alpha = SkGetPackedA32(src); local 65 if (alpha) { 66 invScale = 255.0f / alpha; 80 lower *= alpha; 81 upper *= alpha;
|
/external/skqp/bench/ |
nanobench.h | 28 SkAlphaType alpha; member in struct:Config
|
/external/skqp/tests/ |
ApplyGammaTest.cpp | 42 // Alpha should always be exactly preserved. 49 float alpha = SkGetPackedA32(src); local 50 if (alpha) { 51 invScale = 255.0f / alpha; 65 lower *= alpha; 66 upper *= alpha;
|
/external/tensorflow/tensorflow/core/kernels/ |
mkl_matmul_op.cc | 147 // BLAS GEMM API defines Matrix Multiplication as c = alpha * op(a) * op(b) 149 // Since TF MatMul does not have parameters for alpha, beta, we set them to 151 const float alpha = 1.0f; local 154 transb ? CblasTrans : CblasNoTrans, m, n, k, alpha, a, lda, b, 163 const double alpha = 1.0; local 166 transb ? CblasTrans : CblasNoTrans, m, n, k, alpha, a, lda, b, 176 const MKL_Complex8 alpha = {1.0f, 0.0f}; local 180 m, n, k, &alpha, reinterpret_cast<const MKL_Complex8*>(a), lda, 192 const MKL_Complex16 alpha = {1.0, 0.0}; local 196 m, n, k, &alpha, reinterpret_cast<const MKL_Complex16*>(a), lda [all...] |
/external/webp/src/dec/ |
alpha_dec.c | 10 // Alpha-plane decompression. 26 // Allocates a new alpha decoder instance. 32 // Clears and deallocates an alpha decoder instance. 44 // Initialize alpha decoding by parsing the alpha header and decoding the image 45 // header for alpha data stored using lossless compression. 46 // Returns false in case of error in alpha header (data too short, invalid 106 // Decodes, unfilters and dequantizes *at least* 'num_rows' rows of alpha 198 // if we allowed use of alpha dithering, check whether it's needed at all 214 uint8_t* const alpha = dec->alpha_plane_ + io->crop_top * widt local [all...] |
/external/webp/src/dsp/ |
alpha_processing_mips_dsp_r2.c | 19 static int DispatchAlpha_MIPSdspR2(const uint8_t* alpha, int alpha_stride, 27 const uint8_t* palpha = alpha; 64 alpha += alpha_stride; 91 if (argb < 0xff000000u) { // alpha < 255 92 if (argb <= 0x00ffffffu) { // alpha == 0 95 int temp0, temp1, temp2, temp3, alpha; local 97 "srl %[alpha], %[argb], 24 \n\t" 98 "replv.qb %[temp0], %[alpha] \n\t" 101 "divu $zero, %[c_ff000000], %[alpha] \n\t" 116 [temp3]"=&r"(temp3), [alpha]"=&r"(alpha [all...] |
alpha_processing_neon.c | 25 #define MULTIPLY_BY_ALPHA(V, ALPHA, OTHER) do { \ 26 const uint8x8_t alpha = (V).val[(ALPHA)]; \ 27 const uint16x8_t r1 = vmull_u8((V).val[1], alpha); \ 28 const uint16x8_t g1 = vmull_u8((V).val[2], alpha); \ 29 const uint16x8_t b1 = vmull_u8((V).val[(OTHER)], alpha); \ 65 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); local 66 const uint32_t a = alpha[4 * i]; 83 static int DispatchAlpha_NEON(const uint8_t* alpha, int alpha_stride, 91 // We don't know if alpha is first or last in dst[] (depending on rgbA/Arg [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
audio_vector.cc | 146 // |alpha| is the mixing factor in Q14. 150 int alpha = 16384; local 152 alpha -= alpha_step; 153 array_[position + i] = (alpha * array_[position + i] + 154 (16384 - alpha) * append_this[i] + 8192) >> 14; 156 assert(alpha >= 0); // Verify that the slope was correct.
|
/frameworks/av/cmds/screenrecord/ |
TextRenderer.cpp | 96 // The pixel data is stored as combined color+alpha, 8 bits per pixel. 112 uint8_t alpha, color; local 114 // black pixel with varying alpha 116 alpha = FontBitmap::pixels[i] & ~1; 120 alpha = 0xff; 125 *pix++ = alpha;
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/ |
MediaRouteVolumeSlider.java | 28 * Volume slider with showing, hiding, and applying alpha supports to the thumb. 56 int alpha = isEnabled() ? 0xFF : (int) (0xFF * mDisabledAlpha); local 59 // state. Apply the color filter and alpha on every state change. 62 mThumb.setAlpha(alpha); 66 getProgressDrawable().setAlpha(alpha); 97 if (Color.alpha(color) != 0xFF) {
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
RippleBackground.java | 58 final int alpha = Math.min((int) (origAlpha * mOpacity + 0.5f), 255); local 59 if (alpha > 0) { 60 p.setAlpha(alpha); 81 // Hover = .2 * alpha 82 // Focus = .6 * alpha 83 // Focused + Hovered = .6 * alpha
|
/frameworks/base/libs/hwui/ |
Layer.h | 66 inline void setAlpha(int alpha) { this->alpha = alpha; } 68 inline void setAlpha(int alpha, SkBlendMode mode) { 69 this->alpha = alpha; 73 inline int getAlpha() const { return alpha; } 98 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter>, int alpha, 131 int alpha; member in class:android::uirenderer::Layer
|
Vertex.h | 79 * sRGB color with alpha. The color is stored pre-multiplied in linear space. 97 * Simple structure to describe a vertex with a position and an alpha value. 101 float alpha; member in struct:android::uirenderer::AlphaVertex 103 static inline void set(AlphaVertex* vertex, float x, float y, float alpha) { 104 *vertex = {x, y, alpha}; 109 AlphaVertex::set(vertex, src.x + x, src.y + y, src.alpha); 112 static inline void setColor(AlphaVertex* vertex, float alpha) { vertex[0].alpha = alpha; }
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
SyncRtSurfaceTransactionApplier.java | 80 t.setAlpha(params.surface, params.alpha); 92 * @param alpha Alpha to apply. 96 public SurfaceParams(SurfaceControlCompat surface, float alpha, Matrix matrix, 99 this.alpha = alpha; 106 final float alpha; field in class:SyncRtSurfaceTransactionApplier.SurfaceParams
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
ScrimViewTest.java | 89 final float alpha = 0.5f; local 90 mView.setViewAlpha(alpha); 91 assertEquals("View alpha did not propagate to drawable", alpha, mView.getViewAlpha());
|