Home
last modified time | relevance | path

Searched refs:dB (Results 1 – 25 of 55) sorted by relevance

123

/external/eigen/Eigen/src/LU/arch/
DInverse_SSE.h77 __m128 dA, dB, dC, dD; // determinant of the sub-matrices
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);
215 __m128d dA, dB, dC, dD; // determinant of the sub-matrices
223 dB = _mm_shuffle_pd(B2, B2, 1);
224 dB = _mm_mul_pd(B1, dB);
225 dB = _mm_sub_sd(dB, _mm_shuffle_pd(dB,dB,3));
277 d2 = _mm_mul_sd(dB, dC);
[all …]
/external/chromium_org/media/audio/cras/
Dcras_input.cc246 double dB = cras_client_get_system_max_capture_gain(client_) / 100.0; in GetMaxVolume() local
247 return GetVolumeRatioFromDecibels(dB); in GetMaxVolume()
254 double dB = GetDecibelsFromVolumeRatio(volume); in SetVolume() local
255 cras_client_set_system_capture_gain(client_, static_cast<long>(dB * 100.0)); in SetVolume()
269 long dB = cras_client_get_system_capture_gain(client_) / 100.0; in GetVolume() local
270 return GetVolumeRatioFromDecibels(dB); in GetVolume()
273 double CrasInputStream::GetVolumeRatioFromDecibels(double dB) const { in GetVolumeRatioFromDecibels()
274 return pow(10, dB / 20.0); in GetVolumeRatioFromDecibels()
Dcras_input.h70 double GetVolumeRatioFromDecibels(double dB) const;
/external/libvorbis/lib/
Danalysis.c70 void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,ogg_int64_t off){ in _analysis_output_always() argument
90 if(dB){ in _analysis_output_always()
104 void _analysis_output(char *base,int i,float *v,int n,int bark,int dB, in _analysis_output() argument
106 if(analysis_noisy)_analysis_output_always(base,i,v,n,bark,dB,off); in _analysis_output()
Dmisc.h27 extern void _analysis_output(char *base,int i,float *v,int n,int bark,int dB,
29 extern void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,
Dpsytune.c199 void analysis(char *base,int i,float *v,int n,int bark,int dB){ in analysis() argument
208 if(dB && v[j]==0) in analysis()
216 if(dB){ in analysis()
/external/eigen/test/
Dsparse_solver.h187 DenseMatrix dB(size,rhsCols); in check_sparse_spd_solving()
188 initSparse<Scalar>(density, dB, B, ForceNonZeroDiag); in check_sparse_spd_solving()
193 check_sparse_solving(solver, A, dB, dA, dB); in check_sparse_spd_solving()
194 check_sparse_solving(solver, halfA, dB, dA, dB); in check_sparse_spd_solving()
195 check_sparse_solving(solver, A, B, dA, dB); in check_sparse_spd_solving()
196 check_sparse_solving(solver, halfA, B, dA, dB); in check_sparse_spd_solving()
271 DenseMatrix dB = DenseMatrix::Random(size,rhsCols); in check_sparse_square_solving() local
275 check_sparse_solving(solver, A, dB, dA, dB); in check_sparse_square_solving()
/external/qemu/distrib/sdl-1.2.15/src/video/
DSDL_blit_A.c90 unsigned dB; in BlitNto1SurfaceAlpha()
94 dB = dstfmt->palette->colors[*dst].b; in BlitNto1SurfaceAlpha()
95 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); in BlitNto1SurfaceAlpha()
98 dB &= 0xff; in BlitNto1SurfaceAlpha()
103 ((dB>>6)<<(0)); in BlitNto1SurfaceAlpha()
107 ((dB>>6)<<(0))]; in BlitNto1SurfaceAlpha()
143 unsigned dB; in BlitNto1PixelAlpha()
147 dB = dstfmt->palette->colors[*dst].b; in BlitNto1PixelAlpha()
148 ALPHA_BLEND(sR, sG, sB, sA, dR, dG, dB); in BlitNto1PixelAlpha()
151 dB &= 0xff; in BlitNto1PixelAlpha()
[all …]
DSDL_blit_0.c371 unsigned dR, dG, dB; in BlitBtoNAlpha() local
376 pixel, dR, dG, dB); in BlitBtoNAlpha()
377 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); in BlitBtoNAlpha()
378 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); in BlitBtoNAlpha()
417 int dR, dG, dB; in BlitBtoNAlphaKey() local
423 pixel, dR, dG, dB); in BlitBtoNAlphaKey()
424 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); in BlitBtoNAlphaKey()
425 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); in BlitBtoNAlphaKey()
DSDL_blit_1.c424 int dR, dG, dB; in Blit1toNAlpha() local
432 pixel, dR, dG, dB); in Blit1toNAlpha()
433 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); in Blit1toNAlpha()
434 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); in Blit1toNAlpha()
464 int dR, dG, dB; in Blit1toNAlphaKey() local
473 pixel, dR, dG, dB); in Blit1toNAlphaKey()
474 ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB); in Blit1toNAlphaKey()
475 ASSEMBLE_RGB(dst, dstbpp, dstfmt, dR, dG, dB); in Blit1toNAlphaKey()
DSDL_blit.h385 #define ALPHA_BLEND(sR, sG, sB, A, dR, dG, dB) \ argument
389 dB = (((sB-dB)*(A)+255)>>8)+dB; \
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
Ds_blend.c495 GLfloat dR, dG, dB, dA; /* Dest factor */ in blend_general_float() local
629 dR = dG = dB = 0.0F; in blend_general_float()
632 dR = dG = dB = 1.0F; in blend_general_float()
637 dB = Bs; in blend_general_float()
642 dB = 1.0F - Bs; in blend_general_float()
645 dR = dG = dB = As; in blend_general_float()
648 dR = dG = dB = 1.0F - As; in blend_general_float()
651 dR = dG = dB = Ad; in blend_general_float()
654 dR = dG = dB = 1.0F - Ad; in blend_general_float()
659 dB = ctx->Color.BlendColor[2]; in blend_general_float()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_blend.c495 GLfloat dR, dG, dB, dA; /* Dest factor */ in blend_general_float() local
629 dR = dG = dB = 0.0F; in blend_general_float()
632 dR = dG = dB = 1.0F; in blend_general_float()
637 dB = Bs; in blend_general_float()
642 dB = 1.0F - Bs; in blend_general_float()
645 dR = dG = dB = As; in blend_general_float()
648 dR = dG = dB = 1.0F - As; in blend_general_float()
651 dR = dG = dB = Ad; in blend_general_float()
654 dR = dG = dB = 1.0F - Ad; in blend_general_float()
659 dB = ctx->Color.BlendColor[2]; in blend_general_float()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
DARM-E_interpolate_loop_gnu.s97 @ This section performs a gain adjustment of -12dB for 16-bit samples
98 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
105 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
107 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB
DARM-E_interpolate_noloop_gnu.s89 @ This section performs a gain adjustment of -12dB for 16-bit samples
90 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
97 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
99 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB
/external/sonivox/arm-hybrid-22k/lib_src/
DARM-E_interpolate_noloop_gnu.s89 @ This section performs a gain adjustment of -12dB for 16-bit samples
90 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
97 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
99 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB
DARM-E_interpolate_loop_gnu.s97 @ This section performs a gain adjustment of -12dB for 16-bit samples
98 @ or +36dB for 8-bit samples. For a high quality synthesizer, the output
105 MOV tmp0, tmp0, LSL #6 @ boost 8-bit signal by 36dB
107 MOV tmp0, tmp0, ASR #2 @ reduce 16-bit signal by 12dB
/external/webrtc/src/modules/audio_processing/agc/
Ddigital_agc.c674 WebRtc_Word16 zeros, dB; in WebRtcAgc_ProcessVad() local
737 dB = WEBRTC_SPL_LSHIFT_W16(15 - zeros, 11); in WebRtcAgc_ProcessVad()
748 tmp32 = (WEBRTC_SPL_MUL_16_16(state->meanShortTerm, 15) + (WebRtc_Word32)dB); in WebRtcAgc_ProcessVad()
752 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12); in WebRtcAgc_ProcessVad()
762 tmp32 = WEBRTC_SPL_MUL_16_16(state->meanLongTerm, state->counter) + (WebRtc_Word32)dB; in WebRtcAgc_ProcessVad()
767 tmp32 = WEBRTC_SPL_RSHIFT_W32(WEBRTC_SPL_MUL_16_16(dB, dB), 12); in WebRtcAgc_ProcessVad()
779 tmp32 = WEBRTC_SPL_MUL_16_16(tmp16, (dB - state->meanLongTerm)); in WebRtcAgc_ProcessVad()
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DEnvironment.java74 float dB = eaxDb / 2000f; in eaxDbToAmp() local
75 return FastMath.pow(10f, dB); in eaxDbToAmp()
/external/skia/src/pathops/
DSkPathOpsPoint.h129 SkDPoint dA, dB; in ApproximatelyEqual() local
131 dB.set(b); in ApproximatelyEqual()
132 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? in ApproximatelyEqual()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsPoint.h129 SkDPoint dA, dB; in ApproximatelyEqual() local
131 dB.set(b); in ApproximatelyEqual()
132 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? in ApproximatelyEqual()
/external/libvorbis/doc/
D01-introduction.tex209 representation on a dB amplitude scale and Bark frequency scale.
211 representation on a dB amplitude scale and linear frequency scale.
462 However, floor vector values can span \~{}140dB (\~{}24 bits unsigned), and
463 the audio spectrum vector should represent a minimum of 120dB (\~{}21
466 $-140$dB, it must be able to span 0 to $+140$dB. For the residue vector
467 to reach full scale if the floor is nailed at 0dB, it must be able to
468 represent $-140$dB to $+0$dB. Thus, in order to handle full range
469 dynamics, a residue vector may span $-140$dB to $+140$dB entirely within
470 spec. A 280dB range is approximately 48 bits with sign; thus the
D10-tables.tex6 \subsection{floor1\_inverse\_dB\_table} \label{vorbis:spec:floor1:inverse:dB:table}
D04-codec.tex550 However, floor vector values can span \~140dB (\~24 bits unsigned), and
551 the audio spectrum vector should represent a minimum of 120dB (\~21
554 $-140$dB, it must be able to span 0 to $+140$dB. For the residue vector
555 to reach full scale if the floor is nailed at 0dB, it must be able to
556 represent $-140$dB to $+0$dB. Thus, in order to handle full range
557 dynamics, a residue vector may span $-140$dB to $+140$dB entirely within
558 spec. A 280dB range is approximately 48 bits with sign; thus the
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DColor.cpp176 int dB = c1.blue() - c2.blue(); in differenceSquared() local
177 return dR * dR + dG * dG + dB * dB; in differenceSquared()

123