Lines Matching refs:logp1
230 unsigned *logp1; in main() local
236 logp1=(unsigned *)malloc(sz*sizeof(*logp1)); in main()
244 logp1[j]=(rand()%15)+1; in main()
248 ec_encode(&enc,data[j]?(1<<logp1[j])-1:0, in main()
249 (1<<logp1[j])-(data[j]?0:1),1<<logp1[j]); in main()
252 ec_encode_bin(&enc,data[j]?(1<<logp1[j])-1:0, in main()
253 (1<<logp1[j])-(data[j]?0:1),logp1[j]); in main()
256 ec_enc_bit_logp(&enc,data[j],logp1[j]); in main()
262 ec_enc_icdf(&enc,data[j],icdf,logp1[j]); in main()
285 fs=ec_decode(&dec,1<<logp1[j]); in main()
286 sym=fs>=(1<<logp1[j])-1; in main()
287 ec_dec_update(&dec,sym?(1<<logp1[j])-1:0, in main()
288 (1<<logp1[j])-(sym?0:1),1<<logp1[j]); in main()
291 fs=ec_decode_bin(&dec,logp1[j]); in main()
292 sym=fs>=(1<<logp1[j])-1; in main()
293 ec_dec_update(&dec,sym?(1<<logp1[j])-1:0, in main()
294 (1<<logp1[j])-(sym?0:1),1<<logp1[j]); in main()
297 sym=ec_dec_bit_logp(&dec,logp1[j]); in main()
303 sym=ec_dec_icdf(&dec,icdf,logp1[j]); in main()
309 sym,data[j],logp1[j],j,sz,seed); in main()
323 free(logp1); in main()