Home
last modified time | relevance | path

Searched refs:icdf (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/
Dcode_signs.c51 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/
Dtest_unit_entropy.c259 unsigned char icdf[2]; in main() local
260 icdf[0]=1; in main()
261 icdf[1]=0; in main()
262 ec_enc_icdf(&enc,data[j],icdf,logp1[j]); in main()
300 unsigned char icdf[2]; in main() local
301 icdf[0]=1; in main()
302 icdf[1]=0; in main()
303 sym=ec_dec_icdf(&dec,icdf,logp1[j]); in main()