/external/ImageMagick/MagickCore/ |
D | compare.c | 128 const MetricType metric,double *distortion,ExceptionInfo *exception) in CompareImages() argument 168 assert(distortion != (double *) NULL); in CompareImages() 169 *distortion=0.0; in CompareImages() 172 status=GetImageDistortion(image,reconstruct_image,metric,distortion, in CompareImages() 347 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument 452 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion() 460 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument 552 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion() 557 distortion[j]/=((double) columns*rows); in GetFuzzDistortion() 558 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetFuzzDistortion() [all …]
|
/external/webp/src/enc/ |
D | picture_psnr_enc.c | 134 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument 141 result == NULL || distortion == NULL) { in WebPPlaneDistortion() 164 *distortion = (float)metric(src, width, ref, width, width, height); in WebPPlaneDistortion() 167 *result = (type == 1) ? (float)GetLogSSIM(*distortion, (double)width * height) in WebPPlaneDistortion() 168 : (float)GetPSNR(*distortion, (double)width * height); in WebPPlaneDistortion() 195 float distortion; in WebPPictureDistortion() local 200 w, h, 4, type, &distortion, results + c)) { in WebPPictureDistortion() 203 total_distortion += distortion; in WebPPictureDistortion() 221 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument 230 if (distortion == NULL || result == NULL) return 0; in WebPPlaneDistortion() [all …]
|
D | frame_enc.c | 563 uint64_t distortion = 0; in OneStatPass() local 578 distortion += info.D; in OneStatPass() 592 s->value = GetPSNR(distortion, pixel_count); in OneStatPass() 789 uint64_t distortion = 0; in VP8EncTokenLoop() local 813 distortion += info.D; in VP8EncTokenLoop() 833 stats.value = GetPSNR(distortion, pixel_count); in VP8EncTokenLoop()
|
/external/v8/tools/profviz/ |
D | stdio.js | 35 var distortion = parseInt(result.distortion); variable 36 if (isNaN(distortion)) processor.printUsageAndExit(); 38 distortion_per_entry = distortion / 1000000;
|
D | profviz.js | 66 distortion, argument 72 'distortion' : distortion, property 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;
|
D | worker.js | 85 var distortion = args["distortion"]; 116 distortion, 135 psc.collectData(input, distortion);
|
/external/tensorflow/tensorflow/core/kernels/ |
D | range_sampler.cc | 234 float distortion, in FixedUnigramSampler() argument 243 TF_CHECK_OK(LoadFromFile(env, vocab_file, distortion)); in FixedUnigramSampler() 250 float distortion, in FixedUnigramSampler() argument 258 LoadFromUnigrams(unigrams, distortion); in FixedUnigramSampler() 282 float distortion) { in LoadFromFile() argument 301 w = pow(w, distortion); in LoadFromFile() 311 float distortion) { in LoadFromUnigrams() argument 316 w = pow(w, distortion); in LoadFromUnigrams()
|
D | range_sampler.h | 216 float distortion, int32 num_reserved_ids, 220 float distortion, int32 num_reserved_ids, 245 Status LoadFromFile(Env* env, const string& vocab_file, float distortion); 247 void LoadFromUnigrams(const std::vector<float>& unigrams, float distortion);
|
D | candidate_sampler_ops.cc | 166 float distortion; in FixedUnigramCandidateSamplerOp() local 167 OP_REQUIRES_OK(context, context->GetAttr("distortion", &distortion)); in FixedUnigramCandidateSamplerOp() 178 distortion, num_reserved_ids, in FixedUnigramCandidateSamplerOp() 181 set_sampler(new FixedUnigramSampler(range_max, unigrams, distortion, in FixedUnigramCandidateSamplerOp()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | rdopt.c | 529 int distortion; in rd_pick_intra4x4block() local 564 distortion = vp8_block_error(be->coeff, b->dqcoeff) >> 2; in rd_pick_intra4x4block() 566 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block() 571 *bestdistortion = distortion; in rd_pick_intra4x4block() 592 int distortion = 0; in rd_pick_intra4x4mby_modes() local 628 distortion += d; in rd_pick_intra4x4mby_modes() 641 *Distortion = distortion; in rd_pick_intra4x4mby_modes() 643 return RDCOST(mb->rdmult, mb->rddiv, cost, distortion); in rd_pick_intra4x4mby_modes() 651 int distortion; in rd_pick_intra16x16mby_mode() local 664 macro_block_yrd(x, &ratey, &distortion); in rd_pick_intra16x16mby_mode() [all …]
|
D | mcomp.c | 217 *distortion = thismse; \ 227 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively() argument 293 *distortion = besterr; in vp8_find_best_sub_pixel_step_iteratively() 371 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step() argument 408 *distortion = bestmse; in vp8_find_best_sub_pixel_step() 421 *distortion = thismse; in vp8_find_best_sub_pixel_step() 433 *distortion = thismse; in vp8_find_best_sub_pixel_step() 447 *distortion = thismse; in vp8_find_best_sub_pixel_step() 459 *distortion = thismse; in vp8_find_best_sub_pixel_step() 501 *distortion = thismse; in vp8_find_best_sub_pixel_step() [all …]
|
D | pickinter.c | 127 int *mvcost[2], int *distortion, in vp8_skip_fractional_mv_step() argument 136 (void)distortion; in vp8_skip_fractional_mv_step() 186 int distortion; in pick_intra4x4block() local 199 distortion = get_prediction_error(be, b); in pick_intra4x4block() 200 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block() 204 *bestdistortion = distortion; in pick_intra4x4block() 220 int distortion = 0; in pick_intra4x4mby_modes() local 244 distortion += d; in pick_intra4x4mby_modes() 251 if (distortion > *best_dist) break; in pick_intra4x4mby_modes() 257 *best_dist = distortion; in pick_intra4x4mby_modes() [all …]
|
/external/ImageMagick/MagickWand/ |
D | compare.c | 217 distortion, in CompareImagesCommand() local 276 distortion=0.0; in CompareImagesCommand() 954 difference_image=CompareImages(image,reconstruct_image,metric,&distortion, in CompareImagesCommand() 961 &distortion,exception); in CompareImagesCommand() 977 &distortion,exception); in CompareImagesCommand() 989 &distortion,exception); in CompareImagesCommand() 1007 &distortion,exception); in CompareImagesCommand() 1038 (void) FormatLocaleFile(stderr,"%g (%g)",QuantumRange*distortion, in CompareImagesCommand() 1039 (double) distortion); in CompareImagesCommand() 1047 (void) FormatLocaleFile(stderr,"%g",distortion); in CompareImagesCommand() [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_FixedUnigramCandidateSampler.pbtxt | 71 name: "distortion" 73 The distortion is used to skew the unigram probability distribution. 74 Each weight is first raised to the distortion's power before adding to the 75 internal unigram distribution. As a result, distortion = 1.0 gives regular 76 unigram sampling (as defined by the vocab file), and distortion = 0.0 gives 132 applying a distortion power to the weights.
|
/external/v8/tools/ |
D | tickprocessor.js | 78 distortion, argument 136 distortion = parseInt(distortion); 138 this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000); 139 this.distortion = 0; 309 this.distortion += this.distortion_per_entry; 310 ns_since_start -= this.distortion; 341 this.distortion += this.distortion_per_entry; 847 distortion: 0, property
|
D | plot-timer-events | 73 distortion=`echo "1000*(($t_1_end - $t_1_start) - ($t_2_end - $t_2_start)) \ 75 options="--distortion=$distortion"
|
D | tickprocessor-driver.js | 70 params.distortion,
|
/external/tensorflow/tensorflow/python/ops/ |
D | candidate_sampling_ops.py | 208 distortion=1.0, argument 288 vocab_file=vocab_file, distortion=distortion,
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | variance_vsx.c | 25 int distortion; in vpx_get4x4sse_cs_vsx() local 36 vec_ste(d, 0, &distortion); in vpx_get4x4sse_cs_vsx() 38 return distortion; in vpx_get4x4sse_cs_vsx()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rdopt.c | 782 int64_t *distortion, int *skippable, int64_t *sse, in txfm_rd_in_plane() argument 805 *distortion = INT64_MAX; in txfm_rd_in_plane() 809 *distortion = args.this_dist; in txfm_rd_in_plane() 817 int64_t *distortion, int *skip, int64_t *sse, in choose_largest_tx_size() argument 827 txfm_rd_in_plane(cpi, x, rate, distortion, skip, sse, ref_best_rd, 0, bs, in choose_largest_tx_size() 832 int64_t *distortion, int *skip, in choose_tx_size_from_rd() argument 914 *distortion = d[mi->tx_size]; in choose_tx_size_from_rd() 921 int64_t *distortion, int *skip, int64_t *psse, in super_block_yrd() argument 930 choose_largest_tx_size(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd() 933 choose_tx_size_from_rd(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd() [all …]
|
D | vp9_mcomp.c | 187 *distortion = thismse; \ 210 *distortion = thismse; \ 326 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) { in setup_center_error() argument 344 *distortion = (uint32_t)besterr; in setup_center_error() 358 *distortion = besterr; in setup_center_error() 397 uint32_t *distortion, uint32_t *sse1, in vp9_skip_sub_pixel_tree() argument 402 offset, mvjcost, mvcost, sse1, distortion); in vp9_skip_sub_pixel_tree() 429 uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, in vp9_find_best_sub_pixel_tree_pruned_evenmore() argument 434 offset, mvjcost, mvcost, sse1, distortion); in vp9_find_best_sub_pixel_tree_pruned_evenmore() 494 uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, in vp9_find_best_sub_pixel_tree_pruned_more() argument [all …]
|
/external/aac/libAACenc/src/ |
D | quantize.cpp | 370 FIXP_DBL distortion = FL2FXCONST_DBL(0.0f); in FDKaacEnc_calcSfbQuantEnergyAndDist() local 396 distortion += diff; in FDKaacEnc_calcSfbQuantEnergyAndDist() 400 *dist = CalcLdData(distortion); in FDKaacEnc_calcSfbQuantEnergyAndDist()
|
/external/sonic/samples/ |
D | README | 11 able to hear the characteristic WSOLA distortion relative to the sonic version. 34 result in one sine period with no distortion.
|
/external/libavc/encoder/arm/ |
D | ime_distortion_metrics_a9q.s | 27 @* This file contains definitions of routines that compute distortion 54 @* @brief computes distortion (SAD) between 2 16x16 blocks (fast mode) 59 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX. 74 @* integer maximum allowed distortion 140 @* @brief computes distortion (SAD) between 2 16x8 blocks 146 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX. 161 @* integer maximum allowed distortion 222 @* @brief computes distortion (SAD) between 2 16x16 blocks with early exit 227 @* compute the distortion of the entire block set u4_max_sad to USHRT_MAX. 242 @* integer maximum allowed distortion [all …]
|
/external/ImageMagick/tests/ |
D | validate.c | 1530 distortion, in ValidateImageFormatsInMemory() local 1722 RootMeanSquaredErrorMetric,&distortion,exception); in ValidateImageFormatsInMemory() 1735 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsInMemory() 1738 QuantumScale*distortion); in ValidateImageFormatsInMemory() 1806 distortion, in ValidateImageFormatsOnDisk() local 1951 RootMeanSquaredErrorMetric,&distortion,exception); in ValidateImageFormatsOnDisk() 1964 if ((QuantumScale*distortion) > fuzz) in ValidateImageFormatsOnDisk() 1967 QuantumScale*distortion); in ValidateImageFormatsOnDisk() 2018 distortion; in ValidateImportExportPixels() local 2137 RootMeanSquaredErrorMetric,&distortion,exception); in ValidateImportExportPixels() [all …]
|