/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodeintra.c | 19 MB_MODE_INFO * mbmi = &x->e_mbd.mi_8x8[0]->mbmi; local 21 mbmi->mode = DC_PRED; 22 mbmi->ref_frame[0] = INTRA_FRAME; 23 mbmi->tx_size = use_16x16_pred ? (mbmi->sb_type >= BLOCK_16X16 ? TX_16X16 26 vp9_encode_intra_block_y(x, mbmi->sb_type);
|
vp9_rdopt.c | 494 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 500 const int ref = mbmi->ref_frame[0] != INTRA_FRAME; 509 assert(type == PLANE_TYPE_Y_WITH_DC ? mbmi->tx_size == tx_size 510 : get_uv_tx_size(mbmi) == tx_size); 572 xd->mi_8x8[0]->mbmi.ref_frame[0] == INTRA_FRAME) { 604 if (!is_inter_block(&xd->mi_8x8[0]->mbmi)) 690 xd->mi_8x8[0]->mbmi.tx_size = tx_size; 722 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 741 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 844 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 937 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 1295 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 1474 MB_MODE_INFO *mbmi = &mic->mbmi; local 1650 MB_MODE_INFO *const mbmi = &x->e_mbd.mi_8x8[0]->mbmi; local 1666 MB_MODE_INFO *mbmi = &x->e_mbd.mi_8x8[0]->mbmi; local 1682 MB_MODE_INFO *const mbmi = &mi->mbmi; local 2088 MB_MODE_INFO *mbmi = &mi->mbmi; local 2134 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 2310 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 2354 const MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 2367 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 2507 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 2657 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 3148 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 3850 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local [all...] |
vp9_tokenize.c | 105 MB_MODE_INFO *mbmi = &xd->mi_8x8[0]->mbmi; local 113 const int segment_id = mbmi->segment_id; 117 const int ref = is_inter_block(mbmi); 196 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 199 const int skip_inc = !vp9_segfeature_active(&cm->seg, mbmi->segment_id, 201 struct tokenize_b_args arg = {cpi, xd, t, mbmi->tx_size, cpi->mb.token_cache}; 203 mbmi->skip_coeff = vp9_sb_is_skippable(xd, bsize); 204 if (mbmi->skip_coeff) [all...] |
vp9_encodeframe.c | 373 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 382 assert(mi->mbmi.mode < MB_MODE_COUNT); 383 assert(mi->mbmi.ref_frame[0] < MAX_REF_FRAMES); 384 assert(mi->mbmi.ref_frame[1] < MAX_REF_FRAMES); 385 assert(mi->mbmi.sb_type == bsize); 389 max_plane = is_inter_block(mbmi) ? MAX_MB_PLANE : 1; 424 if (is_inter_block(mbmi) && mbmi->sb_type < BLOCK_8X8) { 425 mbmi->mv[0].as_int = mi->bmi[3].as_mv[0].as_int 510 MB_MODE_INFO *mbmi; local 687 MB_MODE_INFO *const mbmi = &mi->mbmi; local 2086 MB_MODE_INFO * const mbmi = &mi_8x8[0]->mbmi; local 2413 MB_MODE_INFO *mbmi = &mi->mbmi; local [all...] |
/external/libvpx/libvpx/vp8/decoder/ |
decodemv.c | 54 mi->mbmi.ref_frame = INTRA_FRAME; 55 mi->mbmi.mode = read_kf_ymode(bc, vp8_kf_ymode_prob); 57 if (mi->mbmi.mode == B_PRED) 60 mi->mbmi.is_4x4 = 1; 73 mi->mbmi.uv_mode = read_uv_mode(bc, vp8_kf_uv_mode_prob); 232 MB_MODE_INFO *mbmi, int_mv best_mv, 267 if(left_mb->mbmi.mode != SPLITMV) 268 leftmv.as_int = left_mb->mbmi.mv.as_int; 278 if(above_mb->mbmi.mode != SPLITMV) 279 abovemv.as_int = above_mb->mbmi.mv.as_int [all...] |
error_concealment.c | 290 MV * const filtered_mv = &(mi->mbmi.mv.as_mv); 294 mi->mbmi.need_to_clamp_mvs = 0; 307 mi->mbmi.need_to_clamp_mvs |= vp8_check_mv_bounds( 364 if (prev_mi->mbmi.ref_frame == LAST_FRAME) 391 mi->mbmi.ref_frame = LAST_FRAME; 392 mi->mbmi.mode = SPLITMV; 393 mi->mbmi.uv_mode = DC_PRED; 394 mi->mbmi.partitioning = 3; 395 mi->mbmi.segment_id = 0; 420 assert(mi->mbmi.ref_frame < MAX_REF_FRAMES) [all...] |
/external/libvpx/libvpx/vp9/common/ |
vp9_findnearmv.h | 47 if (!left_mi || is_inter_block(&left_mi->mbmi)) 50 return left_mi->mbmi.sb_type < BLOCK_8X8 ? left_mi->bmi[b + 1].as_mode 51 : left_mi->mbmi.mode; 61 if (!above_mi || is_inter_block(&above_mi->mbmi)) 64 return above_mi->mbmi.sb_type < BLOCK_8X8 ? above_mi->bmi[b + 2].as_mode 65 : above_mi->mbmi.mode;
|
vp9_mvref_common.c | 124 return block_idx >= 0 && candidate->mbmi.sb_type < BLOCK_8X8 127 : candidate->mbmi.mv[which_mv]; 132 static INLINE int_mv scale_mv(const MB_MODE_INFO *mbmi, int ref, 135 int_mv mv = mbmi->mv[ref]; 136 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 193 const MV *const mv_ref_search = mv_ref_blocks[mi->mbmi.sb_type]; 194 const MB_MODE_INFO *const prev_mbmi = prev_mi ? &prev_mi->mbmi : NULL; 209 const MB_MODE_INFO *const candidate = &candidate_mi->mbmi; 236 * xd->mode_info_stride]->mbmi; 266 * xd->mode_info_stride]->mbmi; [all...] |
vp9_blockd.h | 144 MB_MODE_INFO mbmi; member in struct:__anon21262 148 static INLINE int is_inter_block(const MB_MODE_INFO *mbmi) { 149 return mbmi->ref_frame[0] > INTRA_FRAME; 152 static INLINE int has_second_ref(const MB_MODE_INFO *mbmi) { 153 return mbmi->ref_frame[1] > INTRA_FRAME; 239 const MB_MODE_INFO *const mbmi = &mi->mbmi; 243 is_inter_block(mbmi)) 246 return mode2txfm_map[mbmi->sb_type < BLOCK_8X8 ? 247 mi->bmi[ib].as_mode : mbmi->mode] [all...] |
vp9_debugmodes.c | 21 /* This function dereferences a pointer to the mbmi structure 23 * for each mbmi member value in the mi structure. 41 *((int*) ((char *) (&mi_8x8[mi_index]->mbmi) + 70 fprintf(mvs, "%4d:%4d ", mi_8x8[mi_index]->mbmi.mv[0].as_mv.row, 71 mi_8x8[mi_index]->mbmi.mv[0].as_mv.col);
|
vp9_pred_common.h | 32 above_mi->mbmi.seg_id_predicted : 0; 33 const int left_sip = (left_mi != NULL) ? left_mi->mbmi.seg_id_predicted : 0; 49 above_mi->mbmi.skip_coeff : 0; 50 const int left_skip_coeff = (left_mi != NULL) ? left_mi->mbmi.skip_coeff : 0; 61 return xd->mi_8x8[0]->mbmi.skip_coeff;
|
vp9_reconinter.c | 27 MB_MODE_INFO *const mbmi = &xd->mi_8x8[0]->mbmi; local 29 set_scale_factors(xd, mbmi->ref_frame[0] - LAST_FRAME, 30 mbmi->ref_frame[1] - LAST_FRAME, 134 const int is_compound = has_second_ref(&mi->mbmi); 139 assert(mi->mbmi.sb_type < BLOCK_8X8 || 4 << pred_w == bw); 140 assert(mi->mbmi.sb_type < BLOCK_8X8 || 4 << pred_h == bh); 152 const MV mv = mi->mbmi.sb_type < BLOCK_8X8 155 : mi->mbmi.mv[ref].as_mv; 200 if (xd->mi_8x8[0]->mbmi.sb_type < BLOCK_8X8) [all...] |
/external/libvpx/libvpx/vp8/common/ |
findnearmv.c | 49 if (above->mbmi.ref_frame != INTRA_FRAME) 51 if (above->mbmi.mv.as_int) 53 (++mv)->as_int = above->mbmi.mv.as_int; 54 mv_bias(ref_frame_sign_bias[above->mbmi.ref_frame], refframe, mv, ref_frame_sign_bias); 62 if (left->mbmi.ref_frame != INTRA_FRAME) 64 if (left->mbmi.mv.as_int) 68 this_mv.as_int = left->mbmi.mv.as_int; 69 mv_bias(ref_frame_sign_bias[left->mbmi.ref_frame], refframe, &this_mv, ref_frame_sign_bias); 84 if (aboveleft->mbmi.ref_frame != INTRA_FRAME) 86 if (aboveleft->mbmi.mv.as_int [all...] |
loopfilter.c | 212 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 213 mode_info_context->mbmi.mode != SPLITMV && 214 mode_info_context->mbmi.mb_skip_coeff); 216 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; 217 const int seg = mode_info_context->mbmi.segment_id; 218 const int ref_frame = mode_info_context->mbmi.ref_frame; 268 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 269 mode_info_context->mbmi.mode != SPLITMV && 270 mode_info_context->mbmi.mb_skip_coeff); 272 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode] [all...] |
debugmodes.c | 33 fprintf(mvs, "%2d ", mi[mb_index].mbmi.mode); 52 fprintf(mvs, "%2d ", mi[mb_index].mbmi.ref_frame); 72 fprintf(mvs, "%2d ", mi[mb_index].mbmi.uv_mode); 99 if (mi[mb_index].mbmi.mode == B_PRED) 119 fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2);
|
findnearmv.h | 107 if(cur_mb->mbmi.mode != SPLITMV) 108 return cur_mb->mbmi.mv.as_int; 122 if(cur_mb->mbmi.mode != SPLITMV) 123 return cur_mb->mbmi.mv.as_int; 135 switch (cur_mb->mbmi.mode) 162 switch (cur_mb->mbmi.mode)
|
/external/libvpx/libvpx/vp8/encoder/ |
segmentation.c | 43 if ((this_mb_mode_info->mbmi.ref_frame == GOLDEN_FRAME) || (this_mb_mode_info->mbmi.ref_frame == ALTREF_FRAME)) 51 else if ((this_mb_mode_info->mbmi.mode != ZEROMV) && *(x->gf_active_ptr))
|
mr_dissim.c | 32 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 34 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 35 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 40 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 42 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 43 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 44 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] \ 45 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \ 96 if(tmp->mbmi.ref_frame !=INTRA_FRAME) 194 mmvx = MAX(abs(min_mvx - here->mbmi.mv.as_mv.row) [all...] |
denoising.c | 208 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; local 211 saved_mbmi = *mbmi; 214 mbmi->ref_frame = x->best_reference_frame; 215 mbmi->mode = x->best_sse_inter_mode; 216 mbmi->mv = x->best_sse_mv; 217 mbmi->need_to_clamp_mvs = x->need_to_clamp_best_mvs; 234 mbmi->ref_frame = 239 mbmi->mode = ZEROMV; 240 mbmi->mv.as_int = 0 [all...] |
pickinter.c | 388 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; 397 if (xd->mode_info_context->mbmi.mode == NEWMV) 399 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - 401 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - 487 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; 488 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; 514 && x->e_mbd.mode_info_context->mbmi.ref_frame != LAST_FRAME) 536 mv_l = mic->mbmi.mv; 538 if (mic->mbmi.ref_frame != INTRA_FRAME) 544 mv_al = mic->mbmi.mv [all...] |
rdopt.c | 479 int mv_row = x->e_mbd.mode_info_context->mbmi.mv.as_mv.row; 480 int mv_col = x->e_mbd.mode_info_context->mbmi.mv.as_mv.col; 789 xd->mode_info_context->mbmi.mode = mode; 800 [xd->mode_info_context->mbmi.mode]; 814 xd->mode_info_context->mbmi.mode = mode_selected; 891 xd->mode_info_context->mbmi.uv_mode = mode; 910 this_rate = rate_to + x->intra_uv_mode_cost[xd->frame_type][xd->mode_info_context->mbmi.uv_mode]; 929 xd->mode_info_context->mbmi.uv_mode = mode_selected; 943 x->e_mbd.mode_info_context->mbmi.mode = mb; 944 x->e_mbd.mode_info_context->mbmi.mv.as_int = mv->as_int [all...] |
encodeframe.c | 484 /* Code to set segment id in xd->mbmi.segment_id for current MB 488 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; 490 xd->mode_info_context->mbmi.segment_id = 0; 496 xd->mode_info_context->mbmi.segment_id = 0; 504 y_modes[xd->mbmi.mode] ++; 512 inter_y_modes[xd->mbmi.mode] ++; 514 if (xd->mbmi.mode == SPLITMV) 518 for (b = 0; b < xd->mbmi.partition_count; b++) 527 * If cyclic update enabled then copy xd->mbmi.segment_id; (which 536 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id [all...] |
/external/libvpx/libvpx/vp8/encoder/arm/ |
quantize_arm.c | 29 int has_2nd_order = (x->e_mbd.mode_info_context->mbmi.mode != B_PRED 30 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV); 43 int has_2nd_order=(x->e_mbd.mode_info_context->mbmi.mode != B_PRED 44 && x->e_mbd.mode_info_context->mbmi.mode != SPLITMV);
|
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 109 const BLOCK_SIZE bsize = xd->mi_8x8[0]->mbmi.sb_type; 126 const BLOCK_SIZE bsize = xd->mi_8x8[0]->mbmi.sb_type; 167 MB_MODE_INFO *const mbmi = &m->mbmi; local 168 const BLOCK_SIZE bsize = mbmi->sb_type; 172 mbmi->segment_id = read_intra_segment_id(cm, xd, mi_row, mi_col, r); 173 mbmi->skip_coeff = read_skip_coeff(cm, xd, mbmi->segment_id, r); 174 mbmi->tx_size = read_tx_size(cm, xd, cm->tx_mode, bsize, 1, r); 175 mbmi->ref_frame[0] = INTRA_FRAME 330 MB_MODE_INFO *const mbmi = &mi->mbmi; local 424 MB_MODE_INFO *const mbmi = &mi->mbmi; local 534 MB_MODE_INFO *const mbmi = &mi->mbmi; local [all...] |
/external/libvpx/libvpx/vp8/common/arm/ |
reconintra_arm.c | 31 int mode = x->mode_info_context->mbmi.mode; 51 int mode = x->mode_info_context->mbmi.mode;
|