Searched refs:icdf (Results 1 – 4 of 4) sorted by relevance
/external/libopus/silk/ |
D | code_signs.c | 51 opus_uint8 icdf[ 2 ]; in silk_encode_signs() local 55 icdf[ 1 ] = 0; in silk_encode_signs() 63 icdf[ 0 ] = icdf_ptr[ silk_min( p & 0x1F, 6 ) ]; in silk_encode_signs() 66 ec_enc_icdf( psRangeEnc, silk_enc_map( q_ptr[ j ]), icdf, 8 ); in silk_encode_signs() 85 opus_uint8 icdf[ 2 ]; in silk_decode_signs() local 89 icdf[ 1 ] = 0; in silk_decode_signs() 97 icdf[ 0 ] = icdf_ptr[ silk_min( p & 0x1F, 6 ) ]; in silk_decode_signs() 103 if( ec_dec_icdf( psRangeDec, icdf, 8 ) == 0 ) { in silk_decode_signs() 108 q_ptr[ j ] *= silk_dec_map( ec_dec_icdf( psRangeDec, icdf, 8 ) ); in silk_decode_signs()
|
/external/libopus/celt/tests/ |
D | test_unit_entropy.c | 260 unsigned char icdf[2]; in main() local 261 icdf[0]=1; in main() 262 icdf[1]=0; in main() 263 ec_enc_icdf(&enc,data[j],icdf,logp1[j]); in main() 301 unsigned char icdf[2]; in main() local 302 icdf[0]=1; in main() 303 icdf[1]=0; in main() 304 sym=ec_dec_icdf(&dec,icdf,logp1[j]); in main()
|
/external/libaom/libaom/aom_dsp/ |
D | entdec.c | 193 int od_ec_decode_cdf_q15(od_ec_dec *dec, const uint16_t *icdf, int nsyms) { in od_ec_decode_cdf_q15() argument 206 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_decode_cdf_q15() 214 v = ((r >> 8) * (uint32_t)(icdf[++ret] >> EC_PROB_SHIFT) >> in od_ec_decode_cdf_q15()
|
D | entenc.c | 221 void od_ec_encode_cdf_q15(od_ec_enc *enc, int s, const uint16_t *icdf, in od_ec_encode_cdf_q15() argument 226 assert(icdf[nsyms - 1] == OD_ICDF(CDF_PROB_TOP)); in od_ec_encode_cdf_q15() 227 od_ec_encode_q15(enc, s > 0 ? icdf[s - 1] : OD_ICDF(0), icdf[s], s, nsyms); in od_ec_encode_cdf_q15()
|