/external/compiler-rt/lib/ |
H A D | divsf3.c | 123 // In either case, we are going to compute a residual of the form 135 rep_t residual; local 137 residual = (aSignificand << 24) - quotient * bSignificand; 141 residual = (aSignificand << 23) - quotient * bSignificand; 158 const bool round = (residual << 1) > bSignificand;
|
H A D | divdf3.c | 138 // In either case, we are going to compute a residual of the form 150 rep_t residual; local 152 residual = (aSignificand << 53) - quotient * bSignificand; 156 residual = (aSignificand << 52) - quotient * bSignificand; 173 const bool round = (residual << 1) > bSignificand;
|
/external/aac/libFDK/include/ |
H A D | FDK_trigFcts.h | 142 * Returns delta x residual. 146 FIXP_DBL residual; local 152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI)); 153 s = ((LONG)residual) >> shift; 155 residual &= ( (1<<shift) - 1 ); 156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2; 157 residual <<= scale; 202 return residual; 215 FIXP_DBL residual, error local [all...] |
/external/aac/libFDK/src/ |
H A D | FDK_trigFcts.cpp | 298 FIXP_DBL residual, error, sine, cosine; local 300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 301 error = fMult(sine, residual); 308 FIXP_DBL residual, error, sine, cosine; local 310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 311 error = fMult(cosine, residual); 318 FIXP_DBL residual, error0, error1, sine, cosine; local 320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); 321 error0 = fMult(sine, residual); 322 error1 = fMult(cosine, residual); [all...] |
/external/flac/libFLAC/ |
H A D | fixed.c | 58 /* rbps stands for residual bits per sample 256 /* Estimate the expected number of bits per residual signal sample. */ 257 /* 'total_error*' is linearly related to the variance of the residual */ 318 /* Estimate the expected number of bits per residual signal sample. */ 319 /* 'total_error*' is linearly related to the variance of the residual */ 352 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]) argument 359 FLAC__ASSERT(sizeof(residual[0]) == sizeof(data[0])); 360 memcpy(residual, data, sizeof(residual[0])*data_len); 364 residual[ 395 FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]) argument [all...] |
H A D | lpc.c | 265 void FLAC__lpc_compute_residual_from_qlp_coefficients(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]) argument 296 *(residual++) = *(data++) - (sum >> lp_quantization); 304 residual[i] = data[i] - (sum >> lp_quantization); 339 residual[i] = data[i] - (sum >> lp_quantization); 356 residual[i] = data[i] - (sum >> lp_quantization); 374 residual[i] = data[i] - (sum >> lp_quantization); 389 residual[i] = data[i] - (sum >> lp_quantization); 407 residual[i] = data[i] - (sum >> lp_quantization); 420 residual[i] = data[i] - (sum >> lp_quantization); 434 residual[ 531 FLAC__lpc_compute_residual_from_qlp_coefficients_wide(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]) argument 795 FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) argument 1063 FLAC__lpc_restore_signal_wide(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]) argument [all...] |
H A D | stream_encoder_framing.c | 48 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended); 400 subframe->residual, 446 subframe->residual, 497 FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const unsigned residual_samples, const unsigned predictor_order, const unsigned rice_parameters[], const unsigned raw_bits[], const unsigned partition_order, const FLAC__bool is_extended) argument 508 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual, residual_samples, rice_parameters[0])) 518 if(!FLAC__bitwriter_write_raw_int32(bw, residual[i], raw_bits[0])) 536 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual+k_last, k-k_last, rice_parameters[i])) 545 if(!FLAC__bitwriter_write_raw_int32(bw, residual[j], raw_bits[i]))
|
H A D | stream_decoder.c | 125 static FLAC__bool read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended); 163 void (*local_lpc_restore_signal)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 165 void (*local_lpc_restore_signal_64bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 167 void (*local_lpc_restore_signal_16bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 169 void (*local_lpc_restore_signal_16bit_order8)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 data[]); 175 FLAC__int32 *residual[FLAC__MAX_CHANNELS]; /* WATCHOUT: these are the aligned pointers; the real pointers that should be free()'d are residual_unaligned[] below */ member in struct:FLAC__StreamDecoderPrivate 323 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; 703 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; 1324 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; 1346 if(!FLAC__memory_alloc_aligned_int32_array(size, &decoder->private_->residual_unaligned[i], &decoder->private_->residual[ 2700 FLAC__int32 x, *residual = decoder->private_->residual[channel]; local 2720 read_residual_partitioned_rice_(FLAC__StreamDecoder *decoder, unsigned predictor_order, unsigned partition_order, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_extended) argument [all...] |
H A D | stream_encoder.c | 90 * (and fast) estimation (of how many bits a residual value will be 171 FLAC__int32 *residual[2], 195 FLAC__int32 residual[], 215 FLAC__int32 residual[], 244 const FLAC__int32 residual[], 260 const FLAC__int32 residual[], 270 const FLAC__int32 residual[], 280 const FLAC__int32 residual[], 333 unsigned input_capacity; /* current size (in samples) of the signal and residual buffers */ 344 FLAC__int32 *residual_workspace[FLAC__MAX_CHANNELS][2]; /* each channel has a candidate and best workspace where the subframe residual signal 3173 process_subframe_( FLAC__StreamEncoder *encoder, unsigned min_partition_order, unsigned max_partition_order, const FLAC__FrameHeader *frame_header, unsigned subframe_bps, const FLAC__int32 integer_signal[], FLAC__Subframe *subframe[2], FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents[2], FLAC__int32 *residual[2], unsigned *best_subframe, unsigned *best_bits ) argument 3502 evaluate_fixed_subframe_( FLAC__StreamEncoder *encoder, const FLAC__int32 signal[], FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], unsigned blocksize, unsigned subframe_bps, unsigned order, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__Subframe *subframe, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents ) argument 3564 evaluate_lpc_subframe_( FLAC__StreamEncoder *encoder, const FLAC__int32 signal[], FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], const FLAC__real lp_coeff[], unsigned blocksize, unsigned subframe_bps, unsigned order, unsigned qlp_coeff_precision, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__Subframe *subframe, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents ) argument 3675 find_best_partition_order_( FLAC__StreamEncoderPrivate *private_, const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned raw_bits_per_partition[], unsigned residual_samples, unsigned predictor_order, unsigned rice_parameter, unsigned rice_parameter_limit, unsigned min_partition_order, unsigned max_partition_order, unsigned bps, FLAC__bool do_escape_coding, unsigned rice_parameter_search_dist, FLAC__EntropyCodingMethod *best_ecm ) argument 3783 precompute_partition_info_sums_( const FLAC__int32 residual[], FLAC__uint64 abs_residual_partition_sums[], unsigned residual_samples, unsigned predictor_order, unsigned min_partition_order, unsigned max_partition_order, unsigned bps ) argument 3853 precompute_partition_info_escapes_( const FLAC__int32 residual[], unsigned raw_bits_per_partition[], unsigned residual_samples, unsigned predictor_order, unsigned min_partition_order, unsigned max_partition_order ) argument 3952 set_partitioned_rice_( const FLAC__int32 residual[], const FLAC__uint64 abs_residual_partition_sums[], const unsigned raw_bits_per_partition[], const unsigned residual_samples, const unsigned predictor_order, const unsigned suggested_rice_parameter, const unsigned rice_parameter_limit, const unsigned rice_parameter_search_dist, const unsigned partition_order, const FLAC__bool search_for_escapes, FLAC__EntropyCodingMethod_PartitionedRiceContents *partitioned_rice_contents, unsigned *bits ) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
H A D | GraphicsContext3D.cpp | 152 unsigned int residual = validRowSize % alignment; local 153 if (residual) { 154 padding = alignment - residual;
|
/external/flac/include/FLAC/ |
H A D | format.h | 211 /** Contents of a Rice partitioned residual 230 /** Header for a Rice partitioned residual. (c.f. <A HREF="../format.html#partitioned_rice">format specification</A>) 252 /** Header for the entropy coding method. (c.f. <A HREF="../format.html#residual">format specification</A>) 299 /**< The residual coding method. */ 307 const FLAC__int32 *residual; member in struct:__anon5409 308 /**< The residual signal, length == (blocksize minus order) samples. */ 316 /**< The residual coding method. */ 333 const FLAC__int32 *residual; member in struct:__anon5410 334 /**< The residual signal, length == (blocksize minus order) samples. */
|