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.h33 #define CDF_PROB_TOP (1 << CDF_PROB_BITS) macro
40 #define AOM_ICDF(x) (CDF_PROB_TOP - (x))
44 #define AOM_CDF2(a0) AOM_ICDF(a0), AOM_ICDF(CDF_PROB_TOP), 0
45 #define AOM_CDF3(a0, a1) AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(CDF_PROB_TOP), 0
47 AOM_ICDF(a0), AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(CDF_PROB_TOP), 0
50 , AOM_ICDF(a1), AOM_ICDF(a2), AOM_ICDF(a3), AOM_ICDF(CDF_PROB_TOP), 0
54 AOM_ICDF(CDF_PROB_TOP), 0
58 AOM_ICDF(CDF_PROB_TOP), 0
62 AOM_ICDF(a6), AOM_ICDF(CDF_PROB_TOP), 0
66 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.c4218 cdf_ptr_left[i * cdf_stride + j] < CDF_PROB_TOP); in avg_cdf_symbol()
/external/libaom/libaom/av1/common/
Dav1_common_int.h1123 return (element > 0 ? cdf[element - 1] : CDF_PROB_TOP) - cdf[element]; in cdf_element_prob()
1130 out[0] = CDF_PROB_TOP; in partition_gather_horz_alike()
1138 out[1] = AOM_ICDF(CDF_PROB_TOP); in partition_gather_horz_alike()
1145 out[0] = CDF_PROB_TOP; in partition_gather_vert_alike()
1153 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.c1307 assert(cdf[1] == AOM_ICDF(CDF_PROB_TOP)); in read_partition()
1314 assert(cdf[1] == AOM_ICDF(CDF_PROB_TOP)); in read_partition()