Home
last modified time | relevance | path

Searched refs:score (Results 101 - 125 of 256) sorted by relevance

1234567891011

/third_party/ffmpeg/libavformat/
H A Dsga.c53 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 Dmp3dec.c517 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()
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_strategy_manager/
H A Dmemcg.h95 void SetScore(int score);
103 bool ReadScoreAndReclaimRatiosFromKernel_(int& score, unsigned int& mem2zramRatio, unsigned int& zram2ufsRatio,
H A Dmemcg_mgr.h40 bool UpdateMemcgScoreAndReclaimRatios(unsigned int userId, int score, const ReclaimRatios& ratios);
H A Dreclaim_strategy_manager.h56 bool GetReclaimRatiosByScore_(int score, ReclaimRatios& ratios);
/third_party/ltp/lib/
H A Dtst_memutils.c125 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/scheduler/
H A Dsched_main.c153 atomic_inc(rq->sched->score); in drm_sched_rq_add_entity()
175 atomic_dec(rq->sched->score); in drm_sched_rq_remove_entity()
271 atomic_dec(sched->score); in drm_sched_job_done()
970 num_score = atomic_read(sched->score); in drm_sched_pick_best()
1079 * @score: optional score atomic shared with other schedulers
1089 atomic_t *score, const char *name, struct device *dev) in drm_sched_init()
1098 sched->score = score ? score in drm_sched_init()
1085 drm_sched_init(struct drm_gpu_scheduler *sched, const struct drm_sched_backend_ops *ops, unsigned hw_submission, unsigned hang_limit, long timeout, struct workqueue_struct *timeout_wq, atomic_t *score, const char *name, struct device *dev) drm_sched_init() argument
[all...]
/kernel/linux/linux-5.10/mm/
H A Dzswapd_control.c316 u64 score; in zswapd_memcgs_param_parse() local
320 score = atomic64_read(&memcg->memcg_reclaimed.app_score); in zswapd_memcgs_param_parse()
322 if (score >= zswap_param[i].min_score && in zswapd_memcgs_param_parse()
323 score <= zswap_param[i].max_score) in zswapd_memcgs_param_parse()
491 u64 score = atomic64_read(&memcg->memcg_reclaimed.app_score); in memcg_active_app_info_list_show() local
521 seq_printf(m, "%s %llu %lu %lu %lu %llu\n", memcg->name, score, in memcg_active_app_info_list_show()
597 seq_printf(m, "level %d min score: %u\n", i, in zswapd_memcgs_param_show()
599 seq_printf(m, "level %d max score: %u\n", i, in zswapd_memcgs_param_show()
616 seq_printf(m, "memcg score: %llu\n", in zswapd_single_memcg_param_show()
/kernel/linux/linux-6.6/mm/
H A Dzswapd_control.c317 u64 score; in zswapd_memcgs_param_parse() local
321 score = atomic64_read(&memcg->memcg_reclaimed.app_score); in zswapd_memcgs_param_parse()
323 if (score >= zswap_param[i].min_score && in zswapd_memcgs_param_parse()
324 score <= zswap_param[i].max_score) in zswapd_memcgs_param_parse()
492 u64 score = atomic64_read(&memcg->memcg_reclaimed.app_score); in memcg_active_app_info_list_show() local
522 seq_printf(m, "%s %llu %lu %lu %lu %llu\n", memcg->name, score, in memcg_active_app_info_list_show()
598 seq_printf(m, "level %d min score: %u\n", i, in zswapd_memcgs_param_show()
600 seq_printf(m, "level %d max score: %u\n", i, in zswapd_memcgs_param_show()
617 seq_printf(m, "memcg score: %llu\n", in zswapd_single_memcg_param_show()
/third_party/ffmpeg/libavfilter/
H A Dvif.h29 int ref_stride, int main_stride, float *score,
H A Dvf_bm3d.c67 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 Dvf_find_rect.c161 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 Dvf_framerate.c127 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 Dframerate.h40 double scene_score; ///< score that denotes a scene change has happened
63 double score; ///< scene change score (f0 to f1) member
/kernel/linux/linux-6.6/mm/damon/
H A Dcore.c1013 unsigned int score, max_score = 0; in damos_adjust_quota() local
1032 /* Fill up the score histogram */ in damos_adjust_quota()
1038 score = c->ops.get_scheme_score(c, t, r, s); in damos_adjust_quota()
1039 quota->histogram[score] += damon_sz_region(r); in damos_adjust_quota()
1040 if (score > max_score) in damos_adjust_quota()
1041 max_score = score; in damos_adjust_quota()
1045 /* Set the min score limit */ in damos_adjust_quota()
1046 for (cumulated_sz = 0, score = max_score; ; score--) { in damos_adjust_quota()
1047 cumulated_sz += quota->histogram[score]; in damos_adjust_quota()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dcinepakenc.c263 // 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/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_sched_gm107.h8 SchedDataCalculatorGM107(const TargetGM107 *targ) : score(NULL), targ(targ) {} in SchedDataCalculatorGM107()
102 RegScores *score; // for current BB member in nv50_ir::SchedDataCalculatorGM107
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/
H A Dnode_to_instr.c265 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/skia/third_party/externals/freetype/src/autofit/
H A Dafcjk.c889 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...]
/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drender_rating.cpp285 // fire current score via change event when ENTER key is clicked, whether the score changes or not in HandleFocusEvent()
524 void RenderRating::ConstrainScore(double& score, double lowerBoundary, double upperBoundary) in ConstrainScore() argument
526 if (GreatOrEqual(score, upperBoundary)) { in ConstrainScore()
527 score = upperBoundary; in ConstrainScore()
529 if (LessOrEqual(score, lowerBoundary)) { in ConstrainScore()
530 score = lowerBoundary; in ConstrainScore()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_select_rule.c371 int32_t score = LnnGetCurrChannelScore(channel); in GetLinkedChannelScore() local
372 LNN_LOGI(LNN_LANE, "current channel=%{public}d, score=%{public}d", channel, score); in GetLinkedChannelScore()
373 if (score <= 0) { in GetLinkedChannelScore()
374 score = LNN_LINK_DEFAULT_SCORE; in GetLinkedChannelScore()
376 return score; in GetLinkedChannelScore()
/kernel/linux/linux-5.10/drivers/gpu/drm/scheduler/
H A Dsched_main.c95 atomic_inc(&rq->sched->score); in drm_sched_rq_add_entity()
114 atomic_dec(&rq->sched->score); in drm_sched_rq_remove_entity()
652 atomic_dec(&sched->score); in drm_sched_process_job()
728 num_score = atomic_read(&sched->score); in drm_sched_pick_best()
864 atomic_set(&sched->score, 0); in drm_sched_init()
/kernel/linux/linux-6.6/net/ipv4/
H A Dinet_hashtables.c323 int score = -1; in compute_score() local
332 score = sk->sk_bound_dev_if ? 2 : 1; in compute_score()
335 score++; in compute_score()
337 score++; in compute_score()
339 return score; in compute_score()
392 int score, hiscore = 0; in inet_lhash2_lookup() local
395 score = compute_score(sk, net, hnum, daddr, dif, sdif); in inet_lhash2_lookup()
396 if (score > hiscore) { in inet_lhash2_lookup()
403 hiscore = score; in inet_lhash2_lookup()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/include/
H A Dlnn_lane_score.h37 int32_t score; member
/kernel/linux/linux-6.6/include/drm/
H A Dgpu_scheduler.h490 * @score: score to help loadbalancer pick a idle sched
491 * @_score: score used when the driver doesn't provide one
514 atomic_t *score; member
525 atomic_t *score, const char *name, struct device *dev);

Completed in 38 milliseconds

1234567891011