Home
last modified time | relevance | path

Searched refs:CLASS0_SIZE (Results 1 – 14 of 14) 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.c593 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.c81 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.c395 for (j = 0; j < CLASS0_SIZE - 1; ++j) { in compute_context_model_diff()
399 pre_last_prob = MAX_PROB - pre_nmv_prob->class0[CLASS0_SIZE - 2]; in compute_context_model_diff()
400 cur_last_prob = MAX_PROB - cur_nmv_prob->class0[CLASS0_SIZE - 2]; in compute_context_model_diff()
402 diff += (int)nmv_count->class0[CLASS0_SIZE - 1] * in compute_context_model_diff()
417 for (j = 0; j < CLASS0_SIZE; ++j) { in compute_context_model_diff()
/external/libaom/libaom/av1/encoder/
Dencodemv.c42 update_cdf(mvcomp->class0_cdf, d, CLASS0_SIZE); in update_mv_component_stats()
96 aom_write_symbol(w, d, mvcomp->class0_cdf, CLASS0_SIZE); in encode_mv_component()
122 int sign_cost[2], class_cost[MV_CLASSES], class0_cost[CLASS0_SIZE]; in build_nmv_component_cost_table()
124 int class0_fp_cost[CLASS0_SIZE][MV_FP_SIZE], fp_cost[MV_FP_SIZE]; in build_nmv_component_cost_table()
134 for (i = 0; i < CLASS0_SIZE; ++i) in build_nmv_component_cost_table()
Dencodemv.h55 return c ? CLASS0_SIZE << (c + 2) : 0; in av1_mv_class_base()
65 const MV_CLASS_TYPE c = (z >= CLASS0_SIZE * 4096) in av1_get_mv_class()
Dmv_prec.c98 update_cdf(class0_cdf, int_part, CLASS0_SIZE); in keep_one_comp_stat()
Dencodeframe.c4250 CLASS0_SIZE); in avg_nmv()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c848 d = aom_read_symbol(r, mvcomp->class0_cdf, CLASS0_SIZE, ACCT_STR); in read_mv_component()
855 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.c148 update_mv_probs(comp_ctx->class0, CLASS0_SIZE - 1, r); in read_mv_probs()
154 for (j = 0; j < CLASS0_SIZE; ++j) in read_mv_probs()