/external/ceres-solver/internal/ceres/ |
residual_block.h | 32 // Purpose : Class and struct definitions for parameter and residual blocks. 65 // The residual block stores pointers to but does not own the cost functions, 69 // Construct the residual block with the given cost/loss functions. Loss may 70 // be null. The index is the index of the residual block in the Program's 77 // Evaluates the residual term, storing the scalar cost in *cost, the residual 109 // Access the parameter blocks for this residual. The array has size 115 // Number of variable blocks that this residual term depends on. 120 // The size of the residual vector returned by this residual function [all...] |
/external/flac/libFLAC/include/private/ |
lpc.h | 130 * Compute the residual signal obtained from sutracting the predicted 138 * OUT residual[0,data_len-1] residual signal 140 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[]); 141 void 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[]); 145 void FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]); 146 void FLAC__lpc_compute_residual_from_qlp_coefficients_asm_ia32_mmx(const FLAC__int32 *data, unsigned data_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]); 156 * Restore the original signal by summing the residual and the 159 * IN residual[0,data_len-1] residual signa [all...] |
fixed.h | 46 * of the residual signal for each order. The _wide() version uses 72 * Compute the residual signal obtained from sutracting the predicted 78 * OUT residual[0,data_len-1] residual signal 80 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]); 85 * Restore the original signal by summing the residual and the 88 * IN residual[0,data_len-1] residual signal 95 void FLAC__fixed_restore_signal(const FLAC__int32 residual[], unsigned data_len, unsigned order, FLAC__int32 data[]);
|
/external/chromium_org/third_party/opus/src/silk/float/ |
find_LPC_FLP.c | 62 /* Optimal solution for last 10 ms; subtract residual energy here, as that's easier than */ 63 /* adding it to the residual energy of the first 10 ms in each iteration of the search below */ 69 /* Search over interpolation indices to find the one with lowest residual energy */ 75 /* Convert to LPC for residual energy evaluation */ 78 /* Calculate residual energy with LSF interpolation */ 86 /* Interpolation has lower residual energy */ 90 /* No reason to continue iterating - residual energies will continue to climb */
|
/external/ceres-solver/include/ceres/ |
conditioned_cost_function.h | 32 // each residual value before they are square-summed. 45 // This class allows you to apply different conditioning to the residual 59 // // Make N 1x1 cost functions (1 parameter, 1 residual) 68 // Now ccf's residual i (i=0..N-1) will be passed though the i'th conditioner. 76 // per-residual conditioner. Takes ownership of all of the wrapped cost 78 // may be NULL, in which case the corresponding residual is not modified.
|
problem.h | 64 // A ResidualBlockId is an opaque handle clients can use to remove residual 70 // as "residuals"), where each residual is a function of some subset 79 // r_ij is residual number i, component j; the residual is a 81 // example, in a structure from motion problem a residual 84 // camera, point pair. The residual would have two 93 // residual depends only on a small number number of parameters, even 102 // residual will depend only on 9 parameters (3 for the point, 6 for 108 // respectively and two residual terms of size 2 and 6: 148 // residual blocks that depend on it. The increase in memory usage is a [all...] |
/external/aac/libFDK/include/ |
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, error0, error1, sine, cosine local [all...] |
/external/ceres-solver/examples/ |
powell.cc | 61 T* residual) const { 63 residual[0] = x1[0] + T(10.0) * x2[0]; 71 T* residual) const { 73 residual[0] = T(sqrt(5.0)) * (x3[0] - x4[0]); 81 T* residual) const { 83 residual[0] = (x2[0] - T(2.0) * x4[0]) * (x2[0] - T(2.0) * x4[0]); 91 T* residual) const { 93 residual[0] = T(sqrt(10.0)) * (x1[0] - x4[0]) * (x1[0] - x4[0]); 111 // Add residual terms to the problem using the using the autodiff
|
helloworld.cc | 45 // A templated cost functor that implements the residual r = 10 - 50 template <typename T> bool operator()(const T* const x, T* residual) const { 51 residual[0] = T(10.0) - x[0]; 67 // Set up the only cost function (also known as residual). This uses
|
helloworld_numeric_diff.cc | 44 // A cost functor that implements the residual r = 10 - x. 46 bool operator()(const double* const x, double* residual) const { 47 residual[0] = 10.0 - x[0]; 63 // Set up the only cost function (also known as residual). This uses
|
quadratic_auto_diff.cc | 47 // A templated cost functor that implements the residual r = 10 - 53 template <typename T> bool operator()(const T* const x, T* residual) const { 54 residual[0] = T(10.0) - x[0]; 70 // Set up the only cost function (also known as residual). This uses
|
quadratic_numeric_diff.cc | 46 // A cost functor that implements the residual r = 10 - x. 49 bool operator()(const double* const x, double* residual) const { 50 residual[0] = 10.0 - x[0]; 63 // Set up the only cost function (also known as residual). This uses
|
/external/ceres-solver/data/nist/ |
BoxBOD.dat | 44 Residual Sum of Squares: 1.1680088766E+03
45 Residual Standard Deviation: 1.7088072423E+01
|
Misra1a.dat | 44 Residual Sum of Squares: 1.2455138894E-01
45 Residual Standard Deviation: 1.0187876330E-01
|
Misra1b.dat | 44 Residual Sum of Squares: 7.5464681533E-02
45 Residual Standard Deviation: 7.9301471998E-02
|
Misra1c.dat | 44 Residual Sum of Squares: 4.0966836971E-02
45 Residual Standard Deviation: 5.8428615257E-02
|
Misra1d.dat | 44 Residual Sum of Squares: 5.6419295283E-02
45 Residual Standard Deviation: 6.8568272111E-02
|
Rat42.dat | 45 Residual Sum of Squares: 8.0565229338E+00
46 Residual Standard Deviation: 1.1587725499E+00
|
/external/chromium_org/third_party/opus/src/silk/fixed/ |
residual_energy_FIX.c | 35 /* Calculates residual energies of input subframes where all subframes have LPC_order */ 38 opus_int32 nrgs[ MAX_NB_SUBFR ], /* O Residual energy per subframe */ 58 /* Filter input to create the LPC residual for each frame half, and measure subframe energies */ 62 /* Calculate half frame LPC residual signal including preceding samples */ 65 /* Point to first subframe of the just calculated LPC residual signal */
|
/external/chromium_org/third_party/opus/src/silk/ |
stereo_find_predictor.c | 36 opus_int32 *ratio_Q14, /* O Ratio of residual and mid energies */ 39 opus_int32 mid_res_amp_Q0[], /* I/O Smoothed mid, residual norms */ 63 /* Smoothed mid and residual norms */ 68 /* Residual energy = nrgy - 2 * pred * corr + pred^2 * nrgx */ 74 /* Ratio of smoothed residual and mid norms */
|
/external/eigen/Eigen/src/IterativeLinearSolvers/ |
ConjugateGradient.h | 43 VectorType residual = rhs - mat * x; //initial residual local 46 p = precond.solve(residual); //initial search direction 49 RealScalar absNew = internal::real(residual.dot(p)); // the square of the absolute value of r scaled by invM 60 residual -= alpha * tmp; // update residue 62 residualNorm2 = residual.squaredNorm(); 66 z = precond.solve(residual); // approximately solve for "A z = residual" 69 absNew = internal::real(residual.dot(z)); // update the absolute value of r
|
/external/speex/include/speex/ |
speex_preprocess.h | 6 * residual echo suppression (after using the echo canceller), automatic 41 * residual echo suppression (after using the echo canceller), automatic 61 * the same value as that used for the echo canceller for residual echo cancellation to work. 148 /** Set maximum attenuation of the residual echo in dB (negative number) */ 150 /** Get maximum attenuation of the residual echo in dB (negative number) */ 153 /** Set maximum attenuation of the residual echo in dB when near end is active (negative number) */ 155 /** Get maximum attenuation of the residual echo in dB when near end is active (negative number) */ 158 /** Set the corresponding echo canceller state so that residual echo suppression can be performed (NULL for no residual echo suppression) */
|
/external/flac/libFLAC/ |
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[]) 359 FLAC__ASSERT(sizeof(residual[0]) == sizeof(data[0])); 360 memcpy(residual, data, sizeof(residual[0])*data_len); 364 residual[i] = data[i] - data[i-1] [all...] |
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[]) 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[i] = data[i] - (sum >> lp_quantization) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
residu.h | 39 * Purpose : Computes the LP residual. 40 * Description : The LP residual is computed by filtering the input 75 Word16 y[], /* (o) : residual signal */
|