Searched refs:distortion (Results 1 - 19 of 19) sorted by relevance

/external/ceres-solver/examples/
H A Dsnavely_reprojection_error.h51 // focal length and 2 for radial distortion. The principal point is not modeled
70 // Compute the center of distortion. The sign change comes from
77 // Apply second and fourth order radial distortion.
81 T distortion = T(1.0) + r2 * (l1 + l2 * r2); local
84 T predicted_x = focal * distortion * xp;
85 T predicted_y = focal * distortion * yp;
100 // translation, 1 for focal length and 2 for radial distortion. The
128 // Compute the center of distortion. The sign change comes from
134 // Apply second and fourth order radial distortion.
136 T distortion local
[all...]
H A Dsimple_bundle_adjuster.cc120 // focal length and 2 for radial distortion. The principal point is not modeled
139 // Compute the center of distortion. The sign change comes from
145 // Apply second and fourth order radial distortion.
149 T distortion = T(1.0) + r2 * (l1 + l2 * r2); local
153 T predicted_x = focal * distortion * xp;
154 T predicted_y = focal * distortion * yp;
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
H A DTextureGeneratorDistnoise.java115 * @param distortion
120 private float musgraveVariableLunacrityNoise(float x, float y, float z, float distortion, int nbas1, int nbas2) { argument
130 float rx = abstractNoiseFunc1.execute(x + 13.5f, y + 13.5f, z + 13.5f) * distortion;
131 float ry = abstractNoiseFunc1.execute(x, y, z) * distortion;
132 float rz = abstractNoiseFunc1.execute(x - 13.5f, y - 13.5f, z - 13.5f) * distortion;
/external/libvpx/libvpx/vp8/encoder/
H A Drdopt.c643 int distortion; local
679 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2;
681 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
687 *bestdistortion = distortion;
709 int distortion = 0; local
748 distortion += d;
762 *Distortion = distortion;
764 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
776 int distortion; local
793 macro_block_yrd(x, &ratey, &distortion);
836 rd_inter16x16_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument
853 rd_inter4x4_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument
870 rd_pick_intra_mbuv_mode(MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion) argument
883 int distortion; local
1046 unsigned int distortion = 0; local
1162 int distortion; local
1292 int distortion; local
1765 int distortion; local
2147 int distortion; local
2171 int distortion; local
2205 int distortion; local
[all...]
H A Dmcomp.h59 int *distortion, unsigned int *sse);
H A Dpickinter.c47 int *mvcost[2], int *distortion,
56 (void) distortion;
102 int distortion = 0; local
110 distortion += diff * diff;
117 return distortion;
148 int distortion; local
162 distortion = get_prediction_error(be, b);
163 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
168 *bestdistortion = distortion;
191 int distortion local
43 vp8_skip_fractional_mv_step(MACROBLOCK *mb, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse) argument
1251 int rate, best_rate = 0, distortion, best_sse; local
[all...]
H A Dmcomp.c198 /* returns distortion + motion vector cost */
201 #define CHECK_BETTER(v,r,c) IFMVCV(r,c,{thismse = DIST(r,c); if((v = (MVC(r,c)+thismse)) < besterr) { besterr = v; br=r; bc=c; *distortion = thismse; *sse1 = sse; }}, v=UINT_MAX;)
207 int *mvcost[2], int *distortion,
263 *distortion = besterr;
362 int *mvcost[2], int *distortion,
398 *distortion = bestmse;
411 *distortion = thismse;
423 *distortion = thismse;
437 *distortion = thismse;
449 *distortion
203 vp8_find_best_sub_pixel_step_iteratively(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
358 vp8_find_best_sub_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
669 vp8_find_best_half_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *bestmv, int_mv *ref_mv, int error_per_bit, const vp8_variance_fn_ptr_t *vfp, int *mvcost[2], int *distortion, unsigned int *sse1) argument
[all...]
H A Dencodeframe.c1207 int distortion; local
1240 &distortion, &intra_error);
1256 &distortion, &intra_error, mb_row, mb_col);
1259 x->prediction_error += distortion;
1270 cpi->frame_distortion += distortion;
1271 cpi->last_mb_distortion = distortion;
H A Dtemporal_filter.c199 int distortion; local
207 NULL, &distortion, &sse);
/external/aac/libAACenc/src/
H A Dquantize.cpp290 description: calculates distortion of quantized values
291 returns: distortion
343 description: calculates energy and distortion of quantized values
347 output: energy, distortion
362 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); local
389 distortion += diff;
393 *dist = CalcLdData(distortion);
/external/ceres-solver/docs/
H A Dbundleadjustment.tex14 camera. The nine parameters defining the camera can are: Three for rotation as a Rodriquez axis-angle vector, three for translation, one for focal length and two for radial distortion. The details of this camera model can be found on Noah
37 // Compute the center of distortion. The sign change comes from
43 // Apply second and fourth order radial distortion.
47 T distortion = T(1.0) + r2 * (l1 + l2 * r2);
51 T predicted_x = focal * distortion * xp;
52 T predicted_y = focal * distortion * yp;
/external/ceres-solver/internal/ceres/
H A Dsystem_test.cc417 // focal length and 2 for radial distortion. The principal point is
440 // Compute the center of distortion. The sign change comes from
446 // Apply second and fourth order radial distortion.
448 T distortion = T(1.0) + r2 * (l1 + l2 * r2); local
450 residuals[0] = distortion * xp - T(u);
451 residuals[1] = distortion * yp - T(v);
/external/libvpx/libvpx/vp8/encoder/x86/
H A Dssim_opt.asm62 ; all the parms needed for 16x16 ssim so we can play with dssim as distortion
152 ; all the parms needed for 16x16 ssim so we can play with dssim as distortion
/external/opencv/cvaux/src/
H A Dcvcalibfilter.cpp286 cameraParams[i].distortion,
875 CvMat k = cvMat( 1, 4, CV_32FC1, cameraParams[i].distortion );
H A Dcv3dtracker.cpp234 const_cast<float *>(camera_intrinsics[c].distortion),
H A Dcvepilines.cpp3192 stereoparams->camera[0]->distortion,
3204 stereoparams->camera[1]->distortion,
3224 stereoparams->camera[0]->distortion,
3228 stereoparams->camera[1]->distortion,
/external/webp/src/enc/
H A Dframe.c714 uint64_t distortion = 0; local
729 distortion += info.D;
739 *PSNR = (float)(10.* log10(255. * 255. * pixel_count / distortion));
H A Dquant.c463 score_t error; // distortion = sum of (|coeff_i| - level_i * Q_i)^2
481 score_t distortion) {
482 return rate * lambda + 256 * distortion;
506 // compute maximal distortion.
563 // subtract as distortion to max_error
755 // RD-opt decision. Reconstruct each modes, evalue distortion and bit-cost.
958 // Refine intra16/intra4 sub-modes based on distortion only (not rate).
991 // but just the distortion against 'src'.
480 RDScoreTrellis(int lambda, score_t rate, score_t distortion) argument
/external/opencv/cvaux/include/
H A Dcvaux.h513 float distortion[4]; /* distortion coefficients - two coefficients for radial distortion member in struct:CvCamera
894 float distortion[4]; member in struct:__anon10419

Completed in 354 milliseconds