Lines Matching defs:fr
77 mp->fr.single = -1;
332 struct frame *fr = &mp->fr;
342 h = head_check(head, fr->lay);
364 h = ((stereo == fr->stereo) && (lsf == fr->lsf) && (mpeg25 == fr->mpeg25) &&
365 (sampling_frequency == fr->sampling_frequency));
399 if (mp->fr.lay == 3)
511 if (!decode_header(mp, &mp->fr, mp->header))
514 mp->framesize = mp->fr.framesize;
517 if (mp->fr.lsf)
518 mp->ssize = (mp->fr.stereo == 1) ? 9 : 17;
520 mp->ssize = (mp->fr.stereo == 1) ? 17 : 32;
521 if (mp->fr.error_protection)
541 if (mp->fr.lay == 3) {
547 if (mp->fr.error_protection)
560 int framesize = mp->fr.framesize - mp->ssize;
582 if (mp->fr.framesize > mp->bsize)
586 mp->dsize = mp->fr.framesize;
604 /*do_layer3(&mp->fr,(unsigned char *) out,done); */
605 switch (mp->fr.lay) {
607 if (mp->fr.error_protection)
615 if (mp->fr.error_protection)
625 lame_report_fnc(mp->report_err, "hip: invalid layer %d\n", mp->fr.lay);
641 mp->framesize = mp->fsizeold_nopadding + (mp->fr.padding);
648 mp->fsizeold_nopadding = mp->framesize - mp->fr.padding;
651 8*(4+mp->framesize)*freqs[mp->fr.sampling_frequency]/
652 (1000*576*(2-mp->fr.lsf)));