Lines Matching refs:logp1
231 unsigned *logp1; in main() local
237 logp1=(unsigned *)malloc(sz*sizeof(*logp1)); in main()
245 logp1[j]=(rand()%15)+1; in main()
249 ec_encode(&enc,data[j]?(1<<logp1[j])-1:0, in main()
250 (1<<logp1[j])-(data[j]?0:1),1<<logp1[j]); in main()
253 ec_encode_bin(&enc,data[j]?(1<<logp1[j])-1:0, in main()
254 (1<<logp1[j])-(data[j]?0:1),logp1[j]); in main()
257 ec_enc_bit_logp(&enc,data[j],logp1[j]); in main()
263 ec_enc_icdf(&enc,data[j],icdf,logp1[j]); in main()
286 fs=ec_decode(&dec,1<<logp1[j]); in main()
287 sym=fs>=(1<<logp1[j])-1; in main()
288 ec_dec_update(&dec,sym?(1<<logp1[j])-1:0, in main()
289 (1<<logp1[j])-(sym?0:1),1<<logp1[j]); in main()
292 fs=ec_decode_bin(&dec,logp1[j]); in main()
293 sym=fs>=(1<<logp1[j])-1; in main()
294 ec_dec_update(&dec,sym?(1<<logp1[j])-1:0, in main()
295 (1<<logp1[j])-(sym?0:1),1<<logp1[j]); in main()
298 sym=ec_dec_bit_logp(&dec,logp1[j]); in main()
304 sym=ec_dec_icdf(&dec,icdf,logp1[j]); in main()
310 sym,data[j],logp1[j],j,sz,seed); in main()
324 free(logp1); in main()