/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...] |
/external/libvpx/libvpx/vp9/decoder/ |
vp9_decodemv.c | 87 BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; 154 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 179 mbmi->seg_id_predicted = vpx_read(r, pred_prob); 180 segment_id = mbmi->seg_id_predicted ? predicted_segment_id 207 MB_MODE_INFO *const mbmi = &mi->mbmi; local 210 const BLOCK_SIZE bsize = mbmi->sb_type; 220 mbmi->segment_id = read_intra_segment_id(cm, mi_offset, x_mis, y_mis, r); 221 mbmi->skip = read_skip(cm, xd, mbmi->segment_id, r) 384 MB_MODE_INFO *const mbmi = &mi->mbmi; local 490 MB_MODE_INFO *const mbmi = &mi->mbmi; local 593 MB_MODE_INFO *const mbmi = &mi->mbmi; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
vp9_decodemv.c | 107 const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; 124 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 125 const BLOCK_SIZE bsize = mbmi->sb_type; 138 mbmi->seg_id_predicted = vp9_read(r, pred_prob); 139 segment_id = mbmi->seg_id_predicted ? predicted_segment_id 165 MB_MODE_INFO *const mbmi = &mi->mbmi; local 168 const BLOCK_SIZE bsize = mbmi->sb_type; 171 mbmi->segment_id = read_intra_segment_id(cm, xd, mi_row, mi_col, r) 330 MB_MODE_INFO *const mbmi = &mi->mbmi; local 427 MB_MODE_INFO *const mbmi = &mi->mbmi; local 519 MB_MODE_INFO *const mbmi = &mi->mbmi; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
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...] |
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))
|
pickinter.c | 390 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; 399 if (xd->mode_info_context->mbmi.mode == NEWMV) 401 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - 403 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - 489 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; 490 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; 516 && x->e_mbd.mode_info_context->mbmi.ref_frame != LAST_FRAME) 538 mv_l = mic->mbmi.mv; 540 if (mic->mbmi.ref_frame != INTRA_FRAME) 546 mv_al = mic->mbmi.mv [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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...] |
/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...] |
vp8_loopfilter.c | 210 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 211 mode_info_context->mbmi.mode != SPLITMV && 212 mode_info_context->mbmi.mb_skip_coeff); 214 const int mode_index = lfi_n->mode_lf_lut[mode_info_context->mbmi.mode]; 215 const int seg = mode_info_context->mbmi.segment_id; 216 const int ref_frame = mode_info_context->mbmi.ref_frame; 267 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 268 mode_info_context->mbmi.mode != SPLITMV && 269 mode_info_context->mbmi.mb_skip_coeff); 271 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); 98 if (mi[mb_index].mbmi.mode == B_PRED) 118 fprintf(mvs, "%5d:%-5d", mi[mb_index].mbmi.mv.as_mv.row / 2, mi[mb_index].mbmi.mv.as_mv.col / 2);
|
/external/libvpx/libvpx/vp9/common/ |
vp9_blockd.h | 88 MB_MODE_INFO mbmi; member in struct:MODE_INFO 93 return mi->mbmi.sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode 94 : mi->mbmi.mode; 97 static INLINE int is_inter_block(const MB_MODE_INFO *mbmi) { 98 return mbmi->ref_frame[0] > INTRA_FRAME; 101 static INLINE int has_second_ref(const MB_MODE_INFO *mbmi) { 102 return mbmi->ref_frame[1] > INTRA_FRAME; 215 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 217 if (plane_type != PLANE_TYPE_Y || xd->lossless || is_inter_block(mbmi)) [all...] |
vp9_mvref_common.h | 139 return block_idx >= 0 && candidate->mbmi.sb_type < BLOCK_8X8 142 : candidate->mbmi.mv[which_mv]; 147 static INLINE int_mv scale_mv(const MB_MODE_INFO *mbmi, int ref, 150 int_mv mv = mbmi->mv[ref]; 151 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 175 #define IF_DIFF_REF_FRAME_ADD_MV(mbmi, ref_frame, ref_sign_bias, refmv_count, \ 178 if (is_inter_block(mbmi)) { \ 179 if ((mbmi)->ref_frame[0] != ref_frame) \ 180 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias), \ 182 if (has_second_ref(mbmi) && [all...] |
vp9_debugmodes.c | 21 /* This function dereferences a pointer to the mbmi structure 23 * for each mbmi member value in the mi structure. 38 *((int*) ((char *) (&mi[0]->mbmi) + 67 fprintf(mvs, "%2d ", mi[0]->mbmi.skip); 81 fprintf(mvs, "%4d:%4d ", mi[0]->mbmi.mv[0].as_mv.row, 82 mi[0]->mbmi.mv[0].as_mv.col);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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; 269 int skip_lf = (mode_info_context->mbmi.mode != B_PRED && 270 mode_info_context->mbmi.mode != SPLITMV && 271 mode_info_context->mbmi.mb_skip_coeff); 273 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);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_pickmode.c | 34 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 39 int ref = mbmi->ref_frame[0]; 40 const MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; 81 mvp_full = mbmi->ref_mvs[ref][x->mv_best_ref_index[ref]].as_mv; 138 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 140 int ref = mbmi->ref_frame[0]; 141 MV ref_mv = mbmi->ref_mvs[ref][0].as_mv; 210 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi local [all...] |
vp9_encodemv.c | 232 static void inc_mvs(const MB_MODE_INFO *mbmi, const int_mv mvs[2], 236 for (i = 0; i < 1 + has_second_ref(mbmi); ++i) { 237 const MV *ref = &mbmi->ref_mvs[mbmi->ref_frame[i]][0].as_mv; 246 const MB_MODE_INFO *const mbmi = &mi->mbmi; local 248 if (mbmi->sb_type < BLOCK_8X8) { 249 const int num_4x4_w = num_4x4_blocks_wide_lookup[mbmi->sb_type]; 250 const int num_4x4_h = num_4x4_blocks_high_lookup[mbmi->sb_type]; 257 inc_mvs(mbmi, mi->bmi[i].as_mv, &cm->counts.mv) [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
mr_dissim.c | 34 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 36 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 37 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 42 if(x->mbmi.ref_frame !=INTRA_FRAME) \ 44 mvx[cnt] = x->mbmi.mv.as_mv.row; \ 45 mvy[cnt] = x->mbmi.mv.as_mv.col; \ 46 if (cm->ref_frame_sign_bias[x->mbmi.ref_frame] \ 47 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \ 98 if(tmp->mbmi.ref_frame !=INTRA_FRAME) 197 abs(min_mvx - here->mbmi.mv.as_mv.row) [all...] |
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))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_blockd.h | 143 MB_MODE_INFO mbmi; member in struct:__anon30652 148 return mi->mbmi.sb_type < BLOCK_8X8 ? mi->bmi[block].as_mode 149 : mi->mbmi.mode; 152 static INLINE int is_inter_block(const MB_MODE_INFO *mbmi) { 153 return mbmi->ref_frame[0] > INTRA_FRAME; 156 static INLINE int has_second_ref(const MB_MODE_INFO *mbmi) { 157 return mbmi->ref_frame[1] > INTRA_FRAME; 256 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; 258 if (plane_type != PLANE_TYPE_Y || is_inter_block(mbmi)) [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);
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_encodemv.c | 233 static void inc_mvs(const MB_MODE_INFO *mbmi, const MB_MODE_INFO_EXT *mbmi_ext, 238 for (i = 0; i < 1 + has_second_ref(mbmi); ++i) { 239 const MV *ref = &mbmi_ext->ref_mvs[mbmi->ref_frame[i]][0].as_mv; 249 const MB_MODE_INFO *const mbmi = &mi->mbmi; local 252 if (mbmi->sb_type < BLOCK_8X8) { 253 const int num_4x4_w = num_4x4_blocks_wide_lookup[mbmi->sb_type]; 254 const int num_4x4_h = num_4x4_blocks_high_lookup[mbmi->sb_type]; 261 inc_mvs(mbmi, mbmi_ext, mi->bmi[i].as_mv, &td->counts->mv); 265 if (mbmi->mode == NEWMV [all...] |
vp9_rdopt.c | 168 const int ref = xd->mi[0]->mbmi.ref_frame[0]; 364 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 371 x->token_costs[tx_size][type][is_inter_block(mbmi)]; 382 assert(type == PLANE_TYPE_Y ? mbmi->tx_size == tx_size : 383 get_uv_tx_size(mbmi, &xd->plane[plane]) == tx_size); 464 if (x->skip_encode && !is_inter_block(&xd->mi[0]->mbmi)) { 494 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 503 if (!is_inter_block(mbmi)) { 621 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 640 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1133 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1271 const MB_MODE_INFO *const mbmi = &mic->mbmi; local 1470 MB_MODE_INFO *const mbmi = &x->e_mbd.mi[0]->mbmi; local 1486 MB_MODE_INFO *mbmi = &x->e_mbd.mi[0]->mbmi; local 1544 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 1733 MB_MODE_INFO *mbmi = &mi->mbmi; local 2229 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 2401 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 2955 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 3632 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 3735 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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);
|