/third_party/astc-encoder/Test/ |
H A D | astc_test_python.py | 44 score = float(match.group(1)) 45 self.assertGreaterEqual(score, 9.8)
|
/third_party/ffmpeg/libavfilter/ |
H A D | vaapi_vpp.c | 273 int i, j, score, best_score, worst_score; in vaapi_vpp_fill_colour_standard() local 290 // An exact match will score zero and therefore always be chosen, as in vaapi_vpp_fill_colour_standard() 314 score = 0; in vaapi_vpp_fill_colour_standard() 317 score += 4 * (props->colorspace != t->colorspace); in vaapi_vpp_fill_colour_standard() 319 score += 2 * (props->color_trc != t->color_trc); in vaapi_vpp_fill_colour_standard() 321 score += (props->color_primaries != t->color_primaries); in vaapi_vpp_fill_colour_standard() 324 if (score < worst_score && in vaapi_vpp_fill_colour_standard() 325 (best_score == -1 || score < best_score)) { in vaapi_vpp_fill_colour_standard() 326 best_score = score; in vaapi_vpp_fill_colour_standard()
|
H A D | avfiltergraph.c | 569 int score = 0; in get_fmt_score() local 572 score ++; in get_fmt_score() 575 score += 100 * (av_get_bytes_per_sample(src_fmt) - av_get_bytes_per_sample(dst_fmt)); in get_fmt_score() 577 score += 10 * (av_get_bytes_per_sample(dst_fmt) - av_get_bytes_per_sample(src_fmt)); in get_fmt_score() 581 score += 20; in get_fmt_score() 585 score += 2; in get_fmt_score() 587 return score; in get_fmt_score() 900 int score = 100000; in swap_channel_layouts_on_filter() local 908 /* Compute score in case the input or output layout encodes in swap_channel_layouts_on_filter() 909 a channel count; in this case the score i in swap_channel_layouts_on_filter() 1003 int score; swap_sample_fmts_on_filter() local [all...] |
H A D | vf_bm3d.c | 67 double score; member 223 return FFDIFFSIGN(pair1->score, pair2->score); in cmp_scores() 286 const double score = dist * distMul; in do_block_matching_multi() local 288 if (index >= s->group_size && score >= sc->match_blocks[index - 1].score) { in do_block_matching_multi() 295 sc->match_blocks[index].score = score; in do_block_matching_multi() 336 sc->match_blocks[0].score = 0; in block_matching_multi() 352 sc->match_blocks[0].score in block_matching() [all...] |
H A D | vf_find_rect.c | 161 float score = compare(foc->haystack_frame[pass], foc->needle_frame[pass], x, y); in search() local 162 if (score < best_score) { in search() 163 best_score = score; in search() 209 av_log(ctx, AV_LOG_INFO, "Found at n=%"PRId64" pts_time=%f x=%d y=%d with score=%f\n", in filter_frame() 221 av_dict_set(&in->metadata, "lavfi.rect.score", buf, 0); in filter_frame()
|
H A D | vf_framerate.c | 127 if (s->score >= 0.0) in blend_frames() 128 interpolate_scene_score = s->score; in blend_frames() 130 interpolate_scene_score = s->score = get_scene_score(ctx, s->f0, s->f1); in blend_frames() 131 ff_dlog(ctx, "blend_frames() interpolate scene score:%f\n", interpolate_scene_score); in blend_frames() 346 s->score = -1.0; in activate() 413 av_log(ctx, AV_LOG_INFO, "fps -> fps:%u/%u scene score:%f interpolate start:%d end:%d\n", in config_output()
|
H A D | vif.h | 29 int ref_stride, int main_stride, float *score,
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/ |
H A D | glmark2Benchmark.cpp | 36 // it can produce an aggregate score, which is not interesting at the moment. Adding an empty 38 // score for each test as well as the overall score is output. 114 mReporter->RegisterImportantMetric(".score", "score"); in GLMark2Benchmark() 193 // an FPS value, and finally prints the overall score. in parseOutput() 259 // Get the score line: `glmark2 Score: uint` in parseOutput() 261 size_t score; in parseOutput() local 262 glmark2Output >> glmark2Tag >> scoreTag >> score; in parseOutput() local 269 mReporter->AddResult(".score", scor in parseOutput() [all...] |
/third_party/vixl/benchmarks/aarch64/ |
H A D | bench-utils.h | 122 double score = iterations / elapsed_seconds; in PrintResults() local 124 score, in PrintResults() 125 (score == 1.0) ? "" : "s", in PrintResults()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | perf_test_runner.py | 163 for score in experiment_scores: 164 sys.stdout.write("%s: %.2f" % (args.metric, score)) 165 scores.append(score)
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_emit_nvc0.cpp | 3023 SchedDataCalculator(const Target *targ) : score(NULL), prevData(0), 3161 RegScores *score; // for current BB 3248 score = &scoreBoards.at(bb->getId()); 3260 score->setMax(&scoreBoards.at(in->getId())); 3267 score->print(cycle); 3300 const int regsFree = score->getLatest(); 3314 score->rebase(cycle); // common base for initializing out blocks' scores 3332 ready = score->res.sfu; 3336 ready = score->res.imul; 3339 ready = score [all...] |
H A D | nv50_ir_sched_gm107.h | 8 SchedDataCalculatorGM107(const TargetGM107 *targ) : score(NULL), targ(targ) {} in SchedDataCalculatorGM107() 102 RegScores *score; // for current BB member in nv50_ir::SchedDataCalculatorGM107
|
/third_party/ffmpeg/libavcodec/ |
H A D | alacenc.c | 190 uint64_t score[4]; in estimate_stereo_mode() local 203 /* calculate score for each mode */ in estimate_stereo_mode() 204 score[0] = sum[0] + sum[1]; in estimate_stereo_mode() 205 score[1] = sum[0] + sum[3]; in estimate_stereo_mode() 206 score[2] = sum[1] + sum[3]; in estimate_stereo_mode() 207 score[3] = sum[2] + sum[3]; in estimate_stereo_mode() 209 /* return mode with lowest score */ in estimate_stereo_mode() 212 if (score[i] < score[best]) in estimate_stereo_mode()
|
H A D | me_cmp.c | 916 int score = 0, x, y; \ 920 score += FFABS(s[x] - s[x + stride]) + \ 928 return score; \ 938 int score = 0, x, y; \ 942 score += FFABS(s1[x] - s2[x] - s1[x + stride] + s2[x + stride]); \ 947 return score; \ 958 int score = 0, x, y; \ 962 score += SQ(s[x] - s[x + stride]) + \ 970 return score; \ 979 int score [all...] |
H A D | cinepakenc.c | 263 // score = FF_LAMBDA_SCALE * error + lambda * bits in calculate_mode_score() 866 int64_t score = 0; in rd_strip() local 924 score = calculate_mode_score(s, h, &info, 0, in rd_strip() 944 // calculate the resulting score in rd_strip() 949 score = calculate_mode_score(s, h, &info, 1, in rd_strip() 974 if (best_size == 0 || score < *best_score) { in rd_strip() 975 *best_score = score; in rd_strip() 1014 int64_t best_score = 0, score, score_temp; in rd_frame() local 1076 score = 0; in rd_frame() 1116 score in rd_frame() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | avformat.c | 321 int score = 0; in av_find_default_stream_index() local 324 score -= 400; in av_find_default_stream_index() 326 score += 50; in av_find_default_stream_index() 327 score+= 25; in av_find_default_stream_index() 331 score += 50; in av_find_default_stream_index() 334 score += 12; in av_find_default_stream_index() 337 score += 200; in av_find_default_stream_index() 339 if (score > best_score) { in av_find_default_stream_index() 340 best_score = score; in av_find_default_stream_index()
|
H A D | cdxl.c | 47 int score = AVPROBE_SCORE_EXTENSION + 10; in cdxl_read_probe() local 93 score /= 2; in cdxl_read_probe() 97 score /= 2; in cdxl_read_probe() 99 return score; in cdxl_read_probe()
|
H A D | sga.c | 53 int score = 0, sectors = 1; in sga_probe() local 142 score += 10; in sga_probe() 164 score += 10; in sga_probe() 174 if (score < 0) in sga_probe() 178 return av_clip(score, 0, AVPROBE_SCORE_MAX); in sga_probe()
|
H A D | mp3dec.c | 517 int score = 999; in mp3_sync() local 532 if ((target_pos - pos)*dir <= 0 && FFABS(MIN_VALID/2-j) < score) { in mp3_sync() 534 score = FFABS(MIN_VALID/2-j); in mp3_sync() 538 if (best_score > score && j == MIN_VALID) { in mp3_sync() 540 best_score = score; in mp3_sync() 541 if(score == 0) in mp3_sync()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/bloat/ |
H A D | webtreemap.js | 113 var last_score = 0; // Best score yet found. 126 var score = Math.max(5*space*space*rmax / (rsum*rsum), 128 if (last_score && score > last_score) { 132 last_score = score;
|
/third_party/ltp/lib/ |
H A D | tst_memutils.c | 125 static int write_score(const char *path, int score) in write_score() argument 133 if (fprintf(f, "%d", score) <= 0) { in write_score() 166 tst_res(TWARN, "Can't adjust score, even with capabilities!?"); in set_oom_score_adj()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afcjk.c | 889 if ( dist * 8 < seg1->score * 9 && in af_cjk_hints_link_segments() 890 ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) in af_cjk_hints_link_segments() 892 seg1->score = dist; in af_cjk_hints_link_segments() 897 if ( dist * 8 < seg2->score * 9 && in af_cjk_hints_link_segments() 898 ( dist * 8 < seg2->score * 7 || seg2->len < len ) ) in af_cjk_hints_link_segments() 900 seg2->score = dist; in af_cjk_hints_link_segments() 928 if ( seg1->score >= dist_threshold ) in af_cjk_hints_link_segments() 943 if ( seg2->score <= seg1->score || seg1->score * in af_cjk_hints_link_segments() [all...] |
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | node_to_instr.c | 265 unsigned int score = ppir_node_score(node); in ppir_ready_list_pick_best() local 266 if (!best || score > best_score) { in ppir_ready_list_pick_best() 268 best_score = score; in ppir_ready_list_pick_best()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/config/chunkindex/ |
H A D | lunr.js | 1861 * @property {number} score - A number between 0 and 1 representing how similar this document is to the query. 1886 * boost will make documents matching that term score higher, e.g. `foo^5`. Edit distance is also supported 1918 * Results will be returned sorted by their score, the most relevant results 1919 * will be returned first. For details on how the score is calculated, please see 1966 // * score documents 2205 * above, and combined into a final document score using addition. 2219 score = queryVectors[fieldRef.fieldName].similarity(fieldVector), 2223 docMatch.score += score 2228 score [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | TextWrapper.cpp | 360 // If text could fit, it has substantially larger score compared to nicer wrap with overflow in moveForward() 509 int64_t score = 0; in moveForward() local 510 int64_t overallScore = score; in moveForward() 514 // re-break this line, if a result is different, calculate score in moveForward() 539 overallScore = ite->second.score; in moveForward() 545 score = int64_t((1.f - scoref) * UNDERFLOW_SCORE); in moveForward() 546 score *= score; in moveForward() 549 overallScore = score; in moveForward() 552 if (!HandleLastLine(param, overallScore, currentWidth, score)) { in moveForward() [all...] |