/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 215 MB_PREDICTION_MODE this_mode, best_mode = ZEROMV; local 297 for (this_mode = NEARESTMV; this_mode <= NEWMV; ++this_mode) { 301 (1 << INTER_OFFSET(this_mode))) 304 if (best_rd < ((int64_t)rd_threshes[mode_idx[this_mode]] * 305 rd_thresh_freq_fact[this_mode] >> 5) || 306 rd_threshes[mode_idx[this_mode]] == INT_MAX) 309 if (this_mode == NEWMV) { 321 [INTER_OFFSET(this_mode)]; [all...] |
H A D | vp9_rdopt.c | 1678 int disable_inter_mode_mask, int this_mode, int ref_frame, 1681 (this_mode == NEARMV || this_mode == NEARESTMV || this_mode == ZEROMV) && 1682 frame_mv[this_mode][ref_frame].as_int == 0 && 1684 frame_mv[this_mode][second_ref_frame].as_int == 0)) { 1690 if (this_mode == NEARMV) { 1692 } else if (this_mode == NEARESTMV) { 1695 assert(this_mode == ZEROMV); 1719 MB_PREDICTION_MODE this_mode; local 1675 check_best_zero_mv( const VP9_COMP *cpi, const uint8_t mode_context[MAX_REF_FRAMES], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int disable_inter_mode_mask, int this_mode, int ref_frame, int second_ref_frame) argument 2707 const int this_mode = mbmi->mode; local 3133 MB_PREDICTION_MODE this_mode; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_pickmode.c | 275 PREDICTION_MODE this_mode, 342 [INTER_OFFSET(this_mode)]; 497 PREDICTION_MODE this_mode; local 541 for (this_mode = NEARESTMV; this_mode <= NEWMV; ++this_mode) { 546 (this_mode == NEARMV || this_mode == ZEROMV)) 549 if (!(cpi->sf.inter_mode_mask[bsize] & (1 << this_mode))) 554 LAST_FRAME][INTER_OFFSET(this_mode)]]; 272 encode_breakout_test(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bsize, int mi_row, int mi_col, MV_REFERENCE_FRAME ref_frame, PREDICTION_MODE this_mode, unsigned int var_y, unsigned int sse_y, struct buf_2d yv12_mb[][MAX_MB_PLANE], int *rate, int64_t *dist) argument 722 PREDICTION_MODE this_mode; local [all...] |
H A D | vp9_rdopt.c | 1234 int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int this_mode, 1236 if ((this_mode == NEARMV || this_mode == NEARESTMV || this_mode == ZEROMV) && 1237 frame_mv[this_mode][ref_frames[0]].as_int == 0 && 1239 frame_mv[this_mode][ref_frames[1]].as_int == 0)) { 1245 if (this_mode == NEARMV) { 1247 } else if (this_mode == NEARESTMV) { 1250 assert(this_mode == ZEROMV); 1287 PREDICTION_MODE this_mode; local 1232 check_best_zero_mv( const VP9_COMP *cpi, const uint8_t mode_context[MAX_REF_FRAMES], int_mv frame_mv[MB_MODE_COUNT][MAX_REF_FRAMES], int this_mode, const MV_REFERENCE_FRAME ref_frames[2]) argument 2145 const int this_mode = mbmi->mode; local 2557 PREDICTION_MODE this_mode; local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
H A D | pickinter.c | 487 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 500 if((this_mode != NEWMV) || 509 if(this_mode == ZEROMV) 580 MB_PREDICTION_MODE this_mode; local 778 this_mode = vp8_mode_order[mode_index]; 780 x->e_mbd.mode_info_context->mbmi.mode = this_mode; 793 if (this_mode != ZEROMV || 798 switch (this_mode) 1044 if (mode_mv[this_mode].as_int == 0) 1054 if (((mode_mv[this_mode] [all...] |
H A D | rdopt.c | 947 B_PREDICTION_MODE this_mode, 984 switch (m = this_mode) 1106 B_PREDICTION_MODE this_mode; local 1161 for (this_mode = LEFT4X4; this_mode <= NEW4X4 ; this_mode ++) 1176 if (this_mode == NEW4X4) 1302 rate = labels2mode(x, labels, i, this_mode, &mode_mv[this_mode], 1306 if (((mode_mv[this_mode] 944 labels2mode( MACROBLOCK *x, int const *labelings, int which_label, B_PREDICTION_MODE this_mode, int_mv *this_mv, int_mv *best_ref_mv, int *mvcost[2] ) argument 1763 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1839 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1914 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1948 MB_PREDICTION_MODE this_mode; local [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/encoder/ |
H A D | pickinter.c | 487 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 501 if((this_mode != NEWMV) || 517 if (this_mode == ZEROMV && 583 MB_PREDICTION_MODE this_mode; local 788 this_mode = vp8_mode_order[mode_index]; 790 x->e_mbd.mode_info_context->mbmi.mode = this_mode; 803 if (this_mode != ZEROMV || 808 switch (this_mode) 1054 if (mode_mv[this_mode].as_int == 0) 1064 if (((mode_mv[this_mode] [all...] |
H A D | rdopt.c | 946 B_PREDICTION_MODE this_mode, 983 switch (m = this_mode) 1105 B_PREDICTION_MODE this_mode; local 1160 for (this_mode = LEFT4X4; this_mode <= NEW4X4 ; this_mode ++) 1175 if (this_mode == NEW4X4) 1301 rate = labels2mode(x, labels, i, this_mode, &mode_mv[this_mode], 1305 if (((mode_mv[this_mode] 943 labels2mode( MACROBLOCK *x, int const *labelings, int which_label, B_PREDICTION_MODE this_mode, int_mv *this_mv, int_mv *best_ref_mv, int *mvcost[2] ) argument 1762 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1838 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1913 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; local 1948 MB_PREDICTION_MODE this_mode; local [all...] |