Home
last modified time | relevance | path

Searched refs:CDF_PROB_TOP (Results 1 – 10 of 10) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dprob.h34 #define CDF_PROB_TOP (1 << CDF_PROB_BITS) macro
41 #define AOM_ICDF(x) (CDF_PROB_TOP - (x))
45 #define AOM_CDF2(a0) AOM_ICDF(a0), AOM_ICDF(CDF_PROB_TOP), 0
46 #define AOM_CDF3(a0, a1) AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(CDF_PROB_TOP), 0
48 AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(CDF_PROB_TOP), 0
51 , AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(CDF_PROB_TOP), 0
55 AOM_ICDF(CDF_PROB_TOP), 0
59 AOM_ICDF(CDF_PROB_TOP), 0
63 AOM_ICDF(a6), AOM_ICDF(CDF_PROB_TOP), 0
67 AOM_ICDF(a6), AOM_ICDF(a7), AOM_ICDF(CDF_PROB_TOP), 0
[all …]
Dentenc.c169 if (fl < CDF_PROB_TOP) { in od_ec_encode_q15()
185 enc->entropy -= OD_LOG2((double)(OD_ICDF(fh) - OD_ICDF(fl)) / CDF_PROB_TOP.); in od_ec_encode_q15()
226 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_encode_cdf_q15()
Dentdec.c206 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_decode_cdf_q15()
/external/libaom/libaom/av1/encoder/
Dcost.h36 p15 = (aom_cdf_prob)clamp(p15, 1, CDF_PROB_TOP - 1); in av1_cost_symbol()
37 assert(0 < p15 && p15 < CDF_PROB_TOP); in av1_cost_symbol()
39 const int prob = get_prob(p15 << shift, CDF_PROB_TOP); in av1_cost_symbol()
Dcost.c44 if (cdf[i] == AOM_ICDF(CDF_PROB_TOP)) break; in av1_cost_tokens_from_cdf()
Dencodeframe.c4488 cdf_ptr_left[i * cdf_stride + j] < CDF_PROB_TOP); in avg_cdf_symbol()
/external/libaom/libaom/av1/common/
Donyxc_int.h979 return (element > 0 ? cdf[element - 1] : CDF_PROB_TOP) - cdf[element]; in cdf_element_prob()
986 out[0] = CDF_PROB_TOP; in partition_gather_horz_alike()
994 out[1] = AOM_ICDF(CDF_PROB_TOP); in partition_gather_horz_alike()
1001 out[0] = CDF_PROB_TOP; in partition_gather_vert_alike()
1009 out[1] = AOM_ICDF(CDF_PROB_TOP); in partition_gather_vert_alike()
/external/libaom/libaom/test/
Dec_test.cc58 fz[j] = (rand() % (CDF_PROB_TOP - 2)) >> (CDF_PROB_BITS - fts[j]); in TEST()
/external/libaom/libaom/tools/
Daom_entropy_optimizer.c54 cdf[i] = (csum[i] * CDF_PROB_TOP + round_shift) / sum; in counts_to_cdf()
55 cdf[i] = AOMMIN(cdf[i], CDF_PROB_TOP - (modes - 1 + i) * 4); in counts_to_cdf()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c1721 assert(cdf[1] == AOM_ICDF(CDF_PROB_TOP)); in read_partition()
1728 assert(cdf[1] == AOM_ICDF(CDF_PROB_TOP)); in read_partition()