Home
last modified time | relevance | path

Searched refs:this_rd (Results 1 – 11 of 11) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dintra_mode_search.c203 int64_t temp_sse, this_rd; in intra_model_yrd() local
236 this_rd = in intra_model_yrd()
238 return this_rd; in intra_model_yrd()
266 int64_t this_rd; in calc_rd_given_intra_angle() local
284 this_rd = RDCOST(x->rdmult, this_rate, tokenonly_rd_stats.dist); in calc_rd_given_intra_angle()
286 if (this_rd < *best_rd) { in calc_rd_given_intra_angle()
289 *best_rd = this_rd; in calc_rd_given_intra_angle()
297 return this_rd; in calc_rd_given_intra_angle()
430 int64_t this_rd; in rd_pick_filter_intra_sby() local
443 this_rd = RDCOST(x->rdmult, this_rate, tokenonly_rd_stats.dist); in rd_pick_filter_intra_sby()
[all …]
Drdopt_utils.h580 THR_MODES mode_index, uint8_t *color_map, BLOCK_SIZE bsize, int64_t this_rd, in store_winner_mode_stats() argument
588 if (this_rd == INT64_MAX) return; in store_winner_mode_stats()
602 if (winner_mode_stats[mode_idx].rd > this_rd) break; in store_winner_mode_stats()
616 winner_mode_stats[mode_idx].rd = this_rd; in store_winner_mode_stats()
Dtx_search.h67 int64_t this_rd, int plane, BLOCK_SIZE plane_bsize,
Dtx_search.c2998 int64_t this_rd = 0; in tx_block_yrd() local
3010 ref_best_rd - this_rd, &pn_rd_stats, ftxs_mode); in tx_block_yrd()
3016 this_rd += RDCOST(x->rdmult, pn_rd_stats.rate, pn_rd_stats.dist); in tx_block_yrd()
3058 int64_t this_rd = 0; in inter_block_yrd() local
3064 ctxa, ctxl, tx_above, tx_left, ref_best_rd - this_rd, in inter_block_yrd()
3071 this_rd += in inter_block_yrd()
3082 this_rd = in inter_block_yrd()
3084 if (skip_rd < this_rd) { in inter_block_yrd()
3085 this_rd = skip_rd; in inter_block_yrd()
3091 const int is_cost_valid = this_rd > ref_best_rd; in inter_block_yrd()
[all …]
Drdopt.c3190 int64_t this_rd = in refine_winner_mode_tx() local
3192 if (best_rd > this_rd) { in refine_winner_mode_tx()
3200 rd_cost->rdcost = this_rd; in refine_winner_mode_tx()
3201 best_rd = this_rd; in refine_winner_mode_tx()
4386 int max_winner_motion_mode_cand, int64_t this_rd, in handle_winner_cand() argument
4394 if (this_rd < best_motion_mode_cands->motion_mode_cand[j].rd_cost) { in handle_winner_cand()
4412 motion_mode_cand->rd_cost = this_rd; in handle_winner_cand()
4677 int64_t this_rd = handle_inter_mode( in av1_rd_pick_inter_mode_sb() local
4688 if (this_rd == INT64_MAX) continue; in av1_rd_pick_inter_mode_sb()
4696 this_rd < ref_frame_rd[ref_frame]) { in av1_rd_pick_inter_mode_sb()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dpickinter.c192 int this_rd; in pick_intra4x4block() local
199 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in pick_intra4x4block()
201 if (this_rd < best_rd) { in pick_intra4x4block()
204 best_rd = this_rd; in pick_intra4x4block()
469 int this_rd; in evaluate_inter_mode() local
486 this_rd = RDCOST(x->rdmult, x->rddiv, rate2, *distortion2); in evaluate_inter_mode()
503 this_rd = (int)(((int64_t)this_rd) * rd_adj / 100); in evaluate_inter_mode()
507 return this_rd; in evaluate_inter_mode()
771 int this_rd = INT_MAX; in vp8_pick_inter_mode() local
866 this_rd = INT_MAX; in vp8_pick_inter_mode()
[all …]
Drdopt.c548 int this_rd; in rd_pick_intra4x4block() local
566 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
568 if (this_rd < best_rd) { in rd_pick_intra4x4block()
572 best_rd = this_rd; in rd_pick_intra4x4block()
653 int this_rd; in rd_pick_intra16x16mby_mode() local
668 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra16x16mby_mode()
670 if (this_rd < best_rd) { in rd_pick_intra16x16mby_mode()
672 best_rd = this_rd; in rd_pick_intra16x16mby_mode()
756 int this_rd; in rd_pick_intra_mbuv_mode() local
779 this_rd = RDCOST(x->rdmult, x->rddiv, this_rate, this_distortion); in rd_pick_intra_mbuv_mode()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.c76 int64_t this_rd; member
845 if (args->this_rd + rd > args->best_rd) { in block_rd_txfm()
868 args->this_rd += rd; in block_rd_txfm()
870 if (args->this_rd > args->best_rd) { in block_rd_txfm()
1117 int64_t this_rd; in rd_pick_intra4x4block() local
1189 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
1191 if (this_rd < best_rd) { in rd_pick_intra4x4block()
1195 best_rd = this_rd; in rd_pick_intra4x4block()
1219 int64_t this_rd; in rd_pick_intra4x4block() local
1285 this_rd = RDCOST(x->rdmult, x->rddiv, rate, distortion); in rd_pick_intra4x4block()
[all …]
Dvp9_encoder.c6604 double this_rd; local
6609 this_rd = eval_mv_mode(mv_mode, cpi, x, gf_picture, motion_field, frame_idx,
6612 *rd = this_rd;
6617 if (this_rd < *rd) {
6618 *rd = this_rd;
6657 double this_rd; local
6661 bsize, nb_row, nb_col, &this_rd, mv);
6663 this_no_new_mv_rd = this_rd;
6665 no_new_mv_rd += this_rd;
6688 double this_rd; local
[all …]
Dvp9_pickmode.c2791 int64_t this_rd = 0; in vp9_pick_inter_mode_sub8x8() local
2952 this_rd += b_best_rd; in vp9_pick_inter_mode_sub8x8()
2960 if (this_rd < best_rd) { in vp9_pick_inter_mode_sub8x8()
2961 best_rd = this_rd; in vp9_pick_inter_mode_sub8x8()
Dvp9_encodeframe.c3445 const int64_t this_rd = pc_tree->split[i]->none.rdcost; in ml_prune_rect_partition() local
3446 const int rd_valid = this_rd > 0 && this_rd < 1000000000; in ml_prune_rect_partition()
3449 rd_valid ? (float)this_rd * norm_factor : 1.0f; in ml_prune_rect_partition()