/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;
|
/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...] |
/cts/apps/CameraITS/pymodules/its/ |
cv2image.py | 76 scale_factor: float; scaling factor for chart search 94 scale_factor = template.shape[0] / chart_pixel_h 95 print 'Chart/image scale factor = %.2f' % scale_factor 96 return template, img_3a, scale_factor
|
/device/google/marlin/camera/usbcamcore/src/ |
QCameraMjpegDecode.cpp | 90 jpegd_scale_type_t scale_factor; member in struct:__anon4082 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:__anon44419 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/pdfium/core/fxcrt/ |
fx_ext.h | 78 FX_FLOAT FXSYS_FractionalScale(size_t scale_factor, int value);
|
fx_basic_util.cpp | 81 FX_FLOAT FXSYS_FractionalScale(size_t scale_factor, int value) { 82 return fraction_scales[scale_factor] * value;
|
/external/strace/ |
strace-graph | 44 my $scale_factor = 3.5; 313 $elapsed /= $scale_factor;
|
/external/pdfium/third_party/libjpeg/ |
fpdfapi_jcparam.c | 25 int scale_factor, boolean force_baseline) 49 temp = ((long) basic_table[i] * scale_factor + 50L) / 100L; 64 jpeg_set_linear_quality (j_compress_ptr cinfo, int scale_factor, 99 scale_factor, force_baseline); 101 scale_factor, force_baseline);
|
cdjpeg.h | 134 int scale_factor, boolean force_baseline));
|
/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:__anon113439
|
oi_codec_sbc_private.h | 217 INLINE int32_t OI_SBC_Dequant(uint32_t raw, OI_UINT scale_factor, OI_UINT bits);
|
/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...] |
/external/libpcap/ |
sf-pcap-ng.c | 219 u_int scale_factor; /* time stamp scale factor for power-of-10 tsresol */ member in struct:pcap_ng_if 680 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol; 694 ps->ifaces[ps->ifcount - 1].scale_factor = ps->user_tsresol/tsresol; [all...] |
/hardware/qcom/display/sdm845/sdm/libs/core/drm/ |
hw_info_drm.cpp | 165 hw_resource->scale_factor = 1; 218 DLOGI("\tScale = %d", hw_resource->scale_factor); 262 hw_resource->scale_factor = info.downscale_prefill_lines;
|
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-i386-intel.c | 34 offsetT scale_factor; /* Accumulated scale factor. */ member in struct:__anon115697 422 intel_state.scale_factor = 1; 439 intel_state.scale_factor *= scale->X_add_number; 447 switch (intel_state.scale_factor)
|