/external/chromium_org/v8/test/mjsunit/tools/ |
H A D | profviz.js | 63 var distortion = 4500 / 1000000; variable 68 psc.collectData(input, distortion);
|
/external/chromium_org/v8/tools/profviz/ |
H A D | stdio.js | 35 var distortion = parseInt(result.distortion); variable 36 if (isNaN(distortion)) processor.printUsageAndExit();; 38 distortion_per_entry = distortion / 1000000;
|
H A D | profviz.js | 66 distortion, 72 'distortion' : distortion, 99 "distortion", 221 var distortion = getDistortion(); 230 worker.run(file, kResX, kResY, distortion, range[0], range[1]); 243 parseInt(ui.distortion.value, 10); 245 input_distortion = ui.distortion.value = 4500;
|
/external/ceres-solver/examples/ |
H A D | snavely_reprojection_error.h | 51 // 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 D | simple_bundle_adjuster.cc | 120 // 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 D | TextureGeneratorDistnoise.java | 115 * @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/aac/libAACenc/src/ |
H A D | quantize.cpp | 290 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/libvpx/libvpx/vp8/encoder/ |
H A D | temporal_filter.c | 199 int distortion; local 207 NULL, &distortion, &sse);
|
H A D | encodeframe.c | 1216 int distortion; local 1249 &distortion, &intra_error); 1265 &distortion, &intra_error, mb_row, mb_col); 1268 x->prediction_error += distortion; 1279 cpi->frame_distortion += distortion; 1280 cpi->last_mb_distortion = distortion;
|
H A D | mcomp.c | 198 /* 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, 266 *distortion = besterr; 365 int *mvcost[2], int *distortion, 401 *distortion = bestmse; 414 *distortion = thismse; 426 *distortion = thismse; 440 *distortion = thismse; 452 *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 361 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 672 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 D | pickinter.c | 47 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 1252 int rate, best_rate = 0, distortion, best_sse; local [all...] |
H A D | rdopt.c | 648 int distortion; local 684 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2; 686 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); 692 *bestdistortion = distortion; 714 int distortion = 0; local 753 distortion += d; 767 *Distortion = distortion; 769 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); 781 int distortion; local 798 macro_block_yrd(x, &ratey, &distortion); 841 rd_inter16x16_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument 858 rd_inter4x4_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument 875 rd_pick_intra_mbuv_mode(MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion) argument 1051 unsigned int distortion = 0; local 1167 int distortion; local 1769 int distortion; local 2153 int distortion; local 2177 int distortion; local 2213 int distortion; local [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_mbgraph.c | 59 int distortion; local 67 & distortion, &sse);
|
H A D | vp9_temporal_filter.c | 165 int distortion; local 175 &distortion, &sse);
|
H A D | vp9_block.h | 48 int distortion; member in struct:__anon21630
|
H A D | vp9_mcomp.c | 205 *distortion = thismse; \ 284 int *distortion, 321 *distortion = besterr; 382 int *distortion, 418 *distortion = besterr; 474 int *distortion, 517 *distortion = besterr; 577 int *distortion, 619 *distortion = besterr; 276 vp9_find_best_sub_pixel_iterative(MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1) argument 374 vp9_find_best_sub_pixel_tree(MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1) argument 466 vp9_find_best_sub_pixel_comp_iterative(MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1, const uint8_t *second_pred, int w, int h) argument 569 vp9_find_best_sub_pixel_comp_tree(MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, int forced_stop, int iters_per_step, int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1, const uint8_t *second_pred, int w, int h) argument
|
H A D | vp9_rdopt.c | 327 // Normalized distortion 328 // This table models the normalized distortion for a Laplacian source 333 // Note the actual distortion is Dn * variance. 363 // This function models the rate and distortion for a Laplacian 573 // TODO(jingning): tune the model to better capture the distortion. 677 int *rate, int64_t *distortion, 702 *distortion = INT64_MAX; 706 *distortion = rd_stack->this_dist; 714 int *rate, int64_t *distortion, 726 txfm_rd_in_plane(x, &cpi->rdcost_stack, rate, distortion, ski 675 txfm_rd_in_plane(MACROBLOCK *x, struct rdcost_block_args *rd_stack, int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size) argument 713 choose_largest_txfm_size(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *sse, int64_t ref_best_rd, BLOCK_SIZE bs) argument 732 choose_txfm_size_from_rd(VP9_COMP *cpi, MACROBLOCK *x, int (*r)[2], int *rate, int64_t *d, int64_t *distortion, int *s, int *skip, int64_t tx_cache[TX_MODES], BLOCK_SIZE bs) argument 835 choose_txfm_size_from_modelrd(VP9_COMP *cpi, MACROBLOCK *x, int (*r)[2], int *rate, int64_t *d, int64_t *distortion, int *s, int *skip, int64_t *sse, int64_t ref_best_rd, BLOCK_SIZE bs) argument 929 super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *psse, BLOCK_SIZE bs, int64_t txfm_cache[TX_MODES], int64_t ref_best_rd) argument 1025 int64_t distortion; local 1146 rd_pick_intra_sub_8x8_y_mode(VP9_COMP * const cpi, MACROBLOCK * const mb, int * const rate, int * const rate_y, int64_t * const distortion, int64_t best_rd) argument 1217 rd_pick_intra_sby_mode(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize, int64_t tx_cache[TX_MODES], int64_t best_rd) argument 1290 super_block_uvrd(VP9_COMP *const cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skippable, int64_t *sse, BLOCK_SIZE bsize, int64_t ref_best_rd) argument 1332 rd_pick_intra_sbuv_mode(VP9_COMP *cpi, MACROBLOCK *x, PICK_MODE_CONTEXT *ctx, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize) argument 1398 rd_sbuv_dcpred(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize) argument 1539 encode_inter_mb_segment(VP9_COMP *cpi, MACROBLOCK *x, int64_t best_yrd, int i, int *labelyrate, int64_t *distortion, int64_t *sse, ENTROPY_CONTEXT *ta, ENTROPY_CONTEXT *tl) argument 1879 int distortion; local 2640 handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo *const tile, BLOCK_SIZE bsize, int64_t txfm_cache[], int *rate2, int64_t *distortion, int *skippable, int *rate_y, int64_t *distortion_y, int *rate_uv, int64_t *distortion_uv, int *mode_excluded, int *disable_skip, INTERPOLATION_TYPE *best_filter, int_mv (*mode_mv)[MAX_REF_FRAMES], int mi_row, int mi_col, int_mv single_newmv[MAX_REF_FRAMES], int64_t *psse, const int64_t ref_best_rd) argument 4120 int64_t distortion; local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | system_test.cc | 425 // focal length and 2 for radial distortion. The principal point is 448 // Compute the center of distortion. The sign change comes from 454 // Apply second and fourth order radial distortion. 456 T distortion = T(1.0) + r2 * (l1 + l2 * r2); local 458 residuals[0] = distortion * xp - T(u); 459 residuals[1] = distortion * yp - T(v);
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | frame.c | 716 uint64_t distortion = 0; local 731 distortion += info.D; 741 *PSNR = (float)(10.* log10(255. * 255. * pixel_count / distortion));
|
H A D | quant.c | 465 score_t error; // distortion = sum of (|coeff_i| - level_i * Q_i)^2 483 score_t distortion) { 484 return rate * lambda + 256 * distortion; 508 // compute maximal distortion. 565 // subtract as distortion to max_error 757 // RD-opt decision. Reconstruct each modes, evalue distortion and bit-cost. 960 // Refine intra16/intra4 sub-modes based on distortion only (not rate). 993 // but just the distortion against 'src'. 482 RDScoreTrellis(int lambda, score_t rate, score_t distortion) argument
|
/external/webp/src/enc/ |
H A D | frame.c | 716 uint64_t distortion = 0; local 731 distortion += info.D; 741 *PSNR = (float)(10.* log10(255. * 255. * pixel_count / distortion));
|
H A D | quant.c | 465 score_t error; // distortion = sum of (|coeff_i| - level_i * Q_i)^2 483 score_t distortion) { 484 return rate * lambda + 256 * distortion; 508 // compute maximal distortion. 565 // subtract as distortion to max_error 757 // RD-opt decision. Reconstruct each modes, evalue distortion and bit-cost. 960 // Refine intra16/intra4 sub-modes based on distortion only (not rate). 993 // but just the distortion against 'src'. 482 RDScoreTrellis(int lambda, score_t rate, score_t distortion) argument
|
/external/chromium_org/v8/tools/ |
H A D | tickprocessor.js | 155 distortion, 205 distortion = parseInt(distortion); 207 this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000); 208 this.distortion = 0; 376 this.distortion += this.distortion_per_entry; 377 ns_since_start -= this.distortion; 408 this.distortion += this.distortion_per_entry; 865 '--distortion' [all...] |
/external/opencv/cvaux/include/ |
H A D | cvaux.h | 513 float distortion[4]; /* distortion coefficients - two coefficients for radial distortion member in struct:CvCamera 894 float distortion[4]; member in struct:__anon24330
|