Home
last modified time | relevance | path

Searched refs:rd_cost (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_rdopt.h29 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
35 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
40 struct RD_COST *rd_cost, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx,
51 struct RD_COST *rd_cost, BLOCK_SIZE bsize,
Dvp9_pickmode.h20 void vp9_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost,
24 int mi_row, int mi_col, RD_COST *rd_cost,
28 int mi_col, RD_COST *rd_cost, BLOCK_SIZE bsize,
Dvp9_rd.c48 void vp9_rd_cost_reset(RD_COST *rd_cost) { in vp9_rd_cost_reset() argument
49 rd_cost->rate = INT_MAX; in vp9_rd_cost_reset()
50 rd_cost->dist = INT64_MAX; in vp9_rd_cost_reset()
51 rd_cost->rdcost = INT64_MAX; in vp9_rd_cost_reset()
54 void vp9_rd_cost_init(RD_COST *rd_cost) { in vp9_rd_cost_init() argument
55 rd_cost->rate = 0; in vp9_rd_cost_init()
56 rd_cost->dist = 0; in vp9_rd_cost_init()
57 rd_cost->rdcost = 0; in vp9_rd_cost_init()
Dvp9_encodeframe.c1597 RD_COST *rd_cost, BLOCK_SIZE bsize) { in set_mode_info_seg_skip() argument
1619 vp9_rd_cost_init(rd_cost); in set_mode_info_seg_skip()
1634 RD_COST *rd_cost, BLOCK_SIZE bsize, in rd_pick_sb_modes() argument
1742 vp9_rd_pick_intra_mode_sb(cpi, x, rd_cost, bsize, ctx, best_rd); in rd_pick_sb_modes()
1746 vp9_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, rd_cost, bsize, in rd_pick_sb_modes()
1749 vp9_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
1752 vp9_rd_pick_inter_mode_sub8x8(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
1758 if ((rd_cost->rate != INT_MAX) && (aq_mode == COMPLEXITY_AQ) && in rd_pick_sb_modes()
1762 vp9_caq_select_segment(cpi, x, bsize, mi_row, mi_col, rd_cost->rate); in rd_pick_sb_modes()
1769 if (rd_cost->rate == INT_MAX) rd_cost->rdcost = INT64_MAX; in rd_pick_sb_modes()
[all …]
Dvp9_rd.h123 void vp9_rd_cost_reset(RD_COST *rd_cost);
125 void vp9_rd_cost_init(RD_COST *rd_cost);
Dvp9_rdopt.c2824 void vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost, in vp9_rd_pick_intra_mode_sb() argument
2845 rd_cost->rate = INT_MAX; in vp9_rd_pick_intra_mode_sb()
2852 rd_cost->rate = INT_MAX; in vp9_rd_pick_intra_mode_sb()
2862 rd_cost->rate = rate_y + rate_uv - rate_y_tokenonly - rate_uv_tokenonly + in vp9_rd_pick_intra_mode_sb()
2864 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb()
2866 rd_cost->rate = in vp9_rd_pick_intra_mode_sb()
2868 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb()
2873 rd_cost->rdcost = RDCOST(x->rdmult, x->rddiv, rd_cost->rate, rd_cost->dist); in vp9_rd_pick_intra_mode_sb()
3002 RD_COST *rd_cost, BLOCK_SIZE bsize, in vp9_rd_pick_inter_mode_sb() argument
3078 rd_cost->rate = INT_MAX; in vp9_rd_pick_inter_mode_sb()
[all …]
Dvp9_pickmode.c1075 void vp9_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost, in vp9_pick_intra_mode() argument
1132 *rd_cost = best_rdc; in vp9_pick_intra_mode()
1418 int mi_row, int mi_col, RD_COST *rd_cost, in vp9_pick_inter_mode() argument
1531 vp9_rd_cost_reset(rd_cost); in vp9_pick_inter_mode()
2265 *rd_cost = best_rdc; in vp9_pick_inter_mode()
2269 int mi_col, RD_COST *rd_cost, BLOCK_SIZE bsize, in vp9_pick_inter_mode_sub8x8() argument
2514 rd_cost->rdcost = best_rd; in vp9_pick_inter_mode_sub8x8()