Home | History | Annotate | Download | only in examples

Lines Matching refs:framelen

286         unsigned framelen = ((frame[3] & 3) << 11) | (frame[4] << 3) | (frame[5] >> 5);
287 if (framelen <= filelen) {
290 frame, framelen, NULL, 0);
292 frame += framelen;
293 filelen -= framelen;
296 frameStats.sample(framelen);
299 "partial ADTS frame at EOF discarded; offset=%u, framelen=%u, filelen=%u\n",
300 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);