Lines Matching refs:framelen
285 unsigned framelen = ((frame[3] & 3) << 11) | (frame[4] << 3) | (frame[5] >> 5);
286 if (framelen <= filelen) {
289 frame, framelen, NULL, 0);
291 frame += framelen;
292 filelen -= framelen;
295 frameStats.sample(framelen);
298 "partial ADTS frame at EOF discarded; offset=%zu, framelen=%u, filelen=%zu\n",
299 frame - (unsigned char *) ptr, framelen, filelen);
654 unsigned framelen = ((frame[3] & 3) << 11) | (frame[4] << 3) | (frame[5] >> 5);
655 printf(" %d (%u bytes)", i, framelen);
657 frame, framelen, NULL, 0);
659 frame += framelen;
660 filelen -= framelen;
663 frameStats.sample(framelen);