Searched defs:distortion (Results 1 - 25 of 26) sorted by relevance

12

/external/v8/tools/profviz/
H A Dstdio.js35 var distortion = parseInt(result.distortion); variable
36 if (isNaN(distortion)) processor.printUsageAndExit();
38 distortion_per_entry = distortion / 1000000;
H A Dprofviz.js66 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/libvpx/libvpx/vpx_dsp/ppc/
H A Dvariance_vsx.c25 int distortion; local
36 vec_ste(d, 0, &distortion);
38 return distortion;
/external/ImageMagick/MagickWand/
H A Dcompare.c63 % them as a distortion metric and as a new image visually annotating their
115 " maximum distortion for (sub)image match",
141 " minimum distortion for (sub)image match",
219 distortion,
278 distortion=0.0;
956 difference_image=CompareImages(image,reconstruct_image,metric,&distortion,
963 &distortion,exception);
979 &distortion,exception);
991 &distortion,exception);
1009 &distortion,exceptio
217 distortion, local
[all...]
H A Doperation.c2236 ** Convert that to an appropriate distortion argument array.
3810 distortion;
3833 new_images=CompareImages(image,reconstruct_image,metric,&distortion,
3835 (void) distortion;
3803 distortion; local
H A Dmogrify.c1417 Convert that to an appropriate distortion argument array.
7877 distortion;
7905 &distortion,exception);
7869 distortion; local
H A Dmagick-image.c1828 % double *distortion)
1838 % o distortion: the computed distortion between the images.
1842 const MagickWand *reference,const MetricType metric,double *distortion)
1858 compare_image=CompareImages(wand->images,reference->images,metric,distortion,
2684 % MagickDistortImage() distorts an image using various distortion methods, by
2689 % If 'bestfit' is enabled, and distortion allows it, the destination image is
2705 % o method: the method of image distortion.
2712 % style of image distortion.
2715 % distortion whe
1805 MagickCompareImages(MagickWand *wand, const MagickWand *reference,const MetricType metric,double *distortion) argument
4617 MagickGetImageDistortion(MagickWand *wand, const MagickWand *reference,const MetricType metric,double *distortion) argument
[all...]
/external/aac/libAACenc/src/
H A Dquantize.cpp298 description: calculates distortion of quantized values
299 returns: distortion
353 description: calculates energy and distortion of quantized values
357 output: energy, distortion
372 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); local
399 distortion += diff;
403 *dist = CalcLdData(distortion);
/external/libvpx/libvpx/vpx_dsp/
H A Dvariance.c28 int distortion = 0; local
34 distortion += diff * diff;
41 return distortion;
/external/webp/src/enc/
H A Dpicture_psnr_enc.c10 // WebPPicture tools for measuring distortion
25 // local-min distortion
130 int type, float* distortion, float* result) {
137 result == NULL || distortion == NULL) {
160 *distortion = (float)metric(src, width, ref, width, width, height);
163 *result = (type == 1) ? (float)GetLogSSIM(*distortion, (double)width * height)
164 : (float)GetPSNR(*distortion, (double)width * height);
187 // We always measure distortion in ARGB space.
191 float distortion; local
196 w, h, 4, type, &distortion, result
127 WebPPlaneDistortion(const uint8_t* src, size_t src_stride, const uint8_t* ref, size_t ref_stride, int width, int height, size_t x_step, int type, float* distortion, float* result) argument
[all...]
H A Dframe_enc.c545 uint64_t distortion = 0; local
560 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 Dquant_enc.c42 #define RD_DISTO_MULT 256 // distortion multiplier (equivalent of lambda)
583 score_t distortion) {
584 return rate * lambda + RD_DISTO_MULT * distortion;
675 // subtract to max_error as distortion.
676 // Here, distortion = sum of (|coeff_i| - level_i * Q_i)^2
869 // RD-opt decision. Reconstruct each modes, evalue distortion and bit-cost.
957 // distortion, record max delta so we can later adjust the minimal filtering
1141 // Refine intra16/intra4 sub-modes based on distortion only (not rate).
1160 if (is_i16) { // First, evaluate Intra16 distortion
582 RDScoreTrellis(int lambda, score_t rate, score_t distortion) argument
/external/ImageMagick/MagickCore/
H A Dcompare.c94 % const MetricType metric,double *distortion,ExceptionInfo *exception)
104 % o distortion: the computed distortion between the images.
130 const MetricType metric,double *distortion,ExceptionInfo *exception)
170 assert(distortion != (double *) NULL);
171 *distortion=0.0;
174 status=GetImageDistortion(image,reconstruct_image,metric,distortion,
327 % reconstructed image and returns the specified distortion metric.
333 % double *distortion,ExceptionInfo *exception)
343 % o distortion
127 CompareImages(Image *image,const Image *reconstruct_image, const MetricType metric,double *distortion,ExceptionInfo *exception) argument
346 GetAbsoluteDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
459 GetFuzzDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
563 GetMeanAbsoluteDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
666 GetMeanErrorPerPixel(Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
762 GetMeanSquaredDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
865 GetNormalizedCrossCorrelationDistortion( const Image *image,const Image *reconstruct_image,double *distortion, ExceptionInfo *exception) argument
1026 GetPeakAbsoluteDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
1136 GetPeakSignalToNoiseRatio(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
1151 GetPerceptualHashDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
1241 GetRootMeanSquaredDistortion(const Image *image, const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) argument
1256 GetImageDistortion(Image *image, const Image *reconstruct_image,const MetricType metric,double *distortion, ExceptionInfo *exception) argument
1792 distortion; local
[all...]
/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_mbgraph.c58 uint32_t distortion; local
63 cond_cost_list(cpi, cost_list), NULL, NULL, &distortion, &sse, NULL, 0,
H A Dvp9_temporal_filter.c237 uint32_t distortion; local
275 &distortion, &sse, NULL, 0, 0);
H A Dvp9_mcomp.c187 *distortion = thismse; \
210 *distortion = thismse; \
326 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) {
344 *distortion = (uint32_t)besterr;
358 *distortion = besterr;
394 uint32_t *distortion, uint32_t *sse1,
399 offset, mvjcost, mvcost, sse1, distortion);
426 uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w,
431 offset, mvjcost, mvcost, sse1, distortion);
491 uint32_t *distortion, uint32_
321 setup_center_error( const MACROBLOCKD *xd, const MV *bestmv, const MV *ref_mv, int error_per_bit, const vp9_variance_fn_ptr_t *vfp, const uint8_t *const src, const int src_stride, const uint8_t *const y, int y_stride, const uint8_t *second_pred, int w, int h, int offset, int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) argument
388 vp9_skip_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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
422 vp9_find_best_sub_pixel_tree_pruned_evenmore( 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
487 vp9_find_best_sub_pixel_tree_pruned_more( 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
547 vp9_find_best_sub_pixel_tree_pruned( 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
638 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
2468 vp9_return_max_sub_pixel_mv( 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
2490 vp9_return_min_sub_pixel_mv( 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 *cost_list, int *mvjcost, int *mvcost[2], uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, int h) argument
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dencodeframe.c1128 int distortion; local
1160 &distortion, &intra_error, mb_row, mb_col);
1172 &distortion, &intra_error, mb_row, mb_col);
1175 x->prediction_error += distortion;
1185 cpi->frame_distortion += distortion;
1186 cpi->last_mb_distortion = distortion;
H A Dtemporal_filter.c165 int distortion; local
170 &cpi->fn_ptr[BLOCK_16X16], NULL, &distortion, &sse);
H A Dmcomp.c206 /* returns distortion + motion vector cost */
217 *distortion = thismse; \
227 int *mvcost[2], int *distortion,
293 *distortion = besterr;
371 int *mvcost[2], int *distortion,
408 *distortion = bestmse;
421 *distortion = thismse;
433 *distortion = thismse;
447 *distortion = thismse;
459 *distortion
223 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
367 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
663 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 Dpickinter.c199 int *mvcost[2], int *distortion,
208 (void)distortion;
258 int distortion; local
271 distortion = get_prediction_error(be, b);
272 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
276 *bestdistortion = distortion;
292 int distortion = 0; local
316 distortion += d;
323 if (distortion > *best_dist) break;
329 *best_dist = distortion;
195 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
1395 int rate, best_rate = 0, distortion, best_sse; local
[all...]
H A Drdopt.c527 int distortion; local
562 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2;
564 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion);
569 *bestdistortion = distortion;
590 int distortion = 0; local
626 distortion += d;
639 *Distortion = distortion;
641 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion);
649 int distortion; local
662 macro_block_yrd(x, &ratey, &distortion);
704 rd_inter16x16_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument
723 rd_inter4x4_uv(VP8_COMP *cpi, MACROBLOCK *x, int *rate, int *distortion, int fullpixel) argument
742 rd_pick_intra_mbuv_mode(MACROBLOCK *x, int *rate, int *rate_tokenonly, int *distortion) argument
898 unsigned int distortion = 0; local
1005 int distortion; local
1596 int distortion; local
1941 int distortion; local
1962 int distortion; local
1997 int distortion; local
[all...]
/external/ImageMagick/tests/
H A Dvalidate.c1538 distortion,
1730 RootMeanSquaredErrorMetric,&distortion,exception);
1743 if ((QuantumScale*distortion) > fuzz)
1745 (void) FormatLocaleFile(stdout,"... fail (with distortion %g).\n",
1746 QuantumScale*distortion);
1815 distortion,
1960 RootMeanSquaredErrorMetric,&distortion,exception);
1973 if ((QuantumScale*distortion) > fuzz)
1975 (void) FormatLocaleFile(stdout,"... fail (with distortion %g).\n",
1976 QuantumScale*distortion);
1530 distortion, local
1806 distortion, local
2018 distortion; local
[all...]
/external/v8/tools/
H A Dtickprocessor.js79 distortion,
137 distortion = parseInt(distortion);
139 this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000);
140 this.distortion = 0;
310 this.distortion += this.distortion_per_entry;
311 ns_since_start -= this.distortion;
342 this.distortion += this.distortion_per_entry;
818 '--distortion'
[all...]
/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:__anon15446
/external/ImageMagick/Magick++/lib/
H A DImage.cpp2429 distortion=0.0; local
2432 GetImageDistortion(image(),reference_.constImage(),metric_,&distortion, local
2435 return(distortion);
2442 distortion=0.0; local
2446 GetImageDistortion(image(),reference_.constImage(),metric_,&distortion, local
2450 return(distortion);
2454 const MetricType metric_,double *distortion)
2460 newImage=CompareImages(image(),reference_.constImage(),metric_,distortion,
2470 const Image &reference_,const MetricType metric_,double *distortion)
2477 newImage=CompareImages(image(),reference_.constImage(),metric_,distortion,
2453 compare(const Image &reference_, const MetricType metric_,double *distortion) argument
2469 compareChannel(const ChannelType channel_, const Image &reference_,const MetricType metric_,double *distortion) argument
[all...]

Completed in 562 milliseconds

12