Home
last modified time | relevance | path

Searched refs:CLASS0_SIZE (Results 1 – 12 of 12) sorted by relevance

/external/libvpx/libvpx/vp9/common/
Dvp9_entropymv.h71 #define CLASS0_SIZE (1 << CLASS0_BITS) macro
91 vpx_prob class0[CLASS0_SIZE - 1];
93 vpx_prob class0_fp[CLASS0_SIZE][MV_FP_SIZE - 1];
117 unsigned int class0[CLASS0_SIZE];
119 unsigned int class0_fp[CLASS0_SIZE][MV_FP_SIZE];
Dvp9_entropymv.c25 const vpx_tree_index vp9_mv_class0_tree[TREE_SIZE(CLASS0_SIZE)] = { -0, -1 };
100 return c ? CLASS0_SIZE << (c + 2) : 0; in mv_class_base()
104 const MV_CLASS_TYPE c = (z >= CLASS0_SIZE * 4096) in vp9_get_mv_class()
178 for (j = 0; j < CLASS0_SIZE; ++j) in vp9_adapt_mv_probs()
Dvp9_thread_common.c581 for (i = 0; i < CLASS0_SIZE; i++) { in vp9_accumulate_frame_counts()
/external/libaom/libaom/av1/common/
Dentropymv.h65 #define CLASS0_SIZE (1 << CLASS0_BITS) macro
80 aom_cdf_prob class0_fp_cdf[CLASS0_SIZE][CDF_SIZE(MV_FP_SIZE)];
85 aom_cdf_prob class0_cdf[CDF_SIZE(CLASS0_SIZE)];
Dentropy.c80 RESET_CDF_COUNTER(nmv->comps[i].class0_cdf, CLASS0_SIZE); in reset_nmv_counter()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encodemv.c72 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in build_nmv_component_cost_table()
74 int class0_fp_cost[CLASS0_SIZE][MV_FP_SIZE], fp_cost[MV_FP_SIZE]; in build_nmv_component_cost_table()
88 for (i = 0; i < CLASS0_SIZE; ++i) in build_nmv_component_cost_table()
100 for (o = 0; o < (CLASS0_SIZE << 3); ++o) { in build_nmv_component_cost_table()
124 int v = (CLASS0_SIZE << (c + 2)) + d * 8 + f * 2 /* + e */ + 1; in build_nmv_component_cost_table()
187 CLASS0_SIZE, w); in vp9_write_nmv_probs()
193 for (j = 0; j < CLASS0_SIZE; ++j) in vp9_write_nmv_probs()
Dvp9_encoder.c375 for (j = 0; j < CLASS0_SIZE - 1; ++j) { in compute_context_model_diff()
379 pre_last_prob = MAX_PROB - pre_nmv_prob->class0[CLASS0_SIZE - 2]; in compute_context_model_diff()
380 cur_last_prob = MAX_PROB - cur_nmv_prob->class0[CLASS0_SIZE - 2]; in compute_context_model_diff()
382 diff += (int)nmv_count->class0[CLASS0_SIZE - 1] * in compute_context_model_diff()
397 for (j = 0; j < CLASS0_SIZE; ++j) { in compute_context_model_diff()
/external/libaom/libaom/av1/encoder/
Dencodemv.c24 return c ? CLASS0_SIZE << (c + 2) : 0; in mv_class_base()
34 const MV_CLASS_TYPE c = (z >= CLASS0_SIZE * 4096) in get_mv_class()
60 aom_write_symbol(w, d, mvcomp->class0_cdf, CLASS0_SIZE); in encode_mv_component()
86 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in build_nmv_component_cost_table()
88 int class0_fp_cost[CLASS0_SIZE][MV_FP_SIZE], fp_cost[MV_FP_SIZE]; in build_nmv_component_cost_table()
98 for (i = 0; i < CLASS0_SIZE; ++i) in build_nmv_component_cost_table()
Dencodeframe.c4520 CLASS0_SIZE); in avg_nmv()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c833 d = aom_read_symbol(r, mvcomp->class0_cdf, CLASS0_SIZE, ACCT_STR); in read_mv_component()
840 mag = CLASS0_SIZE << (mv_class + 2); in read_mv_component()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c252 mag = CLASS0_SIZE << (mv_class + 2); in read_mv_component()
Dvp9_decodeframe.c144 update_mv_probs(comp_ctx->class0, CLASS0_SIZE - 1, r); in read_mv_probs()
150 for (j = 0; j < CLASS0_SIZE; ++j) in read_mv_probs()