Searched defs:best_rd (Results 1 - 11 of 11) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
H A Dvp9_pickmode.c222 int64_t best_rd = INT64_MAX; local
304 if (best_rd < ((int64_t)rd_threshes[mode_idx[this_mode]] *
322 if (RDCOST(x->rdmult, x->rddiv, rate_mv + rate_mode, 0) > best_rd)
398 if (this_rd < best_rd) {
399 best_rd = this_rd;
417 if (best_rd > inter_mode_thresh) {
429 if (this_rd + intra_mode_cost < best_rd) {
430 best_rd = this_rd;
H A Dvp9_encodeframe.c973 int64_t best_rd) {
1063 best_rd);
1067 totalrate, totaldist, bsize, ctx, best_rd);
1070 totaldist, bsize, ctx, best_rd);
2166 int64_t *dist, int do_recon, int64_t best_rd) {
2250 ctx, best_rd);
2257 if (sum_rd < best_rd) {
2263 best_rd = sum_rd;
2274 if (!x->e_mbd.lossless && best_rd < stop_thresh_rd) {
2297 for (i = 0; i < 4 && sum_rd < best_rd;
969 rd_pick_sb_modes(VP9_COMP *cpi, const TileInfo *const tile, int mi_row, int mi_col, int *totalrate, int64_t *totaldist, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, int64_t best_rd) argument
2163 rd_pick_partition(VP9_COMP *cpi, const TileInfo *const tile, TOKENEXTRA **tp, int mi_row, int mi_col, BLOCK_SIZE bsize, int *rate, int64_t *dist, int do_recon, int64_t best_rd) argument
2799 nonrd_pick_partition(VP9_COMP *cpi, const TileInfo *const tile, TOKENEXTRA **tp, int mi_row, int mi_col, BLOCK_SIZE bsize, int *rate, int64_t *dist, int do_recon, int64_t best_rd) argument
[all...]
H A Dvp9_rdopt.c78 int64_t best_rd; member in struct:rdcost_block_args
693 if (args->this_rd > args->best_rd) {
748 args.best_rd = ref_best_rd;
810 int64_t best_rd = INT64_MAX; local
837 if (rd[n][1] < best_rd) {
839 best_rd = rd[n][1];
894 int64_t best_rd = INT64_MAX; local
920 if (rd[n][1] < best_rd) {
921 best_rd = rd[n][1];
1051 int64_t best_rd local
1169 rd_pick_intra_sub_8x8_y_mode(VP9_COMP *cpi, MACROBLOCK *mb, int *rate, int *rate_y, int64_t *distortion, int64_t best_rd) argument
1236 rd_pick_intra_sby_mode(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize, int64_t tx_cache[TX_MODES], int64_t best_rd) argument
1363 int64_t best_rd = INT64_MAX, this_rd; local
1758 int64_t best_rd = INT64_MAX; local
2084 rd_pick_best_mbsegmentation(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo *const tile, int_mv *best_ref_mv, int_mv *second_best_ref_mv, int64_t best_rd, int *returntotrate, int *returnyrate, int64_t *returndistortion, int *skippable, int64_t *psse, int mvthresh, int_mv seg_mvs[4][MAX_REF_FRAMES], BEST_SEG_INFO *bsi_buf, int filter_idx, int mi_row, int mi_col) argument
2717 int64_t rd, best_rd = INT64_MAX; local
3064 vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, int *returnrate, int64_t *returndist, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, int64_t best_rd) argument
3142 int64_t best_rd = best_rd_so_far; local
3771 int64_t best_rd = best_rd_so_far; local
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_rd.h150 static INLINE int rd_less_than_thresh(int64_t best_rd, int thresh, argument
152 return best_rd < ((int64_t)thresh * thresh_fact >> 5) || thresh == INT_MAX;
H A Dvp9_pickmode.c433 int64_t best_rd = INT64_MAX; local
555 if (rd_less_than_thresh(best_rd, mode_rd_thresh,
564 &rate_mv, best_rd))
672 if (this_rd < best_rd || x->skip) {
673 best_rd = this_rd;
697 if (best_rd < INT64_MAX)
720 if (!x->skip && best_rd > inter_mode_thresh &&
748 if (this_rd + intra_mode_cost < best_rd) {
749 best_rd = this_rd;
H A Dvp9_encodeframe.c690 int64_t best_rd, int block) {
778 best_rd);
783 ctx, best_rd);
786 totalrate, totaldist, bsize, ctx, best_rd);
789 totaldist, bsize, ctx, best_rd);
2027 int64_t *dist, int64_t best_rd,
2161 ctx, best_rd, 0);
2169 if (sum_rd < best_rd) {
2175 best_rd = sum_rd;
2261 pc_tree->leaf_split[0], best_rd,
686 rd_pick_sb_modes(VP9_COMP *cpi, const TileInfo *const tile, int mi_row, int mi_col, int *totalrate, int64_t *totaldist, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, int64_t best_rd, int block) argument
2024 rd_pick_partition(VP9_COMP *cpi, const TileInfo *const tile, TOKENEXTRA **tp, int mi_row, int mi_col, BLOCK_SIZE bsize, int *rate, int64_t *dist, int64_t best_rd, PC_TREE *pc_tree) argument
2707 nonrd_pick_partition(VP9_COMP *cpi, const TileInfo *const tile, TOKENEXTRA **tp, int mi_row, int mi_col, BLOCK_SIZE bsize, int *rate, int64_t *dist, int do_recon, int64_t best_rd, PC_TREE *pc_tree) argument
[all...]
H A Dvp9_rdopt.c75 int64_t best_rd; member in struct:rdcost_block_args
445 if (args->this_rd > args->best_rd) {
462 args.best_rd = ref_best_rd;
527 int64_t best_rd = INT64_MAX; local
564 if (rd[n][1] < best_rd) {
566 best_rd = rd[n][1];
645 int64_t best_rd = rd_thresh; local
711 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd)
726 if (RDCOST(x->rdmult, x->rddiv, ratey, distortion) >= best_rd)
737 if (this_rd < best_rd) {
763 rd_pick_intra_sub_8x8_y_mode(VP9_COMP *cpi, MACROBLOCK *mb, int *rate, int *rate_y, int64_t *distortion, int64_t best_rd) argument
830 rd_pick_intra_sby_mode(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int *rate_tokenonly, int64_t *distortion, int *skippable, BLOCK_SIZE bsize, int64_t tx_cache[TX_MODES], int64_t best_rd) argument
954 int64_t best_rd = INT64_MAX, this_rd; local
1267 rd_pick_best_sub8x8_mode(VP9_COMP *cpi, MACROBLOCK *x, const TileInfo * const tile, int_mv *best_ref_mv, int_mv *second_best_ref_mv, int64_t best_rd, int *returntotrate, int *returnyrate, int64_t *returndistortion, int *skippable, int64_t *psse, int mvthresh, int_mv seg_mvs[4][MAX_REF_FRAMES], BEST_SEG_INFO *bsi_buf, int filter_idx, int mi_row, int mi_col) argument
1331 int64_t best_rd = INT64_MAX; local
2155 int64_t rd, tmp_rd, best_rd = INT64_MAX; local
2458 vp9_rd_pick_intra_mode_sb(VP9_COMP *cpi, MACROBLOCK *x, int *returnrate, int64_t *returndist, BLOCK_SIZE bsize, PICK_MODE_CONTEXT *ctx, int64_t best_rd) argument
2568 int64_t best_rd = best_rd_so_far; local
3325 int64_t best_rd = best_rd_so_far; local
[all...]
/external/libvpx/libvpx/vp8/encoder/
H A Dpickinter.c146 int best_rd = INT_MAX; local
165 if (this_rd < best_rd)
169 best_rd = this_rd;
176 return best_rd;
583 int best_rd = INT_MAX; local
705 if (best_rd <= x->rd_threshes[mode_index])
1098 if (this_rd < best_rd || x->skip)
1106 best_rd = this_rd;
1205 if (this_rd < best_rd)
H A Drdopt.c643 int best_rd = INT_MAX; local
685 if (this_rd < best_rd)
690 best_rd = this_rd;
702 return best_rd;
706 int *rate_y, int *Distortion, int best_rd)
755 if(total_rd >= (int64_t)best_rd)
759 if(total_rd >= (int64_t)best_rd)
779 int best_rd = INT_MAX; local
801 if (this_rd < best_rd)
804 best_rd
705 rd_pick_intra4x4mby_modes(MACROBLOCK *mb, int *Rate, int *rate_y, int *Distortion, int best_rd) argument
877 int best_rd = INT_MAX; local
1381 vp8_rd_pick_best_mbsegmentation(VP8_COMP *cpi, MACROBLOCK *x, int_mv *best_ref_mv, int best_rd, int *mdcounts, int *returntotrate, int *returnyrate, int *returndistortion, int mvthresh) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/
H A Dpickinter.c146 int best_rd = INT_MAX; local
165 if (this_rd < best_rd)
169 best_rd = this_rd;
176 return best_rd;
586 int best_rd = INT_MAX; local
715 if (best_rd <= x->rd_threshes[mode_index])
1108 if (this_rd < best_rd || x->skip)
1116 best_rd = this_rd;
1218 if (this_rd < best_rd)
H A Drdopt.c642 int best_rd = INT_MAX; local
684 if (this_rd < best_rd)
689 best_rd = this_rd;
701 return best_rd;
705 int *rate_y, int *Distortion, int best_rd)
754 if(total_rd >= (int64_t)best_rd)
758 if(total_rd >= (int64_t)best_rd)
778 int best_rd = INT_MAX; local
800 if (this_rd < best_rd)
803 best_rd
704 rd_pick_intra4x4mby_modes(MACROBLOCK *mb, int *Rate, int *rate_y, int *Distortion, int best_rd) argument
876 int best_rd = INT_MAX; local
1380 vp8_rd_pick_best_mbsegmentation(VP8_COMP *cpi, MACROBLOCK *x, int_mv *best_ref_mv, int best_rd, int *mdcounts, int *returntotrate, int *returnyrate, int *returndistortion, int mvthresh) argument
[all...]

Completed in 6560 milliseconds