/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
denoising.c | 209 MB_MODE_INFO *mbmi = &filter_xd->mode_info_context->mbmi; local 212 saved_mbmi = *mbmi; 215 mbmi->ref_frame = x->best_reference_frame; 216 mbmi->mode = x->best_sse_inter_mode; 217 mbmi->mv = x->best_sse_mv; 218 mbmi->need_to_clamp_mvs = x->need_to_clamp_best_mvs; 235 mbmi->ref_frame = 240 mbmi->mode = ZEROMV; 241 mbmi->mv.as_int = 0 [all...] |
encodeframe.c | 485 /* Code to set segment id in xd->mbmi.segment_id for current MB 489 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; 491 xd->mode_info_context->mbmi.segment_id = 0; 497 xd->mode_info_context->mbmi.segment_id = 0; 505 y_modes[xd->mbmi.mode] ++; 513 inter_y_modes[xd->mbmi.mode] ++; 515 if (xd->mbmi.mode == SPLITMV) 519 for (b = 0; b < xd->mbmi.partition_count; b++) 528 * If cyclic update enabled then copy xd->mbmi.segment_id; (which 537 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id [all...] |
encodeintra.c | 30 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; 31 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; 32 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME;
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_pickmode.c | 52 const POSITION *const mv_ref_search = mv_ref_blocks[mi->mbmi.sb_type]; 69 const MB_MODE_INFO *const candidate = &candidate_mi->mbmi; 89 xd->mi_stride]->mbmi; 105 * xd->mi_stride]->mbmi; 130 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 135 const int ref = mbmi->ref_frame[0]; 303 cyclic_refresh_segment_id_boosted(xd->mi[0]->mbmi.segment_id)) 313 xd->mi[0]->mbmi.tx_size = tx_size; 382 const TX_SIZE uv_tx_size = get_uv_tx_size(&xd->mi[0]->mbmi, pd) 978 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1081 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1680 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local [all...] |
vp9_aq_cyclicrefresh.c | 88 const MB_MODE_INFO *mbmi, 92 MV mv = mbmi->mv[0].as_mv; 101 !is_inter_block(mbmi))) 105 is_inter_block(mbmi) && 106 mbmi->mv[0].as_int == 0 && 189 MB_MODE_INFO *const mbmi, 202 const int refresh_this_block = candidate_refresh_aq(cr, mbmi, rate, dist, 210 if (cyclic_refresh_segment_id_boosted(mbmi->segment_id)) { 211 mbmi->segment_id = refresh_this_block; 214 mbmi->segment_id = CR_SEGMENT_ID_BASE [all...] |
vp9_encodeframe.c | 189 MB_MODE_INFO *mbmi; local 198 mbmi = &xd->mi[0]->mbmi; 227 mbmi->segment_id = get_segment_id(cm, map, bsize, mi_row, mi_col); 231 x->encode_breakout = cpi->segment_encode_breakout[mbmi->segment_id]; 233 mbmi->segment_id = 0; 261 xd->mi[0]->mbmi.sb_type = bsize; 704 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 735 mbmi->ref_frame[0] = LAST_FRAME 978 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1124 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1172 MB_MODE_INFO *mbmi; local 1285 const MB_MODE_INFO *const mbmi = &mi->mbmi; local 1672 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 2941 MB_MODE_INFO *mbmi; local 4154 MB_MODE_INFO *mbmi = &mi->mbmi; local [all...] |
vp9_bitstream.c | 82 TX_SIZE tx_size = xd->mi[0]->mbmi.tx_size; 83 BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type; 100 const int skip = mi->mbmi.skip; 203 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 204 const int is_compound = has_second_ref(mbmi); 205 const int segment_id = mbmi->segment_id; 211 assert(mbmi->ref_frame[0] == 223 vpx_write(w, mbmi->ref_frame[0] == GOLDEN_FRAME, 226 const int bit0 = mbmi->ref_frame[0] != LAST_FRAME 243 const MB_MODE_INFO *const mbmi = &mi->mbmi; local 346 const MB_MODE_INFO *const mbmi = &mi->mbmi; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
vp9_mvref_common.c | 129 return block_idx >= 0 && candidate->mbmi.sb_type < BLOCK_8X8 132 : candidate->mbmi.mv[which_mv]; 137 static INLINE int_mv scale_mv(const MB_MODE_INFO *mbmi, int ref, 140 int_mv mv = mbmi->mv[ref]; 141 if (ref_sign_bias[mbmi->ref_frame[ref]] != ref_sign_bias[this_ref_frame]) { 165 #define IF_DIFF_REF_FRAME_ADD_MV(mbmi) \ 167 if (is_inter_block(mbmi)) { \ 168 if ((mbmi)->ref_frame[0] != ref_frame) \ 169 ADD_MV_REF_LIST(scale_mv((mbmi), 0, ref_frame, ref_sign_bias)); \ 170 if (has_second_ref(mbmi) && [all...] |
vp9_pred_common.h | 36 above_mi->mbmi.seg_id_predicted : 0; 37 const int left_sip = (left_mi != NULL) ? left_mi->mbmi.seg_id_predicted : 0; 50 const int above_skip = (above_mi != NULL) ? above_mi->mbmi.skip : 0; 51 const int left_skip = (left_mi != NULL) ? left_mi->mbmi.skip : 0;
|
vp9_blockd.c | 16 if (!left_mi || is_inter_block(&left_mi->mbmi)) 29 if (!above_mi || is_inter_block(&above_mi->mbmi)) 43 const MB_MODE_INFO* mbmi = &xd->mi[0]->mbmi; local 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) 48 : mbmi->tx_size;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/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;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_rdopt.c | 435 const int ref = xd->mi[0]->mbmi.ref_frame[0]; 559 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 567 x->token_costs[tx_size][type][is_inter_block(mbmi)]; 572 assert(type == PLANE_TYPE_Y ? mbmi->tx_size == tx_size 573 : get_uv_tx_size(mbmi) == tx_size); 641 if (x->skip_encode && !is_inter_block(&xd->mi[0]->mbmi)) { 666 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 672 if (!is_inter_block(mbmi)) 782 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 801 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 884 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 954 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 997 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1314 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 1481 const MB_MODE_INFO *const mbmi = &mic->mbmi; local 1647 MB_MODE_INFO *const mbmi = &x->e_mbd.mi[0]->mbmi; local 1662 MB_MODE_INFO *mbmi = &x->e_mbd.mi[0]->mbmi; local 1723 MB_MODE_INFO *const mbmi = &mi->mbmi; local 2102 MB_MODE_INFO *mbmi = &mi->mbmi; local 2148 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 2363 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 2376 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 2542 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 2704 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 3131 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 3762 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local [all...] |
vp9_encodeframe.c | 212 MB_MODE_INFO *mbmi; local 228 mbmi = &xd->mi[0]->mbmi; 257 mbmi->segment_id = vp9_get_segment_id(cm, map, bsize, mi_row, mi_col); 277 x->encode_breakout = cpi->segment_encode_breakout[mbmi->segment_id]; 279 mbmi->segment_id = 0; 306 xd->mi[0]->mbmi.sb_type = bsize; 503 xd->mi[0]->mbmi.ref_frame[0] = LAST_FRAME; 504 xd->mi[0]->mbmi.sb_type = BLOCK_64X64; 506 xd->mi[0]->mbmi.ref_mvs[LAST_FRAME] 846 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 993 MB_MODE_INFO *mbmi; local 1106 const MB_MODE_INFO *const mbmi = &mi->mbmi; local 1427 MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 3414 MB_MODE_INFO *mbmi = &mi->mbmi; local [all...] |
vp9_encodemb.c | 114 const int ref = is_inter_block(&xd->mi[0]->mbmi); 142 if (!is_inter_block(&mb->e_mbd.mi[0]->mbmi)) 455 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 456 struct encode_b_args arg = {x, &ctx, &mbmi->skip}; 465 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi) : mbmi->tx_size; 480 MB_MODE_INFO *mbmi = &xd->mi[0]->mbmi; local 505 mode = plane == 0 ? mbmi->mode : mbmi->uv_mode 618 MB_MODE_INFO * mbmi = &x->e_mbd.mi[0]->mbmi; local [all...] |
vp9_bitstream.c | 103 const int skip = mi->mbmi.skip; 195 const MB_MODE_INFO *const mbmi = &xd->mi[0]->mbmi; local 196 const int is_compound = has_second_ref(mbmi); 197 const int segment_id = mbmi->segment_id; 203 assert(mbmi->ref_frame[0] == 215 vp9_write(w, mbmi->ref_frame[0] == GOLDEN_FRAME, 218 const int bit0 = mbmi->ref_frame[0] != LAST_FRAME; 221 const int bit1 = mbmi->ref_frame[0] != GOLDEN_FRAME; 235 const MB_MODE_INFO *const mbmi = &mi->mbmi local 341 const MB_MODE_INFO *const mbmi = &mi->mbmi; local [all...] |
vp9_aq_cyclicrefresh.c | 95 const MB_MODE_INFO *mbmi, 108 (mbmi->mv[0].as_int != 0 && 110 !is_inter_block(mbmi)) 117 mbmi->mv[0].as_int != 0 || 118 !is_inter_block(mbmi)) 129 MB_MODE_INFO *const mbmi, 139 const int refresh_this_block = candidate_refresh_aq(cr, mbmi, bsize, use_rd); 145 if (mbmi->segment_id > 0 && !refresh_this_block) 146 mbmi->segment_id = 0; 152 if (mbmi->segment_id == 1) [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
pickinter.c | 489 mb->e_mbd.mode_info_context->mbmi.uv_mode = best_mode; 498 if (xd->mode_info_context->mbmi.mode == NEWMV) 500 x->MVcount[0][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.row - 502 x->MVcount[1][mv_max+((xd->mode_info_context->mbmi.mv.as_mv.col - 588 MB_PREDICTION_MODE this_mode = x->e_mbd.mode_info_context->mbmi.mode; 589 int_mv mv = x->e_mbd.mode_info_context->mbmi.mv; 621 x->e_mbd.mode_info_context->mbmi.ref_frame == LAST_FRAME && 646 mv_l = mic->mbmi.mv; 648 if (mic->mbmi.ref_frame != INTRA_FRAME) 654 mv_al = mic->mbmi.mv [all...] |
encodeframe.c | 486 /* Code to set segment id in xd->mbmi.segment_id for current MB 490 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; 492 xd->mode_info_context->mbmi.segment_id = 0; 498 xd->mode_info_context->mbmi.segment_id = 0; 506 y_modes[xd->mbmi.mode] ++; 514 inter_y_modes[xd->mbmi.mode] ++; 516 if (xd->mbmi.mode == SPLITMV) 520 for (b = 0; b < xd->mbmi.partition_count; b++) 532 if (xd->mode_info_context->mbmi.mode == ZEROMV && 533 xd->mode_info_context->mbmi.ref_frame == LAST_FRAME) [all...] |
encodeintra.c | 32 x->e_mbd.mode_info_context->mbmi.mode = DC_PRED; 33 x->e_mbd.mode_info_context->mbmi.uv_mode = DC_PRED; 34 x->e_mbd.mode_info_context->mbmi.ref_frame = INTRA_FRAME;
|
/external/libvpx/libvpx/vp8/common/ |
findnearmv.h | 114 if(cur_mb->mbmi.mode != SPLITMV) 115 return cur_mb->mbmi.mv.as_int; 129 if(cur_mb->mbmi.mode != SPLITMV) 130 return cur_mb->mbmi.mv.as_int; 142 switch (cur_mb->mbmi.mode) 170 switch (cur_mb->mbmi.mode)
|
reconintra.c | 57 MB_PREDICTION_MODE mode = x->mode_info_context->mbmi.mode; 89 MB_PREDICTION_MODE uvmode = x->mode_info_context->mbmi.uv_mode;
|
/external/libvpx/libvpx/vp9/common/ |
vp9_blockd.c | 16 if (!left_mi || is_inter_block(&left_mi->mbmi)) 29 if (!above_mi || is_inter_block(&above_mi->mbmi)) 43 const MB_MODE_INFO* mbmi = &xd->mi[0]->mbmi; local 47 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi, pd) 48 : mbmi->tx_size;
|
vp9_pred_common.h | 45 above_mi->mbmi.seg_id_predicted : 0; 46 const int left_sip = (left_mi != NULL) ? left_mi->mbmi.seg_id_predicted : 0; 59 const int above_skip = (above_mi != NULL) ? above_mi->mbmi.skip : 0; 60 const int left_skip = (left_mi != NULL) ? left_mi->mbmi.skip : 0; 113 const int max_tx_size = max_txsize_lookup[xd->mi[0]->mbmi.sb_type];
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
findnearmv.h | 111 if(cur_mb->mbmi.mode != SPLITMV) 112 return cur_mb->mbmi.mv.as_int; 126 if(cur_mb->mbmi.mode != SPLITMV) 127 return cur_mb->mbmi.mv.as_int; 139 switch (cur_mb->mbmi.mode) 166 switch (cur_mb->mbmi.mode)
|
/external/libvpx/libvpx/vp8/decoder/ |
error_concealment.c | 289 MV * const filtered_mv = &(mi->mbmi.mv.as_mv); 293 mi->mbmi.need_to_clamp_mvs = 0; 306 mi->mbmi.need_to_clamp_mvs |= vp8_check_mv_bounds( 363 if (prev_mi->mbmi.ref_frame == LAST_FRAME) 390 mi->mbmi.ref_frame = LAST_FRAME; 391 mi->mbmi.mode = SPLITMV; 392 mi->mbmi.uv_mode = DC_PRED; 393 mi->mbmi.partitioning = 3; 394 mi->mbmi.segment_id = 0; 419 assert(mi->mbmi.ref_frame < MAX_REF_FRAMES) [all...] |