Home
last modified time | relevance | path

Searched refs:mode_context (Results 1 – 13 of 13) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_mvref_common.c19 int mi_col, uint8_t *mode_context) { in find_mv_refs_idx() argument
126 mode_context[ref_frame] = counter_to_context[context_counter]; in find_mv_refs_idx()
136 uint8_t *mode_context) { in vp9_find_mv_refs() argument
138 mode_context); in vp9_find_mv_refs()
156 uint8_t *mode_context) { in vp9_append_sub8x8_mvs_for_idx() argument
165 mi_col, mode_context); in vp9_append_sub8x8_mvs_for_idx()
Dvp9_mvref_common.h306 uint8_t *mode_context);
317 uint8_t *mode_context);
/external/libaom/libaom/av1/common/
Dmvref_common.c331 int16_t *mode_context) { in add_tpl_ref_mv() argument
367 mode_context[ref_frame] |= (1 << GLOBALMV_OFFSET); in add_tpl_ref_mv()
414 mode_context[ref_frame] |= (1 << GLOBALMV_OFFSET); in add_tpl_ref_mv()
497 int mi_row, int mi_col, int16_t *mode_context) { in setup_ref_mv_list() argument
510 mode_context[ref_frame] = 0; in setup_ref_mv_list()
587 ref_mv_stack, mode_context); in setup_ref_mv_list()
592 if (is_available == 0) mode_context[ref_frame] |= (1 << GLOBALMV_OFFSET); in setup_ref_mv_list()
600 gm_mv_candidates, refmv_count, ref_mv_stack, mode_context); in setup_ref_mv_list()
634 mode_context[ref_frame] |= 0; in setup_ref_mv_list()
635 if (ref_match_count >= 1) mode_context[ref_frame] |= 1; in setup_ref_mv_list()
[all …]
Dmvref_common.h178 const int16_t *const mode_context, const MV_REFERENCE_FRAME *const rf) { in av1_mode_context_analyzer() argument
181 if (rf[1] <= INTRA_FRAME) return mode_context[ref_frame]; in av1_mode_context_analyzer()
183 const int16_t newmv_ctx = mode_context[ref_frame] & NEWMV_CTX_MASK; in av1_mode_context_analyzer()
185 (mode_context[ref_frame] >> REFMV_OFFSET) & REFMV_CTX_MASK; in av1_mode_context_analyzer()
256 int16_t *mode_context);
/external/libvpx/libvpx/vp9/encoder/
Dvp9_block.h54 uint8_t mode_context[MAX_REF_FRAMES]; member
Dvp9_pickmode.c145 x->mbmi_ext->mode_context[ref_frame] = counter_to_context[context_counter]; in mv_refs_rt()
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()
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()
2290 this_rdc.rate += cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref_frame]] in vp9_pick_inter_mode()
2643 mbmi_ext->mode_context); in vp9_pick_inter_mode_sub8x8()
2722 mbmi_ext->mode_context); in vp9_pick_inter_mode_sub8x8()
2762 b_rate += cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref_frame]] in vp9_pick_inter_mode_sub8x8()
2777 b_rate += cpi->inter_mode_cost[x->mbmi_ext->mode_context[ref_frame]] in vp9_pick_inter_mode_sub8x8()
Dvp9_rdopt.c1424 int mode_context) { in cost_mv_ref() argument
1426 return cpi->inter_mode_cost[mode_context][INTER_OFFSET(mode)]; in cost_mv_ref()
1476 return cost_mv_ref(cpi, mode, mbmi_ext->mode_context[mi->ref_frame[0]]) + in set_and_cost_bmi_mvs()
1663 const uint8_t mode_context[MAX_REF_FRAMES], in check_best_zero_mv()
1671 int rfc = mode_context[ref_frames[0]]; in check_best_zero_mv()
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()
2303 mbmi_ext->mode_context); in setup_buffer_inter()
2733 VPXMIN(cost_mv_ref(cpi, this_mode, mbmi_ext->mode_context[refs[0]]), in handle_inter_mode()
2734 cost_mv_ref(cpi, NEARESTMV, mbmi_ext->mode_context[refs[0]])); in handle_inter_mode()
[all …]
Dvp9_bitstream.c288 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in pack_inter_mode_mvs()
Dvp9_encodeframe.c2072 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in update_stats()
/external/libaom/libaom/av1/encoder/
Dblock.h82 int16_t mode_context[MODE_CTX_REF_FRAMES]; member
Drdopt.c6580 int16_t mode_context) { in cost_mv_ref() argument
6583 ->inter_compound_mode_cost[mode_context][INTER_COMPOUND_OFFSET(mode)]; in cost_mv_ref()
6587 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in cost_mv_ref()
6596 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in cost_mv_ref()
6603 mode_ctx = (mode_context >> REFMV_OFFSET) & REFMV_CTX_MASK; in cost_mv_ref()
7036 mi_col, mbmi_ext->mode_context); in setup_buffer_ref_mvs_inter()
8079 av1_mode_context_analyzer(mbmi_ext->mode_context, ref_frames); in skip_repeated_mv()
10271 av1_mode_context_analyzer(mbmi_ext->mode_context, mbmi->ref_frame); in handle_inter_mode()
10646 mi_col, mbmi_ext->mode_context); in rd_pick_intrabc_mode_sb()
10962 mi_col, mbmi_ext->mode_context); in rd_pick_skip_mode()
[all …]
Dencodeframe.c696 PREDICTION_MODE mode, int16_t mode_context, in update_inter_mode_stats() argument
700 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in update_inter_mode_stats()
713 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in update_inter_mode_stats()
725 mode_ctx = (mode_context >> REFMV_OFFSET) & REFMV_CTX_MASK; in update_inter_mode_stats()
1331 av1_mode_context_analyzer(mbmi_ext->mode_context, mbmi->ref_frame); in update_stats()
Dbitstream.c1081 av1_mode_context_analyzer(mbmi_ext->mode_context, mbmi->ref_frame); in pack_inter_mode_mvs()
1300 : av1_mode_context_analyzer(mbmi_ext->mode_context, in enc_dump_logs()