Home
last modified time | relevance | path

Searched refs:dB (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/modules/sksg/src/
H A DSkSGColorFilter.cpp113 dB = c1.fB - c0.fB; in Make2ColorGradient() local
131 // b' = c0.b + (c1.b - c0.b) * L = c0.b + dB*L in Make2ColorGradient()
138 // | dB, 0, 0, 0, c0.b | in Make2ColorGradient()
146 dB*SK_LUM_COEFF_R, dB*SK_LUM_COEFF_G, dB*SK_LUM_COEFF_B, 0, c0.fB, in Make2ColorGradient()
178 dB = (SkColorGetB(c1) - b) / span_size; in MakeNColorGradient() local
186 b += dB; in MakeNColorGradient()
/third_party/pulseaudio/src/tests/
H A Dvolume-test.c43 pa_log("Attenuation of sample 1 against 32767: %g dB", 20.0*log10(1.0/32767.0)); in START_TEST()
48 double dB = pa_sw_volume_to_dB(v); in START_TEST() local
52 v, (v*100)/PA_VOLUME_NORM, dB, f, pa_sw_volume_from_dB(dB), pa_sw_volume_from_linear(f)); in START_TEST()
/third_party/skia/src/pathops/
H A DSkPathOpsPoint.h202 SkDPoint dA, dB; in ApproximatelyEqual() local
204 dB.set(b); in ApproximatelyEqual()
205 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? in ApproximatelyEqual()
254 SkDPoint dA, dB; in RoughlyEqual() local
256 dB.set(b); in RoughlyEqual()
257 double dist = dA.distance(dB); // OPTIMIZATION: can we compare against distSq instead ? in RoughlyEqual()
/third_party/pulseaudio/src/pulse/
H A Dvolume.c243 pa_volume_t pa_sw_volume_from_dB(double dB) { in pa_sw_volume_from_dB() argument
244 if (isinf(dB) < 0 || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
247 return pa_sw_volume_from_linear(dB_to_linear(dB)); in pa_sw_volume_from_dB()
361 l -= pa_snprintf(e, l, "%s%u: %0.2f dB", in pa_sw_cvolume_snprint_dB()
429 pa_snprintf(s, l, "%0.2f dB", isinf(f) < 0 || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_volume_snprint_dB()
435 char dB[PA_SW_VOLUME_SNPRINT_DB_MAX]; in pa_volume_snprint_verbose() local
451 print_dB ? pa_sw_volume_snprint_dB(dB, sizeof(dB), v) : ""); in pa_volume_snprint_verbose()
H A Dohos_pa_volume.c243 pa_volume_t pa_sw_volume_from_dB(double dB) { in pa_sw_volume_from_dB() argument
245 if (dB == -INFINITY || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
248 if (isinf(dB) < 0 || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
252 return pa_sw_volume_from_linear(dB_to_linear(dB)); in pa_sw_volume_from_dB()
367 l -= pa_snprintf(e, l, "%s%u: %0.2f dB", in pa_sw_cvolume_snprint_dB()
372 l -= pa_snprintf(e, l, "%s%u: %0.2f dB", in pa_sw_cvolume_snprint_dB()
442 pa_snprintf(s, l, "%0.2f dB", f == -INFINITY || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_volume_snprint_dB()
444 pa_snprintf(s, l, "%0.2f dB", isin in pa_sw_volume_snprint_dB()
451 char dB[PA_SW_VOLUME_SNPRINT_DB_MAX]; pa_volume_snprint_verbose() local
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-mixer.c860 * by the dB fix, we clamp the hw volume to be in element_get_volume()
866 pa_log_debug("Playback volume for element %s channel %i was below the dB fix limit. " in element_get_volume()
867 "Volume reset to %0.2f dB.", buf, c, in element_get_volume()
873 pa_log_debug("Playback volume for element %s channel %i was over the dB fix limit. " in element_get_volume()
874 "Volume reset to %0.2f dB.", buf, c, in element_get_volume()
878 /* Volume step -> dB value conversion. */ in element_get_volume()
890 * by the dB fix, we clamp the hw volume to be in element_get_volume()
896 pa_log_debug("Capture volume for element %s channel %i was below the dB fix limit. " in element_get_volume()
897 "Volume reset to %0.2f dB.", buf, c, in element_get_volume()
903 pa_log_debug("Capture volume for element %s channel %i was over the dB fi in element_get_volume()
1436 long dB = 0; element_set_constant_volume() local
3672 long dB = 0; element_is_subset() local
[all...]
/third_party/alsa-utils/amixer/
H A Damixer.c451 static void print_dB(long dB) in print_dB() argument
453 if (dB < 0) { in print_dB()
454 printf("-%li.%02lidB", -dB / 100, -dB % 100); in print_dB()
456 printf("%li.%02lidB", dB / 100, dB % 100); in print_dB()
/third_party/lame/misc/
H A Dath.c17 * 180 Hz...13.5 kHz: 50...70 dB
18 * 100 Hz...15.0 kHz: 40...70 dB
19 * 70 Hz...16.0 kHz: 30...70 dB
20 * 45 Hz...16.5 kHz: 20...70 dB
21 * 30 Hz...17.5 kHz: 10...70 dB
22 * 25 Hz...18.0 kHz: 5...75 dB
23 * 20 Hz...19.0 kHz: 0...80 dB
24 * 16 Hz...20.0 kHz: -10...80 dB
464 double dB; in ATH() local
473 dB in ATH()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DETC_Decoder.cpp153 int b = (B + dB); in decodeBlock()
208 signed char dB : 3; member
380 int b2 = extend_5to8bits(B + dB); in decodeDifferentialBlock()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DETC_Decoder.cpp154 int b = (B + dB); in decodeBlock()
209 signed char dB : 3; member
381 int b2 = extend_5to8bits(B + dB); in decodeDifferentialBlock()
/third_party/skia/third_party/externals/angle2/src/image_util/
H A Dloadimage_etc.cpp139 int b = (block.B + block.dB); in decodeAsRGB()
184 int b = (block.B + block.dB); in transcodeAsBC1()
238 signed char dB : 3; member
456 int b2 = extend_5to8bits(block.B + block.dB); in decodeDifferentialBlock()
948 int b2 = extend_5to8bits(block.B + block.dB); in transcodeDifferentialBlockToBC1()
/third_party/skia/include/core/
H A DSkRect.h432 /** Adjusts SkIRect by adding dL to fLeft, dT to fTop, dR to fRight, and dB to fBottom.
437 If dB is positive, shrinks SkIRect on the bottom. If negative, lengthens it on the bottom.
446 @param dB offset added to fBottom
448 void adjust(int32_t dL, int32_t dT, int32_t dR, int32_t dB) { in adjust()
452 fBottom = Sk32_sat_add(fBottom, dB); in adjust()
/third_party/pulseaudio/src/utils/
H A Dpactl.c495 char dB[PA_SW_VOLUME_SNPRINT_DB_MAX]; in pa_volume_to_json_object() local
500 pa_json_encoder_add_member_string(encoder, "db", print_dB ? pa_sw_volume_snprint_dB(dB, sizeof(dB), v) : NULL); in pa_volume_to_json_object()
2543 else if (pa_endswith(vs, "db") || pa_endswith(vs, "dB")) { in parse_volume()
/third_party/vk-gl-cts/framework/common/
H A DtcuCompressedTexture.cpp500 deUint8 dB = (deUint8)getBits(src, 40, 42); in decompressETC1Block() local
508 baseB[1] = extend5Delta3To8(bB, dB); in decompressETC1Block()
/third_party/ffmpeg/tests/fate/
H A Dfilter-audio.mak187 fate-filter-silenceremove: CMD = framecrc -auto_conversion_filters -f lavfi -i "aevalsrc=between(t\,1\,2)+between(t\,4\,5)+between(t\,7\,9):d=10:n=8192,silenceremove=start_periods=0:start_duration=0:start_threshold=0:stop_periods=-1:stop_duration=0:stop_threshold=-90dB:window=0:detection=peak"
H A Dfilter-video.mak662 fate-filter-metadata-silencedetect: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',silencedetect=n=-33.5dB:d=0.2"

Completed in 33 milliseconds