/system/bt/embdrv/sbc/decoder/srce/ |
dequant.c | 44 dequant = 2^(scale_factor+1) * ((raw * 2.0 + 1.0) / ((2^bits) - 1) - 1) 97 turn 2^31 into 2^(scale_factor+1). Since we're aiming for Q16.15 format, 98 this is achieved by shifting right by (15-scale_factor): 100 (2^31 * x) >> (15-scale_factor) =~ 2^(31-15+scale_factor) * x = 2^15 * 101 2^(1+scale_factor) * x 133 INLINE float dequant_float(uint32_t raw, OI_UINT scale_factor, OI_UINT bits) { 134 float result = (1 << (scale_factor + 1)) * 151 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, 156 OI_ASSERT(scale_factor <= 15) [all...] |
decoder-private.c | 134 int8_t* scale_factor = common->scale_factor; local 146 *scale_factor++ = HIGH(f = *b++); 147 *scale_factor++ = LOW(f); 161 *scale_factor++ = LOW(f); 162 *scale_factor++ = HIGH(f = *b++); 164 *scale_factor++ = LOW(f); 173 *scale_factor++ = OI_BITSTREAM_ReadUINT4Aligned(bs); 192 uint32_t sf_by4 = ((uint32_t*)common->scale_factor)[i];
|
bitalloc.c | 136 int8_t* scale_factor = &common->scale_factor[ch ? nrof_subbands : 0]; local 143 OI_INT bits = scale_factor[sb]; 161 OI_INT bits = scale_factor[sb];
|
readsamplesjoint.inc | 69 int8_t *sf_array = &common->scale_factor[0];
|
/external/webrtc/webrtc/common_audio/signal_processing/ |
energy.c | 22 int* scale_factor) 36 *scale_factor = scaling;
|
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/ |
calibration_data.h | 44 * SCALE_FACTOR - Sensor axis scaling (ideally unity). 55 SCALE_FACTOR = 0x02, 120 float scale_factor[3]; member in struct:online_calibration::CalibrationTypeFlags::CalibrationDataThreeAxis 145 scale_factor[0] = 1.0f; 146 scale_factor[1] = 1.0f; 147 scale_factor[2] = 1.0f; 162 * corrected_data = scale_factor * (input_data - offset); 195 float scale_factor; member in struct:online_calibration::CalibrationTypeFlags::CalibrationDataSingleAxis 216 scale_factor = 1.0f;
|
/external/tensorflow/tensorflow/examples/android/jni/object_tracking/ |
object_detector.h | 50 // concentrentically, scaling down by scale_factor until the minimum threshold 58 const float scale_factor, 63 SCHECK(scale_factor < 1.0f, "Scale factor too large at %.2f!", scale_factor); 70 descriptor_area.Scale(scale_factor); 75 scale_factor);
|
frame_pair.cc | 71 const float scale_factor = GetWeightedMedianScale(weights, deltas); local 73 if (scale_factor > 0.0f) { 74 *scale_x = scale_factor; 75 *scale_y = scale_factor;
|
/external/tensorflow/tensorflow/core/kernels/ |
dequantize_op.cc | 74 const float scale_factor = variable 85 ((static_cast<int>(in_ptr[i]) + half_range_) * scale_factor) + 114 const float scale_factor = max_abs / target_range; variable 120 out_ptr[i] = static_cast<int>(in_ptr[i]) * scale_factor;
|
quantize_op.cc | 135 const float scale_factor = variable 158 scale_factor - 167 scale_factor + 205 const float scale_factor = target_range / max_abs; variable 210 scale_factor) 217 scale_factor)
|
dequantize_op_test.cc | 49 const float scale_factor = local 56 scale_factor) +
|
/libcore/ojluni/src/main/java/sun/misc/ |
FpUtils.java | 501 * 2<sup>{@code scale_factor}</sup> rounded as if performed 527 * @param scale_factor power of 2 used to scale {@code d} 528 * @return {@code d * }2<sup>{@code scale_factor}</sup> 533 public static double scalb(double d, int scale_factor) { 534 return Math.scalb(d, scale_factor); 539 * 2<sup>{@code scale_factor}</sup> rounded as if performed 565 * @param scale_factor power of 2 used to scale {@code f} 566 * @return {@code f * }2<sup>{@code scale_factor}</sup> 571 public static float scalb(float f, int scale_factor) { 572 return Math.scalb(f, scale_factor); [all...] |
/external/libjpeg-turbo/ |
jcparam.c | 30 int scale_factor, boolean force_baseline) 54 temp = ((long) basic_table[i] * scale_factor + 50L) / 100L; 112 jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor, 122 scale_factor, force_baseline); 124 scale_factor, force_baseline);
|
/external/ImageMagick/MagickCore/ |
geometry.c | 1350 scale_factor; local [all...] |
matrix.c | 895 scale_factor, 936 scale_factor=0; 940 scale_factor=(double) QuantumRange/min_value; 944 scale_factor=(double) QuantumRange/(max_value-min_value); 884 scale_factor, local [all...] |
/external/pdfium/core/fxcrt/ |
fx_string.cpp | 81 float FractionalScale(size_t scale_factor, int value) { 82 return fraction_scales[scale_factor] * value;
|
/device/google/marlin/camera/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 90 jpegd_scale_type_t scale_factor; member in struct:__anon2695 157 mjpegd->scale_factor = (jpegd_scale_type_t)1; 257 ((jpegd_preference_t)p_args->scale_factor > 0)) { 410 p_args->width * p_args->height * SQUARE(p_args->scale_factor), 415 p_args->width * p_args->height / 2 * SQUARE(p_args->scale_factor), 429 config.scale_factor = p_args->scale_factor;
|
/hardware/qcom/camera/msm8998/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 90 jpegd_scale_type_t scale_factor; member in struct:__anon49537 157 mjpegd->scale_factor = (jpegd_scale_type_t)1; 257 ((jpegd_preference_t)p_args->scale_factor > 0)) { 410 p_args->width * p_args->height * SQUARE(p_args->scale_factor), 415 p_args->width * p_args->height / 2 * SQUARE(p_args->scale_factor), 429 config.scale_factor = p_args->scale_factor;
|
/external/strace/ |
strace-graph | 44 my $scale_factor = 3.5; 313 $elapsed /= $scale_factor;
|
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 104 scale_factor: float; scaling factor for chart search 122 scale_factor = template.shape[0] / chart_pixel_h 123 print 'Chart/image scale factor = %.2f' % scale_factor 124 return template, img_3a, scale_factor
|
/external/webrtc/webrtc/p2p/base/ |
pseudotcp.h | 182 void applyWindowScaleOption(uint8_t scale_factor);
|
pseudotcp.cc | 1255 uint8_t scale_factor = 0; local 1265 new_size <<= scale_factor; local [all...] |
/system/bt/embdrv/sbc/decoder/include/ |
oi_codec_sbc.h | 195 int8_t scale_factor[SBC_MAX_CHANNELS * SBC_MAX_BANDS]; member in struct:__anon1830
|
/external/libxaac/decoder/ |
ixheaacd_block.c | 1279 WORD16 scale_factor; local [all...] |
/external/ImageMagick/coders/ |
viff.c | 216 scale_factor, 543 scale_factor=1.0; 580 scale_factor=0; 584 scale_factor=(double) QuantumRange/min_value; 588 scale_factor=(double) QuantumRange/(max_value-min_value); 606 value=(value-min_value)*scale_factor; 212 scale_factor, local [all...] |