Home
last modified time | relevance | path

Searched refs:distortion (Results 1 – 25 of 85) sorted by relevance

1234

/external/dynamic_depth/internal/dynamic_depth/
Dimaging_model.cc63 std::vector<float> distortion; in ParseFields() local
73 kDistortion, &distortion); in ParseFields()
74 if (distortion.size() != distortion_count * 2) { in ParseFields()
76 << " but should be " << distortion.size() in ParseFields()
84 params.distortion = distortion; in ParseFields()
109 if (!params.distortion.empty() && params.distortion.size() % 2 != 0) { in FromData()
111 << " odd number (size=" << params.distortion.size() in FromData()
149 return params_.distortion; in GetDistortion()
153 return static_cast<int>(floor(params_.distortion.size() / 2)); in GetDistortionCount()
192 if (params_.distortion.empty()) { in Serialize()
[all …]
/external/ImageMagick/MagickCore/
Dcompare.c129 const MetricType metric,double *distortion,ExceptionInfo *exception) in CompareImages() argument
171 assert(distortion != (double *) NULL); in CompareImages()
172 *distortion=0.0; in CompareImages()
175 status=GetImageDistortion(image,reconstruct_image,metric,distortion, in CompareImages()
363 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument
477 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion()
485 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument
587 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion()
593 distortion[j]*=area; in GetFuzzDistortion()
594 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetFuzzDistortion()
[all …]
/external/webp/src/enc/
Dpicture_psnr_enc.c135 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument
142 result == NULL || distortion == NULL) { in WebPPlaneDistortion()
165 *distortion = (float)metric(src, width, ref, width, width, height); in WebPPlaneDistortion()
168 *result = (type == 1) ? (float)GetLogSSIM(*distortion, (double)width * height) in WebPPlaneDistortion()
169 : (float)GetPSNR(*distortion, (double)width * height); in WebPPlaneDistortion()
202 float distortion; in WebPPictureDistortion() local
209 w, h, 4, type, &distortion, results + c)) { in WebPPictureDistortion()
212 total_distortion += distortion; in WebPPictureDistortion()
232 int type, float* distortion, float* result) { in WebPPlaneDistortion() argument
241 if (distortion == NULL || result == NULL) return 0; in WebPPlaneDistortion()
[all …]
/external/v8/tools/profviz/
Dstdio.js35 var distortion = parseInt(result.distortion); variable
36 if (isNaN(distortion)) processor.printUsageAndExit();
38 distortion_per_entry = distortion / 1000000;
Dprofviz.js67 distortion, argument
73 'distortion' : distortion, property
222 var distortion = getDistortion();
231 worker.run(file, kResX, kResY, distortion, range[0], range[1]);
244 parseInt(ui.distortion.value, 10);
246 input_distortion = ui.distortion.value = 4500;
Dworker.js85 var distortion = args["distortion"];
116 distortion,
135 psc.collectData(input, distortion);
/external/dynamic_depth/includes/dynamic_depth/
Dimaging_model.h26 std::vector<float> distortion; // Distortion parameters. member
35 distortion(std::vector<float>()), in ImagingModelParams()
43 distortion == other.distortion && skew == other.skew &&
/external/tensorflow/tensorflow/core/kernels/
Drange_sampler.cc234 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()
Drange_sampler.h216 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);
Dcandidate_sampler_ops.cc166 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/
Drdopt.c529 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 …]
Dmcomp.c215 *distortion = thismse; \
225 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step_iteratively() argument
291 *distortion = besterr; in vp8_find_best_sub_pixel_step_iteratively()
369 int *mvcost[2], int *distortion, in vp8_find_best_sub_pixel_step() argument
406 *distortion = bestmse; in vp8_find_best_sub_pixel_step()
419 *distortion = thismse; in vp8_find_best_sub_pixel_step()
431 *distortion = thismse; in vp8_find_best_sub_pixel_step()
445 *distortion = thismse; in vp8_find_best_sub_pixel_step()
457 *distortion = thismse; in vp8_find_best_sub_pixel_step()
499 *distortion = thismse; in vp8_find_best_sub_pixel_step()
[all …]
Dpickinter.c127 int *mvcost[2], int *distortion, in vp8_skip_fractional_mv_step() argument
136 (void)distortion; in vp8_skip_fractional_mv_step()
185 int distortion; in pick_intra4x4block() local
198 distortion = get_prediction_error(be, b); in pick_intra4x4block()
199 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
203 *bestdistortion = distortion; in pick_intra4x4block()
219 int distortion = 0; in pick_intra4x4mby_modes() local
243 distortion += d; in pick_intra4x4mby_modes()
250 if (distortion > *best_dist) break; in pick_intra4x4mby_modes()
256 *best_dist = distortion; in pick_intra4x4mby_modes()
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_FixedUnigramCandidateSampler.pbtxt71 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/
Dtickprocessor.js95 distortion, argument
166 distortion = parseInt(distortion);
168 this.distortion_per_entry = isNaN(distortion) ? 0 : (distortion / 1000);
169 this.distortion = 0;
362 this.distortion += this.distortion_per_entry;
363 ns_since_start -= this.distortion;
396 this.distortion += this.distortion_per_entry;
924 distortion: 0,
Dplot-timer-events73 distortion=`echo "1000*(($t_1_end - $t_1_start) - ($t_2_end - $t_2_start)) \
75 options="--distortion=$distortion"
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py222 distortion=1.0, argument
302 vocab_file=vocab_file, distortion=distortion,
/external/ImageMagick/MagickWand/
Dcompare.c265 distortion, in CompareImagesCommand() local
324 distortion=0.0; in CompareImagesCommand()
1172 difference_image=CompareImages(image,reconstruct_image,metric,&distortion, in CompareImagesCommand()
1176 difference_image=CompareImages(image,reconstruct_image,metric,&distortion, in CompareImagesCommand()
1189 &distortion,exception); in CompareImagesCommand()
1201 &distortion,exception); in CompareImagesCommand()
1219 &distortion,exception); in CompareImagesCommand()
1250 (void) FormatLocaleFile(stderr,"%g (%g)",QuantumRange*distortion, in CompareImagesCommand()
1251 (double) distortion); in CompareImagesCommand()
1261 (void) FormatLocaleFile(stderr,"%g",distortion); in CompareImagesCommand()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c779 int64_t *distortion, int *skippable, int64_t *sse, in txfm_rd_in_plane() argument
802 *distortion = INT64_MAX; in txfm_rd_in_plane()
806 *distortion = args.this_dist; in txfm_rd_in_plane()
814 int64_t *distortion, int *skip, int64_t *sse, in choose_largest_tx_size() argument
824 txfm_rd_in_plane(cpi, x, rate, distortion, skip, sse, ref_best_rd, 0, bs, in choose_largest_tx_size()
829 int64_t *distortion, int *skip, in choose_tx_size_from_rd() argument
905 *distortion = d[mi->tx_size]; in choose_tx_size_from_rd()
912 int64_t *distortion, int *skip, int64_t *psse, in super_block_yrd() argument
921 choose_largest_tx_size(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd()
924 choose_tx_size_from_rd(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd()
[all …]
Dvp9_mcomp.c187 *distortion = thismse; \
210 *distortion = thismse; \
305 int *mvjcost, int *mvcost[2], uint32_t *sse1, uint32_t *distortion) { in setup_center_error() argument
323 *distortion = (uint32_t)besterr; in setup_center_error()
337 *distortion = besterr; in setup_center_error()
374 uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, in vp9_skip_sub_pixel_tree() argument
379 offset, mvjcost, mvcost, sse1, distortion); in vp9_skip_sub_pixel_tree()
407 uint32_t *distortion, uint32_t *sse1, const uint8_t *second_pred, int w, in vp9_find_best_sub_pixel_tree_pruned_evenmore() argument
412 offset, mvjcost, mvcost, sse1, distortion); in vp9_find_best_sub_pixel_tree_pruned_evenmore()
473 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/
Dquantize.cpp370 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/
DREADME11 able to hear the characteristic WSOLA distortion relative to the sonic version.
34 result in one sine period with no distortion.
/external/libaom/libaom/av1/encoder/
Dmcomp.c204 *distortion = thismse; \
227 *distortion = thismse; \
338 int *mvcost[2], unsigned int *sse1, int *distortion) { in setup_center_error() argument
365 *distortion = besterr; in setup_center_error()
398 int *cost_list, int *mvjcost, int *mvcost[2], int *distortion, in av1_find_best_sub_pixel_tree_pruned_evenmore() argument
406 h, offset, mvjcost, mvcost, sse1, distortion); in av1_find_best_sub_pixel_tree_pruned_evenmore()
471 int *cost_list, int *mvjcost, int *mvcost[2], int *distortion, in av1_find_best_sub_pixel_tree_pruned_more() argument
485 h, offset, mvjcost, mvcost, sse1, distortion); in av1_find_best_sub_pixel_tree_pruned_more()
540 int *cost_list, int *mvjcost, int *mvcost[2], int *distortion, in av1_find_best_sub_pixel_tree_pruned() argument
554 h, offset, mvjcost, mvcost, sse1, distortion); in av1_find_best_sub_pixel_tree_pruned()
[all …]
Dmcomp.h110 int *distortion, unsigned int *sse1, const uint8_t *second_pred,
154 int *mvjcost, int *mvcost[2], int *distortion, unsigned int *sse1,
/external/libvpx/libvpx/vpx_dsp/ppc/
Dvariance_vsx.c19 int distortion; in vpx_get4x4sse_cs_vsx() local
32 vec_ste(d, 0, &distortion); in vpx_get4x4sse_cs_vsx()
34 return distortion; in vpx_get4x4sse_cs_vsx()

1234