/external/chromium_org/media/audio/cras/ |
cras_input.cc | 246 // Capture gain is returned as dB * 100 (150 => 1.5dBFS). Convert the dB 248 double dB = cras_client_get_system_max_capture_gain(client_) / 100.0; 249 return GetVolumeRatioFromDecibels(dB); 255 // Convert from the passed volume ratio, to dB * 100. 256 double dB = GetDecibelsFromVolumeRatio(volume); 257 cras_client_set_system_capture_gain(client_, static_cast<long>(dB * 100.0)); 271 long dB = cras_client_get_system_capture_gain(client_) / 100.0; 272 return GetVolumeRatioFromDecibels(dB); 275 double CrasInputStream::GetVolumeRatioFromDecibels(double dB) const [all...] |
/external/eigen/test/ |
sparse_solver.h | 14 void check_sparse_solving(Solver& solver, const typename Solver::MatrixType& A, const Rhs& b, const DenseMat& dA, const DenseRhs& db) 19 DenseRhs refX = dA.lu().solve(db); 63 DenseRhs x(db.rows(), db.cols()); 64 DenseRhs b(db), oldb(db); 187 DenseMatrix dB(size,rhsCols); 188 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag); 193 check_sparse_solving(solver, A, dB, dA, dB); [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_blit_0.c | 371 unsigned dR, dG, dB; 376 pixel, dR, dG, dB); 377 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); 378 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); 417 int dR, dG, dB; 423 pixel, dR, dG, dB); 424 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); 425 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB);
|
SDL_blit_1.c | 424 int dR, dG, dB; 432 pixel, dR, dG, dB); 433 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); 434 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); 464 int dR, dG, dB; 473 pixel, dR, dG, dB); 474 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); 475 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_blend.c | 495 GLfloat dR, dG, dB, dA; /* Dest factor */ 629 dR = dG = dB = 0.0F; 632 dR = dG = dB = 1.0F; 637 dB = Bs; 642 dB = 1.0F - Bs; 645 dR = dG = dB = As; 648 dR = dG = dB = 1.0F - As; 651 dR = dG = dB = Ad; 654 dR = dG = dB = 1.0F - Ad; 659 dB = ctx->Color.BlendColor[2] [all...] |
/external/eigen/Eigen/src/LU/arch/ |
Inverse_SSE.h | 77 __m128 dA, dB, dC, dD; // determinant of the sub-matrices 91 // dB = |B| 92 dB = _mm_mul_ps(_mm_shuffle_ps(B, B, 0x5F),B); 93 dB = _mm_sub_ss(dB, _mm_movehl_ps(dB,dB)); 116 d2 = _mm_mul_ss(dB,dC); 143 iB = _mm_sub_ps(_mm_mul_ps(C,_mm_shuffle_ps(dB,dB,0)), iB) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
Environment.java | 74 float dB = eaxDb / 2000f; 75 return FastMath.pow(10f, dB);
|
/external/mesa3d/src/mesa/swrast/ |
s_blend.c | 495 GLfloat dR, dG, dB, dA; /* Dest factor */ 629 dR = dG = dB = 0.0F; 632 dR = dG = dB = 1.0F; 637 dB = Bs; 642 dB = 1.0F - Bs; 645 dR = dG = dB = As; 648 dR = dG = dB = 1.0F - As; 651 dR = dG = dB = Ad; 654 dR = dG = dB = 1.0F - Ad; 659 dB = ctx->Color.BlendColor[2] [all...] |
/external/webrtc/src/modules/audio_processing/agc/ |
digital_agc.c | 34 // subplot(121); plot(in, out); axis([-30, 0, -5, 20]); grid on; xlabel('Input (dB)'); ylabel('Gain (dB)'); 35 // subplot(122); plot(in, in+out); axis([-30, 0, -30, 5]); grid on; xlabel('Input (dB)'); ylabel('Output (dB)'); 134 // Calculate a denominator used in the exponential part to convert from dB to linear scale: 270 // start out with 0 dB gain 542 // multiply by 253/256 ==> -0.1 dB 648 state->stdLongTerm = 0; // standard deviation of input level in dB 655 state->stdShortTerm = 0; // short-term standard deviation of input level in dB 674 WebRtc_Word16 zeros, dB; [all...] |
/external/libvorbis/lib/ |
psy.c | 117 /* copy curves into working space, replicate the 50dB curve to 30 118 and 40, replicate the 100dB curve to 110 */ 134 /* normalize curves so the driving amplitude is 0dB */ 146 will be; 0dB SL moves every time the user twiddles the volume 149 can be in (we assume) a range of ...+100dB] SL. However, sounds 150 20dB down will be in a range ...+80], 40dB down is from ...+60], 386 /* octave/(8*eighth_octave_lines) x scale and dB y scale */ 739 int dB=logmask[i]+.5; 740 if(dB>=NOISE_COMPAND_LEVELS)dB=NOISE_COMPAND_LEVELS-1 [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/system/core/libpixelflinger/ |
scanline.cpp | [all...] |
/external/zxing/core/ |
core.jar | |