/external/v8/test/mjsunit/tools/ |
H A D | profviz.js | 63 var distortion = 4500 / 1000000; variable 68 psc.collectData(input, distortion);
|
/external/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; 108 // translation, 1 for focal length and 2 for radial distortion. The 136 // Compute the center of distortion. The sign change comes from 142 // Apply second and fourth order radial distortion. 144 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/vp9/encoder/ |
H A D | vp9_mbgraph.c | 54 int distortion; local 58 &v_fn_ptr, 0, mv_sf->subpel_iters_per_step, NULL, NULL, &distortion,
|
H A D | vp9_temporal_filter.c | 146 int distortion; local 181 &distortion, &sse, NULL, 0, 0);
|
H A D | vp9_mcomp.c | 187 *distortion = thismse; \ 267 int *distortion, 313 *distortion = besterr; 259 vp9_find_best_sub_pixel_tree(const 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 | 342 // TODO(jingning): tune the model to better capture the distortion. 420 int *rate, int64_t *distortion, 444 *distortion = INT64_MAX; 448 *distortion = args.this_dist; 456 int *rate, int64_t *distortion, 468 txfm_rd_in_plane(x, rate, distortion, skip, 476 int64_t *distortion, 535 *distortion = d[mbmi->tx_size]; 561 int64_t *distortion, int *skip, 573 choose_largest_tx_size(cpi, x, rate, distortion, ski 419 txfm_rd_in_plane(MACROBLOCK *x, int *rate, int64_t *distortion, int *skippable, int64_t *sse, int64_t ref_best_rd, int plane, BLOCK_SIZE bsize, TX_SIZE tx_size, int use_fast_coef_casting) argument 455 choose_largest_tx_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 474 choose_tx_size_from_rd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, int64_t *psse, int64_t tx_cache[TX_MODES], int64_t ref_best_rd, BLOCK_SIZE bs) argument 560 inter_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 581 intra_super_block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skip, BLOCK_SIZE bs, int64_t txfm_cache[TX_MODES], int64_t ref_best_rd) argument 658 int64_t distortion = 0; local 749 rd_pick_intra_sub_8x8_y_mode(VP9_COMP *cpi, MACROBLOCK *mb, int *rate, int *rate_y, int64_t *distortion, int64_t best_rd) argument 816 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 886 super_block_uvrd(const VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *distortion, int *skippable, int64_t *sse, BLOCK_SIZE bsize, int64_t ref_best_rd) argument 932 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, TX_SIZE max_tx_size) argument 974 rd_sbuv_dcpred(const VP9_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize) argument 1078 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, int mi_row, int mi_col) argument 1429 int distortion; local 2023 rd_encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int *rate2, int64_t *distortion, int64_t *distortion_uv, int *disable_skip) argument 2103 handle_inter_mode(VP9_COMP *cpi, MACROBLOCK *x, 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 *disable_skip, 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 3425 int64_t distortion; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | temporal_filter.c | 199 int distortion; local 207 NULL, &distortion, &sse);
|
H A D | encodeframe.c | 1229 int distortion; local 1262 &distortion, &intra_error, mb_row, mb_col); 1278 &distortion, &intra_error, mb_row, mb_col); 1281 x->prediction_error += distortion; 1292 cpi->frame_distortion += distortion; 1293 cpi->last_mb_distortion = distortion;
|
H A D | mcomp.c | 199 /* returns distortion + motion vector cost */ 202 #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;) 208 int *mvcost[2], int *distortion, 267 *distortion = besterr; 366 int *mvcost[2], int *distortion, 402 *distortion = bestmse; 415 *distortion = thismse; 427 *distortion = thismse; 441 *distortion = thismse; 453 *distortion 204 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 362 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 673 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 1262 int rate, best_rate = 0, distortion, best_sse; local [all...] |
H A D | rdopt.c | 644 int distortion; local 680 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2; 682 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); 688 *bestdistortion = distortion; 710 int distortion = 0; local 749 distortion += d; 763 *Distortion = distortion; 765 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); 777 int distortion; local 794 macro_block_yrd(x, &ratey, &distortion); 837 rd_inter16x16_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument 854 rd_inter4x4_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument 871 rd_pick_intra_mbuv_mode(MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion) argument 1047 unsigned int distortion = 0; local 1163 int distortion; local 1765 int distortion; local 2150 int distortion; local 2174 int distortion; local 2210 int distortion; local [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | system_test.cc | 429 // focal length and 2 for radial distortion. The principal point is 452 // Compute the center of distortion. The sign change comes from 458 // Apply second and fourth order radial distortion. 460 T distortion = T(1.0) + r2 * (l1 + l2 * r2); local 462 residuals[0] = distortion * xp - T(u); 463 residuals[1] = distortion * yp - T(v);
|
/external/webp/src/enc/ |
H A D | frame.c | 546 uint64_t distortion = 0; local 561 distortion += info.D; 574 s->value = GetPSNR(distortion, pixel_count); 769 uint64_t distortion = 0; local 793 distortion += info.D; 813 stats.value = GetPSNR(distortion, pixel_count);
|
H A D | quant.c | 546 score_t distortion) { 547 return rate * lambda + 256 * distortion; 641 // subtract to max_error as distortion. 642 // Here, distortion = sum of (|coeff_i| - level_i * Q_i)^2 831 // RD-opt decision. Reconstruct each modes, evalue distortion and bit-cost. 912 // distortion, record max delta so we can later adjust the minimal filtering 1081 // Refine intra16/intra4 sub-modes based on distortion only (not rate). 1114 // but just the distortion against 'src'. 545 RDScoreTrellis(int lambda, score_t rate, score_t distortion) argument
|
/external/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; 866 '--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:__anon12937
|