Home
last modified time | relevance | path

Searched refs:distortion (Results 1 – 25 of 90) 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()
365 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetAbsoluteDistortion() argument
476 distortion[j]+=channel_distortion[j]; in GetAbsoluteDistortion()
484 const Image *reconstruct_image,double *distortion,ExceptionInfo *exception) in GetFuzzDistortion() argument
586 distortion[j]+=channel_distortion[j]; in GetFuzzDistortion()
592 distortion[j]*=area; in GetFuzzDistortion()
593 distortion[CompositePixelChannel]/=(double) GetImageChannels(image); in GetFuzzDistortion()
[all …]
/external/libaom/libaom/av1/encoder/
Dmcomp.c2121 unsigned int *sse1, int *distortion, int *has_better_mv) { in check_better_fast() argument
2132 *distortion = thismse; in check_better_fast()
2148 unsigned int *sse1, int *distortion, int *is_better) { in check_better() argument
2159 *distortion = thismse; in check_better()
2186 unsigned int *sse1, int *distortion) { in first_level_check_fast() argument
2192 mv_cost_params, besterr, sse1, distortion, &dummy); in first_level_check_fast()
2197 mv_cost_params, besterr, sse1, distortion, &dummy); in first_level_check_fast()
2202 besterr, sse1, distortion, &dummy); in first_level_check_fast()
2207 mv_cost_params, besterr, sse1, distortion, &dummy); in first_level_check_fast()
2215 besterr, sse1, distortion, &dummy); in first_level_check_fast()
[all …]
Dintra_mode_search.c412 int64_t *distortion, int *skippable, in rd_pick_filter_intra_sby() argument
460 *distortion = tokenonly_rd_stats.dist; in rd_pick_filter_intra_sby()
567 int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, in palette_rd_y() argument
632 if (distortion) *distortion = tokenonly_rd_stats.dist; in palette_rd_y()
644 int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, in perform_top_color_coarse_palette_search() argument
655 best_rd, best_model_rd, rate, rate_tokenonly, distortion, in perform_top_color_coarse_palette_search()
671 int64_t *best_model_rd, int *rate, int *rate_tokenonly, int64_t *distortion, in perform_k_means_coarse_palette_search() argument
687 best_rd, best_model_rd, rate, rate_tokenonly, distortion, in perform_k_means_coarse_palette_search()
705 int64_t *best_model_rd, int *rate, int *rate_tokenonly, int64_t *distortion, in perform_top_color_palette_search() argument
719 best_rd, best_model_rd, rate, rate_tokenonly, distortion, in perform_top_color_palette_search()
[all …]
Dintra_mode_search.h47 int64_t *distortion, int *skippable,
60 int64_t *distortion, int *skippable,
/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/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.cc237 float distortion, in FixedUnigramSampler() argument
246 TF_CHECK_OK(LoadFromFile(env, vocab_file, distortion)); in FixedUnigramSampler()
253 float distortion, in FixedUnigramSampler() argument
261 LoadFromUnigrams(unigrams, distortion); in FixedUnigramSampler()
285 float distortion) { in LoadFromFile() argument
304 w = std::pow(w, distortion); in LoadFromFile()
314 float distortion) { in LoadFromUnigrams() argument
319 w = std::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/python/ops/
Dcandidate_sampling_ops.py227 distortion=1.0, argument
307 vocab_file=vocab_file, distortion=distortion,
/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/ImageMagick/MagickWand/
Dcompare.c240 distortion, in CompareImagesCommand() local
299 distortion=0.0; in CompareImagesCommand()
1170 difference_image=CompareImages(image,reconstruct_image,metric,&distortion, in CompareImagesCommand()
1174 difference_image=CompareImages(image,reconstruct_image,metric,&distortion, in CompareImagesCommand()
1187 &distortion,exception); in CompareImagesCommand()
1199 &distortion,exception); in CompareImagesCommand()
1217 &distortion,exception); in CompareImagesCommand()
1249 QuantumRange*distortion,GetMagickPrecision(), in CompareImagesCommand()
1250 (double) distortion); in CompareImagesCommand()
1261 distortion); in CompareImagesCommand()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c879 int64_t *distortion, int *skippable, int64_t *sse, in txfm_rd_in_plane() argument
904 *distortion = INT64_MAX; in txfm_rd_in_plane()
908 *distortion = args.this_dist; in txfm_rd_in_plane()
916 int64_t *distortion, int *skip, int64_t *sse, in choose_largest_tx_size() argument
927 txfm_rd_in_plane(cpi, x, rate, distortion, skip, sse, ref_best_rd, 0, bs, in choose_largest_tx_size()
932 int64_t *distortion, int *skip, in choose_tx_size_from_rd() argument
1030 *distortion = d[mi->tx_size]; in choose_tx_size_from_rd()
1050 int64_t *distortion, int *skip, int64_t *psse, in super_block_yrd() argument
1060 choose_largest_tx_size(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd()
1063 choose_tx_size_from_rd(cpi, x, rate, distortion, skip, ret_sse, ref_best_rd, in super_block_yrd()
[all …]
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/
DFixedUnigramCandidateSampler.pbtxt49 name: "distortion"
150 name: "distortion"
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DFixedUnigramCandidateSampler.pbtxt49 name: "distortion"
150 name: "distortion"
/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/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/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()
/external/oboe/apps/fxlab/app/src/main/cpp/effects/descrip/
DDistortionDescription.h42 return DriveControl<iter_type> {SingleFunctionEffects::distortion<iter_type>, scale}; in buildEffect()
/external/oboe/apps/fxlab/app/src/main/cpp/effects/
DSingleFunctionEffects.h49 void distortion(iter_type beg, iter_type end) { in distortion() function
/external/libavc/encoder/arm/
Dime_distortion_metrics_a9q.s27 @* 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 …]

1234