Searched refs:mode_ctx (Results 1 – 8 of 8) sorted by relevance
/external/libaom/libaom/av1/decoder/ |
D | decodemv.c | 178 int16_t mode_ctx = ctx & NEWMV_CTX_MASK; in read_inter_mode() local 180 is_newmv = aom_read_symbol(r, ec_ctx->newmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 183 mode_ctx = (ctx >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in read_inter_mode() 185 aom_read_symbol(r, ec_ctx->zeromv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 188 mode_ctx = (ctx >> REFMV_OFFSET) & REFMV_CTX_MASK; in read_inter_mode() 189 is_refmv = aom_read_symbol(r, ec_ctx->refmv_cdf[mode_ctx], 2, ACCT_STR) == 0; in read_inter_mode() 1232 int mi_col, int16_t mode_ctx) { in dec_dump_logs() argument 1237 const int16_t newmv_ctx = mode_ctx & NEWMV_CTX_MASK; in dec_dump_logs() 1241 zeromv_ctx = (mode_ctx >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in dec_dump_logs() 1243 refmv_ctx = (mode_ctx >> REFMV_OFFSET) & REFMV_CTX_MASK; in dec_dump_logs() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | nonrd_pickmode.c | 960 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; local 965 mode_cost = x->newmv_mode_cost[mode_ctx][0]; 968 mode_cost = x->newmv_mode_cost[mode_ctx][1]; 969 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; 972 mode_cost += x->zeromv_mode_cost[mode_ctx][0]; 975 mode_cost += x->zeromv_mode_cost[mode_ctx][1]; 976 mode_ctx = (mode_context >> REFMV_OFFSET) & REFMV_CTX_MASK; 977 mode_cost += x->refmv_mode_cost[mode_ctx][mode != NEARESTMV]; 1915 const int16_t mode_ctx = local 1917 this_rdc.rate += cost_mv_ref(x, this_mode, mode_ctx);
|
D | bitstream.c | 81 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() 135 const int16_t mode_ctx) { in write_inter_compound_mode() argument 138 xd->tile_ctx->inter_compound_mode_cdf[mode_ctx], in write_inter_compound_mode() 1114 int16_t mode_ctx; in pack_inter_mode_mvs() local 1120 mode_ctx = in pack_inter_mode_mvs() 1126 write_inter_compound_mode(xd, w, mode, mode_ctx); in pack_inter_mode_mvs() 1128 write_inter_mode(w, mode, ec_ctx, mode_ctx); in pack_inter_mode_mvs() [all …]
|
D | rdopt.c | 712 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in cost_mv_ref() local 717 mode_cost = x->newmv_mode_cost[mode_ctx][0]; in cost_mv_ref() 720 mode_cost = x->newmv_mode_cost[mode_ctx][1]; in cost_mv_ref() 721 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in cost_mv_ref() 724 mode_cost += x->zeromv_mode_cost[mode_ctx][0]; in cost_mv_ref() 727 mode_cost += x->zeromv_mode_cost[mode_ctx][1]; in cost_mv_ref() 728 mode_ctx = (mode_context >> REFMV_OFFSET) & REFMV_CTX_MASK; in cost_mv_ref() 729 mode_cost += x->refmv_mode_cost[mode_ctx][mode != NEARESTMV]; in cost_mv_ref() 1013 const int16_t mode_ctx = in skip_repeated_mv() local 1015 const int compare_cost = cost_mv_ref(x, compare_mode, mode_ctx); in skip_repeated_mv() [all …]
|
D | encodeframe.c | 898 int16_t mode_ctx = mode_context & NEWMV_CTX_MASK; in update_inter_mode_stats() local 901 ++counts->newmv_mode[mode_ctx][0]; in update_inter_mode_stats() 903 update_cdf(fc->newmv_cdf[mode_ctx], 0, 2); in update_inter_mode_stats() 908 ++counts->newmv_mode[mode_ctx][1]; in update_inter_mode_stats() 910 update_cdf(fc->newmv_cdf[mode_ctx], 1, 2); in update_inter_mode_stats() 912 mode_ctx = (mode_context >> GLOBALMV_OFFSET) & GLOBALMV_CTX_MASK; in update_inter_mode_stats() 915 ++counts->zeromv_mode[mode_ctx][0]; in update_inter_mode_stats() 917 update_cdf(fc->zeromv_cdf[mode_ctx], 0, 2); in update_inter_mode_stats() 922 ++counts->zeromv_mode[mode_ctx][1]; in update_inter_mode_stats() 924 update_cdf(fc->zeromv_cdf[mode_ctx], 1, 2); in update_inter_mode_stats() [all …]
|
D | intra_mode_search.c | 326 const int mode_ctx = av1_get_palette_mode_ctx(xd); in intra_mode_info_cost_y() local 327 total_rate += x->palette_y_mode_cost[bsize_ctx][mode_ctx][use_palette]; in intra_mode_info_cost_y()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_bitstream.c | 293 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in pack_inter_mode_mvs() local 294 const vpx_prob *const inter_probs = cm->fc->inter_mode_probs[mode_ctx]; in pack_inter_mode_mvs()
|
D | vp9_encodeframe.c | 2150 const int mode_ctx = mbmi_ext->mode_context[mi->ref_frame[0]]; in update_stats() local 2153 ++counts->inter_mode[mode_ctx][INTER_OFFSET(mode)]; in update_stats() 2162 ++counts->inter_mode[mode_ctx][INTER_OFFSET(b_mode)]; in update_stats()
|