Home
last modified time | relevance | path

Searched refs:residual (Results 1 – 25 of 36) sorted by relevance

12

/external/aac/libFDK/include/
DFDK_trigFcts.h146 FIXP_DBL residual; in fixp_sin_cos_residual_inline() local
152 residual = fMult(x, FL2FXCONST_DBL(1.0/M_PI)); in fixp_sin_cos_residual_inline()
153 s = ((LONG)residual) >> shift; in fixp_sin_cos_residual_inline()
155 residual &= ( (1<<shift) - 1 ); in fixp_sin_cos_residual_inline()
156 residual = fMult(residual, FL2FXCONST_DBL(M_PI/4.0)) << 2; in fixp_sin_cos_residual_inline()
157 residual <<= scale; in fixp_sin_cos_residual_inline()
202 return residual; in fixp_sin_cos_residual_inline()
215 FIXP_DBL residual, error0, error1, sine, cosine; in inline_fixp_cos_sin() local
216 residual = fixp_sin_cos_residual_inline(x1, scale, &sine, &cosine); in inline_fixp_cos_sin()
217 error0 = fMultDiv2(sine, residual); in inline_fixp_cos_sin()
[all …]
/external/flac/libFLAC/include/private/
Dlpc.h140 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
141 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
145 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
146 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
168 void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 ql…
169 void FLAC__lpc_restore_signal_wide(const FLAC__int32 residual[], unsigned data_len, const FLAC__int…
173 void FLAC__lpc_restore_signal_asm_ia32(const FLAC__int32 residual[], unsigned data_len, const FLAC_…
174 void FLAC__lpc_restore_signal_asm_ia32_mmx(const FLAC__int32 residual[], unsigned data_len, const F…
177 void FLAC__lpc_restore_signal_asm_ppc_altivec_16(const FLAC__int32 residual[], unsigned data_len, c…
178 void FLAC__lpc_restore_signal_asm_ppc_altivec_16_order8(const FLAC__int32 residual[], unsigned data…
Dfixed.h80 …pute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]);
95 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FL…
/external/flac/libFLAC/
Dfixed.c352 …mpute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]) in FLAC__fixed_compute_residual() argument
359 FLAC__ASSERT(sizeof(residual[0]) == sizeof(data[0])); in FLAC__fixed_compute_residual()
360 memcpy(residual, data, sizeof(residual[0])*data_len); in FLAC__fixed_compute_residual()
364 residual[i] = data[i] - data[i-1]; in FLAC__fixed_compute_residual()
369 residual[i] = data[i] - (data[i-1] << 1) + data[i-2]; in FLAC__fixed_compute_residual()
371 residual[i] = data[i] - 2*data[i-1] + data[i-2]; in FLAC__fixed_compute_residual()
377 residual[i] = data[i] - (((data[i-1]-data[i-2])<<1) + (data[i-1]-data[i-2])) - data[i-3]; in FLAC__fixed_compute_residual()
379 residual[i] = data[i] - 3*data[i-1] + 3*data[i-2] - data[i-3]; in FLAC__fixed_compute_residual()
385residual[i] = data[i] - ((data[i-1]+data[i-3])<<2) + ((data[i-2]<<2) + (data[i-2]<<1)) + data[i-4]; in FLAC__fixed_compute_residual()
387 residual[i] = data[i] - 4*data[i-1] + 6*data[i-2] - 4*data[i-3] + data[i-4]; in FLAC__fixed_compute_residual()
[all …]
Dlpc.c265 …ta_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]) in FLAC__lpc_compute_residual_from_qlp_coefficients() argument
296 *(residual++) = *(data++) - (sum >> lp_quantization); in FLAC__lpc_compute_residual_from_qlp_coefficients()
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[i] = data[i] - (sum >> lp_quantization);
445 residual[i] = data[i] - (sum >> lp_quantization);
[all …]
Dstream_encoder_framing.c48 static FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[],…
400 subframe->residual, in FLAC__subframe_add_fixed()
446 subframe->residual, in FLAC__subframe_add_lpc()
497 FLAC__bool add_residual_partitioned_rice_(FLAC__BitWriter *bw, const FLAC__int32 residual[], const … in add_residual_partitioned_rice_() argument
508 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual, residual_samples, rice_parameters[0])) in add_residual_partitioned_rice_()
518 if(!FLAC__bitwriter_write_raw_int32(bw, residual[i], raw_bits[0])) in add_residual_partitioned_rice_()
536 if(!FLAC__bitwriter_write_rice_signed_block(bw, residual+k_last, k-k_last, rice_parameters[i])) in add_residual_partitioned_rice_()
545 if(!FLAC__bitwriter_write_raw_int32(bw, residual[j], raw_bits[i])) in add_residual_partitioned_rice_()
Dstream_encoder.c171 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[],
377 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
378 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
379 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
[all …]
Dstream_decoder.c125 …Method_PartitionedRiceContents *partitioned_rice_contents, FLAC__int32 *residual, FLAC__bool is_ex…
163 …void (*local_lpc_restore_signal)(const FLAC__int32 residual[], unsigned data_len, const FLAC__int3…
165 …void (*local_lpc_restore_signal_64bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC…
167 …void (*local_lpc_restore_signal_16bit)(const FLAC__int32 residual[], unsigned data_len, const FLAC…
169 …void (*local_lpc_restore_signal_16bit_order8)(const FLAC__int32 residual[], unsigned data_len, con…
175 …FLAC__int32 *residual[FLAC__MAX_CHANNELS]; /* WATCHOUT: these are the aligned pointers; the real p… member
323 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; in FLAC__stream_decoder_new()
703 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; in FLAC__stream_decoder_finish()
1324 decoder->private_->residual_unaligned[i] = decoder->private_->residual[i] = 0; in allocate_output_()
1346 …ed_int32_array(size, &decoder->private_->residual_unaligned[i], &decoder->private_->residual[i])) { in allocate_output_()
[all …]
/external/aac/libFDK/src/
DFDK_trigFcts.cpp298 FIXP_DBL residual, error, sine, cosine; in fixp_cos() local
300 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos()
301 error = fMult(sine, residual); in fixp_cos()
308 FIXP_DBL residual, error, sine, cosine; in fixp_sin() local
310 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_sin()
311 error = fMult(cosine, residual); in fixp_sin()
318 FIXP_DBL residual, error0, error1, sine, cosine; in fixp_cos_sin() local
320 residual = fixp_sin_cos_residual_inline(x, scale, &sine, &cosine); in fixp_cos_sin()
321 error0 = fMult(sine, residual); in fixp_cos_sin()
322 error1 = fMult(cosine, residual); in fixp_cos_sin()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DConjugateGradient.h43 VectorType residual = rhs - mat * x; //initial residual in conjugate_gradient() local
46 p = precond.solve(residual); //initial search direction in conjugate_gradient()
49 …RealScalar absNew = internal::real(residual.dot(p)); // the square of the absolute value of r sca… in conjugate_gradient()
60 residual -= alpha * tmp; // update residue in conjugate_gradient()
62 residualNorm2 = residual.squaredNorm(); in conjugate_gradient()
66 z = precond.solve(residual); // approximately solve for "A z = residual" in conjugate_gradient()
69 absNew = internal::real(residual.dot(z)); // update the absolute value of r in conjugate_gradient()
/external/compiler-rt/lib/
Ddivsf3.c135 rep_t residual; in ARM_EABI_FNALIAS() local
137 residual = (aSignificand << 24) - quotient * bSignificand; in ARM_EABI_FNALIAS()
141 residual = (aSignificand << 23) - quotient * bSignificand; in ARM_EABI_FNALIAS()
158 const bool round = (residual << 1) > bSignificand; in ARM_EABI_FNALIAS()
Ddivdf3.c150 rep_t residual; in ARM_EABI_FNALIAS() local
152 residual = (aSignificand << 53) - quotient * bSignificand; in ARM_EABI_FNALIAS()
156 residual = (aSignificand << 52) - quotient * bSignificand; in ARM_EABI_FNALIAS()
173 const bool round = (residual << 1) > bSignificand; in ARM_EABI_FNALIAS()
/external/flac/libFLAC/ppc/as/
Dlpc_asm.s38 ; r3: residual[]
52 ; has only one load from memory (the residual)
225 lvsl v18,r10,r3 ; v18: residual shift back vector
274 lvewx v21,0,r3 ; v21[n]: *residual
275 vperm v21,v21,v21,v18 ; v21[3]: *residual
276 vaddsws v20,v21,v20 ; v20[3]: *residual + (sum >> lp_quantization)
297 ; r3: residual[]
390 lvsl v6,r10,r3 ; v6: residual shift back vector
409 lvewx v9,0,r3 ; v9[n]: *residual
410 vperm v9,v9,v9,v6 ; v9[3]: *residual
[all …]
/external/flac/libFLAC/ppc/gas/
Dlpc_asm.s40 # r3: residual[]
54 # has only one load from memory (the residual)
227 lvsl v18,r10,r3 # v18: residual shift back vector
276 lvewx v21,0,r3 # v21[n]: *residual
277 vperm v21,v21,v21,v18 # v21[3]: *residual
278 vaddsws v20,v21,v20 # v20[3]: *residual + (sum >> lp_quantization)
299 # r3: residual[]
392 lvsl v6,r10,r3 # v6: residual shift back vector
411 lvewx v9,0,r3 # v9[n]: *residual
412 vperm v9,v9,v9,v6 # v9[3]: *residual
[all …]
/external/flac/libFLAC/ia32/
Dstream_encoder_asm.nasm46 ; const FLAC__int32 residual[],
58 ;; [esp + 4] const FLAC__int32 residual[]
69 ;; [esp + 28] const FLAC__int32 residual[]
93 mov ebp, [esp + 28] ; ebp <- residual[]
103 add ebx, eax ; abs_residual_partition_sum += abs(residual[residual_sample]);
Dlpc_asm.nasm741 …ta_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[])
747 ; residual[i] = data[i] - (sum >> lp_quantization);
752 ;[esp + 40] residual[]
767 mov edi, [esp + 40] ; edi = residual[]
967 ;[esp + 40] residual[]
982 mov edi, [esp + 40] ; edi = residual[]
1142 ; void FLAC__lpc_restore_signal(const FLAC__int32 residual[], unsigned data_len, const FLAC__int32 …
1153 ; data[i] = residual[i] + (sum >> lp_quantization);
1163 ;[esp + 20] residual[]
1172 mov esi, [esp + 20] ; esi = residual[]
[all …]
/external/flac/include/FLAC/
Dformat.h307 const FLAC__int32 *residual; member
333 const FLAC__int32 *residual; member
/external/eigen/unsupported/Eigen/src/IterativeSolvers/
DIterationController.h112 double residual() const { return m_res; } in residual() function
/external/libgsm/
DREADME12 transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
/external/libyuv/files/source/
Drotate_neon.s445 @ some residual, so between 1 and 7 lines left to transpose
511 @ some residual, check to see if it includes a 2x8 block,
/external/webkit/Source/WebCore/platform/graphics/
DGraphicsContext3D.cpp152 unsigned int residual = validRowSize % alignment; in computeImageSizeInBytes() local
153 if (residual) { in computeImageSizeInBytes()
154 padding = alignment - residual; in computeImageSizeInBytes()
/external/webkit/Source/WebCore/
DChangeLog-2003-10-253045 … * layout-tests/apple-only/base/www.msn.com/index-expected.txt: Update for residual style fix.
3046 * layout-tests/fast/invalid/003-expected.txt: Update for residual style fix.
3068 Fix for 3404398, leak in residual style code. The code that built up the
4820 Fix for 3300362, crash on myuhc.com. The residual style code
9249 This is a patch to the parser to prevent residual
10282 Always do residual style fixups in all three Safari rendering
10295 residual style.
10309 A complete implementation of the residual style fixes. It
10312 One of the bugs in the residual style list was caused by
/external/llvm/lib/Target/CellSPU/
DSPUInstrInfo.td2106 // to shift i64 and i128. SHLQBI is the residual left over after shifting by
/external/oprofile/
DChangeLog-20031481 * pp/opreport.cpp: replace residual references to
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_source_files/textana/en-GB/
Den-GB_lexpos.utf1081 ADJ^N "residual" :G2P

12