Home
last modified time | relevance | path

Searched refs:rd_cost (Results 1 – 10 of 10) 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_encodeframe.c1869 RD_COST *rd_cost, BLOCK_SIZE bsize) { in set_mode_info_seg_skip() argument
1891 vp9_rd_cost_init(rd_cost); in set_mode_info_seg_skip()
1925 RD_COST *rd_cost, BLOCK_SIZE bsize, in rd_pick_sb_modes() argument
1997 vp9_rd_pick_intra_mode_sb(cpi, x, rd_cost, bsize, ctx, best_rd); in rd_pick_sb_modes()
2001 vp9_rd_pick_inter_mode_sb_seg_skip(cpi, tile_data, x, rd_cost, bsize, in rd_pick_sb_modes()
2004 vp9_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
2007 vp9_rd_pick_inter_mode_sub8x8(cpi, tile_data, x, mi_row, mi_col, rd_cost, in rd_pick_sb_modes()
2013 if ((rd_cost->rate != INT_MAX) && (aq_mode == COMPLEXITY_AQ) && in rd_pick_sb_modes()
2017 vp9_caq_select_segment(cpi, x, bsize, mi_row, mi_col, rd_cost->rate); in rd_pick_sb_modes()
2022 if (rd_cost->rate == INT_MAX) in rd_pick_sb_modes()
[all …]
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_rd.h128 void vp9_rd_cost_reset(RD_COST *rd_cost);
130 void vp9_rd_cost_init(RD_COST *rd_cost);
Dvp9_rdopt.c2946 void vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost, in vp9_rd_pick_intra_mode_sb() argument
2967 rd_cost->rate = INT_MAX; in vp9_rd_pick_intra_mode_sb()
2974 rd_cost->rate = INT_MAX; in vp9_rd_pick_intra_mode_sb()
2984 rd_cost->rate = rate_y + rate_uv - rate_y_tokenonly - rate_uv_tokenonly + in vp9_rd_pick_intra_mode_sb()
2986 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb()
2988 rd_cost->rate = in vp9_rd_pick_intra_mode_sb()
2990 rd_cost->dist = dist_y + dist_uv; in vp9_rd_pick_intra_mode_sb()
2995 rd_cost->rdcost = RDCOST(x->rdmult, x->rddiv, rd_cost->rate, rd_cost->dist); in vp9_rd_pick_intra_mode_sb()
3149 RD_COST *rd_cost, BLOCK_SIZE bsize, in vp9_rd_pick_inter_mode_sb() argument
3227 rd_cost->rate = INT_MAX; in vp9_rd_pick_inter_mode_sb()
[all …]
Dvp9_pickmode.c1111 void vp9_pick_intra_mode(VP9_COMP *cpi, MACROBLOCK *x, RD_COST *rd_cost, in vp9_pick_intra_mode() argument
1168 *rd_cost = best_rdc; in vp9_pick_intra_mode()
1616 int mi_row, int mi_col, RD_COST *rd_cost, in vp9_pick_inter_mode() argument
1796 vp9_rd_cost_reset(rd_cost); in vp9_pick_inter_mode()
2604 *rd_cost = best_rdc; in vp9_pick_inter_mode()
2608 int mi_col, RD_COST *rd_cost, BLOCK_SIZE bsize, in vp9_pick_inter_mode_sub8x8() argument
2854 rd_cost->rdcost = best_rd; in vp9_pick_inter_mode_sub8x8()
/external/libaom/libaom/av1/encoder/
Drdopt.h109 int mi_row, int mi_col, struct RD_STATS *rd_cost,
123 struct RD_STATS *rd_cost, BLOCK_SIZE bsize,
129 struct RD_STATS *rd_cost, BLOCK_SIZE bsize,
135 struct macroblock *x, int mi_row, int mi_col, struct RD_STATS *rd_cost,
Drdopt.c864 RD_STATS *rd_cost, RD_STATS *rd_cost_y, in inter_modes_info_push() argument
878 inter_modes_info->rd_cost_arr[num] = *rd_cost; in inter_modes_info_push()
4587 int64_t rd_cost[2 * (MAX_ANGLE_DELTA + 2)]; in rd_pick_intra_angle_sby() local
4592 for (int i = 0; i < 2 * (MAX_ANGLE_DELTA + 2); ++i) rd_cost[i] = INT64_MAX; in rd_pick_intra_angle_sby()
4605 rd_cost[2 * angle_delta + i] = this_rd; in rd_pick_intra_angle_sby()
4609 rd_cost[1] = this_rd; in rd_pick_intra_angle_sby()
4620 if (rd_cost[2 * (angle_delta + 1) + i] > rd_thresh && in rd_pick_intra_angle_sby()
4621 rd_cost[2 * (angle_delta - 1) + i] > rd_thresh) in rd_pick_intra_angle_sby()
6273 int64_t this_rd, best_rd_in, rd_cost[2 * (MAX_ANGLE_DELTA + 2)]; in rd_pick_intra_angle_sbuv() local
6278 for (i = 0; i < 2 * (MAX_ANGLE_DELTA + 2); ++i) rd_cost[i] = INT64_MAX; in rd_pick_intra_angle_sbuv()
[all …]
Dencodeframe.c508 RD_STATS *rd_cost, PARTITION_TYPE partition, in pick_sb_modes() argument
530 av1_invalid_rd_stats(rd_cost); in pick_sb_modes()
544 rd_cost->rate = ctx->rate; in pick_sb_modes()
545 rd_cost->dist = ctx->dist; in pick_sb_modes()
546 rd_cost->rdcost = ctx->rdcost; in pick_sb_modes()
643 av1_rd_pick_intra_mode_sb(cpi, x, mi_row, mi_col, rd_cost, bsize, ctx, in pick_sb_modes()
654 rd_cost, bsize, ctx, best_rd); in pick_sb_modes()
659 av1_nonrd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in pick_sb_modes()
662 av1_rd_pick_inter_mode_sb(cpi, tile_data, x, mi_row, mi_col, rd_cost, in pick_sb_modes()
672 if ((rd_cost->rate != INT_MAX) && (aq_mode == COMPLEXITY_AQ) && in pick_sb_modes()
[all …]