Home
last modified time | relevance | path

Searched refs:mbmi_ext (Results 1 – 19 of 19) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dencodemv.c191 const MB_MODE_INFO_EXT *mbmi_ext) { in av1_get_ref_mv_from_stack() argument
194 mbmi_ext->ref_mv_stack[ref_frame_type]; in av1_get_ref_mv_from_stack()
207 if (ref_mv_idx < mbmi_ext->ref_mv_count[ref_frame_type]) { in av1_get_ref_mv_from_stack()
210 ref_mv = mbmi_ext->global_mvs[ref_frame_type]; in av1_get_ref_mv_from_stack()
225 x->mbmi_ext); in av1_get_ref_mv()
229 const MB_MODE_INFO_EXT *mbmi_ext, in av1_find_best_ref_mvs_from_stack() argument
235 *nearest_mv = av1_get_ref_mv_from_stack(ref_idx, ref_frames, 0, mbmi_ext); in av1_find_best_ref_mvs_from_stack()
237 *near_mv = av1_get_ref_mv_from_stack(ref_idx, ref_frames, 1, mbmi_ext); in av1_find_best_ref_mvs_from_stack()
Dencodemv.h36 const MB_MODE_INFO_EXT *mbmi_ext);
38 const MB_MODE_INFO_EXT *mbmi_ext,
Dbitstream.c99 const MB_MODE_INFO_EXT *mbmi_ext, aom_writer *w) { in write_drl_idx() argument
108 if (mbmi_ext->ref_mv_count[ref_frame_type] > idx + 1) { in write_drl_idx()
110 av1_drl_ctx(mbmi_ext->ref_mv_stack[ref_frame_type], idx); in write_drl_idx()
124 if (mbmi_ext->ref_mv_count[ref_frame_type] > idx + 1) { in write_drl_idx()
126 av1_drl_ctx(mbmi_ext->ref_mv_stack[ref_frame_type], idx); in write_drl_idx()
373 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN); in pack_txb_tokens()
375 x->mbmi_ext->cb_coef_buff->tcoeff[plane] + x->mbmi_ext->cb_offset; in pack_txb_tokens()
376 uint16_t *eob_txb = x->mbmi_ext->cb_coef_buff->eobs[plane] + txb_offset; in pack_txb_tokens()
378 x->mbmi_ext->cb_coef_buff->txb_skip_ctx[plane] + txb_offset; in pack_txb_tokens()
380 x->mbmi_ext->cb_coef_buff->dc_sign_ctx[plane] + txb_offset; in pack_txb_tokens()
[all …]
Dencodetxb.c82 x->mbmi_ext->cb_coef_buff = &cpi->coeff_buffer_base[offset]; in av1_set_coeff_buffer()
83 x->mbmi_ext->cb_offset = x->cb_offset; in av1_set_coeff_buffer()
642 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN);
644 x->mbmi_ext->cb_coef_buff->tcoeff[plane] + x->mbmi_ext->cb_offset;
645 uint16_t *eob_txb = x->mbmi_ext->cb_coef_buff->eobs[plane] + txb_offset;
647 x->mbmi_ext->cb_coef_buff->txb_skip_ctx[plane] + txb_offset;
649 x->mbmi_ext->cb_coef_buff->dc_sign_ctx[plane] + txb_offset;
2012 x->mbmi_ext->cb_offset / (TX_SIZE_W_MIN * TX_SIZE_H_MIN);
2013 uint16_t *eob_txb = x->mbmi_ext->cb_coef_buff->eobs[plane] + txb_offset;
2015 x->mbmi_ext->cb_coef_buff->txb_skip_ctx[plane] + txb_offset;
[all …]
Dcontext_tree.h40 MB_MODE_INFO_EXT mbmi_ext; member
Dcontext_tree.c216 dst_ctx->mbmi_ext = src_ctx->mbmi_ext; in av1_copy_tree_context()
Drdopt.c7001 ctx->mbmi_ext = *x->mbmi_ext; in store_coding_context()
7017 MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in setup_buffer_ref_mvs_inter() local
7034 av1_find_mv_refs(cm, xd, mbmi, ref_frame, mbmi_ext->ref_mv_count, in setup_buffer_ref_mvs_inter()
7035 mbmi_ext->ref_mv_stack, NULL, mbmi_ext->global_mvs, mi_row, in setup_buffer_ref_mvs_inter()
7036 mi_col, mbmi_ext->mode_context); in setup_buffer_ref_mvs_inter()
7485 const MB_MODE_INFO_EXT *mbmi_ext);
7499 get_this_mv(&nearest_mv, NEARESTMV, 0, 0, tmp_ref_frames, x->mbmi_ext); in discount_newmv_test()
7502 ref_mv_idx < x->mbmi_ext->ref_mv_count[ref_frame_type]; ++ref_mv_idx) { in discount_newmv_test()
7504 get_this_mv(&near_mv, NEARMV, 0, ref_mv_idx, tmp_ref_frames, x->mbmi_ext); in discount_newmv_test()
7509 get_this_mv(&global_mv, GLOBALMV, 0, 0, tmp_ref_frames, x->mbmi_ext); in discount_newmv_test()
[all …]
Dblock.h247 MB_MODE_INFO_EXT *mbmi_ext; member
Dencodeframe.c354 *x->mbmi_ext = ctx->mbmi_ext; in update_state()
583 *x->mbmi_ext = ctx->mbmi_ext; in pick_sb_modes()
911 const MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in update_stats() local
1331 av1_mode_context_analyzer(mbmi_ext->mode_context, mbmi->ref_frame); in update_stats()
1350 if (mbmi_ext->ref_mv_count[ref_frame_type] > idx + 1) { in update_stats()
1353 av1_drl_ctx(mbmi_ext->ref_mv_stack[ref_frame_type], idx); in update_stats()
1367 if (mbmi_ext->ref_mv_count[ref_frame_type] > idx + 1) { in update_stats()
1370 av1_drl_ctx(mbmi_ext->ref_mv_stack[ref_frame_type], idx); in update_stats()
Drd.c979 av1_get_ref_mv_from_stack(0, ref_frames, 0, x->mbmi_ext); in av1_mv_pred()
981 av1_get_ref_mv_from_stack(0, ref_frames, 1, x->mbmi_ext); in av1_mv_pred()
Dencoder.h1258 x->mbmi_ext = cpi->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); in set_mode_info_offsets()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c239 static void inc_mvs(const MODE_INFO *mi, const MB_MODE_INFO_EXT *mbmi_ext, in inc_mvs() argument
244 const MV *ref = &mbmi_ext->ref_mvs[mi->ref_frame[i]][0].as_mv; in inc_mvs()
254 const MB_MODE_INFO_EXT *mbmi_ext = td->mb.mbmi_ext; in vp9_update_mv_count() local
265 inc_mvs(mi, mbmi_ext, mi->bmi[i].as_mv, &td->counts->mv); in vp9_update_mv_count()
269 if (mi->mode == NEWMV) inc_mvs(mi, mbmi_ext, mi->mv, &td->counts->mv); in vp9_update_mv_count()
Dvp9_pickmode.c145 x->mbmi_ext->mode_context[ref_frame] = counter_to_context[context_counter]; in mv_refs_rt()
165 const MV ref_mv = x->mbmi_ext->ref_mvs[ref][0].as_mv; in combined_motion_search()
195 mvp_full = x->mbmi_ext->ref_mvs[ref][x->mv_best_ref_index[ref]].as_mv; in combined_motion_search()
226 cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref]][INTER_OFFSET(NEWMV)]; in combined_motion_search()
974 *rate = cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref_frame]] in encode_breakout_test()
1228 int_mv *const candidates = x->mbmi_ext->ref_mvs[ref_frame]; in find_predictors()
1233 x->mbmi_ext->mode_context); in find_predictors()
1361 cpi->inter_mode_cost[x->mbmi_ext->mode_context[LAST_FRAME]] in recheck_zeromv_after_denoising()
1526 &x->mbmi_ext->ref_mvs[ref_frame][0].as_mv); in search_new_mv()
1533 &x->mbmi_ext->ref_mvs[ref_frame][0].as_mv, in search_new_mv()
[all …]
Dvp9_rdopt.c1436 const MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in set_and_cost_bmi_mvs() local
1476 return cost_mv_ref(cpi, mode, mbmi_ext->mode_context[mi->ref_frame[0]]) + in set_and_cost_bmi_mvs()
1731 ref_mv[ref] = x->mbmi_ext->ref_mvs[refs[ref]][0]; in joint_motion_search()
1849 &x->mbmi_ext->ref_mvs[refs[ref]][0].as_mv, in joint_motion_search()
1885 MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in rd_pick_best_sub8x8_mode() local
1923 &frame_mv[NEARMV][frame], mbmi_ext->mode_context); in rd_pick_best_sub8x8_mode()
1935 if (!check_best_zero_mv(cpi, mbmi_ext->mode_context, frame_mv, in rd_pick_best_sub8x8_mode()
2272 ctx->mbmi_ext = *x->mbmi_ext; in store_coding_context()
2291 int_mv *const candidates = x->mbmi_ext->ref_mvs[ref_frame]; in setup_buffer_inter()
2293 MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in setup_buffer_inter() local
[all …]
Dvp9_encodeframe.c250 x->mbmi_ext = x->mbmi_ext_base + (mi_row * cm->mi_cols + mi_col); in set_mode_info_offsets()
1753 *x->mbmi_ext = ctx->mbmi_ext; in update_state()
2037 const MB_MODE_INFO_EXT *const mbmi_ext = x->mbmi_ext; in update_stats() local
2072 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in update_stats()
2441 *(x->mbmi_ext) = ctx->mbmi_ext; in update_state_rt()
4494 *(x->mbmi_ext) = pc_tree->none.mbmi_ext; in fill_mode_info_sb()
4500 *(x->mbmi_ext) = pc_tree->vertical[0].mbmi_ext; in fill_mode_info_sb()
4506 *(x->mbmi_ext) = pc_tree->vertical[1].mbmi_ext; in fill_mode_info_sb()
4513 *(x->mbmi_ext) = pc_tree->horizontal[0].mbmi_ext; in fill_mode_info_sb()
4518 *(x->mbmi_ext) = pc_tree->horizontal[1].mbmi_ext; in fill_mode_info_sb()
[all …]
Dvp9_context_tree.h28 MB_MODE_INFO_EXT mbmi_ext; member
Dvp9_rd.c553 pred_mv[0] = x->mbmi_ext->ref_mvs[ref_frame][0].as_mv; in vp9_mv_pred()
554 pred_mv[1] = x->mbmi_ext->ref_mvs[ref_frame][1].as_mv; in vp9_mv_pred()
558 near_same_nearest = x->mbmi_ext->ref_mvs[ref_frame][0].as_int == in vp9_mv_pred()
559 x->mbmi_ext->ref_mvs[ref_frame][1].as_int; in vp9_mv_pred()
Dvp9_block.h74 MB_MODE_INFO_EXT *mbmi_ext; member
Dvp9_bitstream.c236 const MB_MODE_INFO_EXT *const mbmi_ext, vpx_writer *w, in pack_inter_mode_mvs() argument
288 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in pack_inter_mode_mvs()
321 &mbmi_ext->ref_mvs[mi->ref_frame[ref]][0].as_mv, in pack_inter_mode_mvs()
330 &mbmi_ext->ref_mvs[mi->ref_frame[ref]][0].as_mv, nmvc, in pack_inter_mode_mvs()
377 const MB_MODE_INFO_EXT *const mbmi_ext = in write_modes_b() local
390 pack_inter_mode_mvs(cpi, xd, mbmi_ext, w, max_mv_magnitude, in write_modes_b()