Home | History | Annotate | Download | only in include

Lines Matching full:bitcount

224    this.bitcount = 0;
340 if (!d.bitcount--)
344 d.bitcount = 7;
355 function read_bits_direct(source, bitcount, tag, idx, num)
358 while (bitcount < 24) {
359 tag = tag | (source[idx++] & 0xff) << bitcount;
360 bitcount += 8;
364 bitcount -= num;
365 return [bitcount, tag, idx, val];
372 var ret = read_bits_direct(d.source, d.bitcount, d.tag, d.sourceIndex, num);
373 d.bitcount = ret[0];
382 while (d.bitcount < 16) {
383 d.tag = d.tag | (d.source[d.sourceIndex++] & 0xff) << d.bitcount;
384 d.bitcount += 8;
399 d.bitcount -= len;
537 if (d.bitcount > 7) {
538 var overflow = Math.floor(d.bitcount / 8);
540 d.bitcount = 0;
564 d.bitcount = 0;
623 d.bitcount = 0;