Searched refs:mode_ctx (Results 1 – 6 of 6) sorted by relevance
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 161 int16_t mode_ctx = ctx & NEWMV_CTX_MASK; in read_inter_mode() local 163 is_newmv = aom_read_symbol(r, ec_ctx->newmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 166 mode_ctx = (ctx >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in read_inter_mode() 168 aom_read_symbol(r, ec_ctx->zeromv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 171 mode_ctx = (ctx >> REFMV_OFFSET) & REFMV_CTX_MASK; in read_inter_mode() 172 is_refmv = aom_read_symbol(r, ec_ctx->refmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 1219 int mi_col, int16_t mode_ctx) { in dec_dump_logs() argument 1224 const int16_t newmv_ctx = mode_ctx & NEWMV_CTX_MASK; in dec_dump_logs() 1228 zeromv_ctx = (mode_ctx >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in dec_dump_logs() 1230 refmv_ctx = (mode_ctx >> REFMV_OFFSET) & REFMV_CTX_MASK; in dec_dump_logs() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 81 FRAME_CONTEXT *ec_ctx, const int16_t mode_ctx) { in write_inter_mode() argument 82 const int16_t newmv_ctx = mode_ctx & NEWMV_CTX_MASK; in write_inter_mode() 88 (mode_ctx >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in write_inter_mode() 92 int16_t refmv_ctx = (mode_ctx >> REFMV_OFFSET) & REFMV_CTX_MASK; in write_inter_mode() 138 const int16_t mode_ctx) { in write_inter_compound_mode() argument 141 xd->tile_ctx->inter_compound_mode_cdf[mode_ctx], in write_inter_compound_mode() 1074 int16_t mode_ctx; in pack_inter_mode_mvs() local 1080 mode_ctx = in pack_inter_mode_mvs() 1086 write_inter_compound_mode(xd, w, mode, mode_ctx); in pack_inter_mode_mvs() 1088 write_inter_mode(w, mode, ec_ctx, mode_ctx); in pack_inter_mode_mvs() [all …]
|
D | encodeframe.c | 700 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in update_inter_mode_stats() local 703 ++counts->newmv_mode[mode_ctx][0]; in update_inter_mode_stats() 705 if (allow_update_cdf) update_cdf(fc->newmv_cdf[mode_ctx], 0, 2); in update_inter_mode_stats() 709 ++counts->newmv_mode[mode_ctx][1]; in update_inter_mode_stats() 711 if (allow_update_cdf) update_cdf(fc->newmv_cdf[mode_ctx], 1, 2); in update_inter_mode_stats() 713 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in update_inter_mode_stats() 716 ++counts->zeromv_mode[mode_ctx][0]; in update_inter_mode_stats() 718 if (allow_update_cdf) update_cdf(fc->zeromv_cdf[mode_ctx], 0, 2); in update_inter_mode_stats() 722 ++counts->zeromv_mode[mode_ctx][1]; in update_inter_mode_stats() 724 if (allow_update_cdf) update_cdf(fc->zeromv_cdf[mode_ctx], 1, 2); in update_inter_mode_stats() [all …]
|
D | rdopt.c | 4087 const int mode_ctx = av1_get_palette_mode_ctx(xd); in intra_mode_info_cost_y() local 4088 total_rate += x->palette_y_mode_cost[bsize_ctx][mode_ctx][use_palette]; in intra_mode_info_cost_y() 6587 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in cost_mv_ref() local 6592 mode_cost = x->newmv_mode_cost[mode_ctx][0]; in cost_mv_ref() 6595 mode_cost = x->newmv_mode_cost[mode_ctx][1]; in cost_mv_ref() 6596 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in cost_mv_ref() 6599 mode_cost += x->zeromv_mode_cost[mode_ctx][0]; in cost_mv_ref() 6602 mode_cost += x->zeromv_mode_cost[mode_ctx][1]; in cost_mv_ref() 6603 mode_ctx = (mode_context >> REFMV_OFFSET) & REFMV_CTX_MASK; in cost_mv_ref() 6604 mode_cost += x->refmv_mode_cost[mode_ctx][mode != NEARESTMV]; in cost_mv_ref() [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_bitstream.c | 288 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in pack_inter_mode_mvs() local 289 const vpx_prob *const inter_probs = cm->fc->inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
|
D | vp9_encodeframe.c | 2072 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in update_stats() local 2075 ++counts->inter_mode[mode_ctx][INTER_OFFSET(mode)]; in update_stats() 2084 ++counts->inter_mode[mode_ctx][INTER_OFFSET(b_mode)]; in update_stats()
|