Lines Matching refs:fr
131 II_step_one(PMPSTR mp, sideinfo_layer_II *si, struct frame *fr)
133 int nch = fr->stereo;
134 int sblimit = fr->II_sblimit;
135 int jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ? (fr->mode_ext << 2) + 4 : fr->II_sblimit;
136 struct al_table2 const *alloc1 = fr->alloc;
218 II_step_two(PMPSTR mp, sideinfo_layer_II* si, struct frame *fr, int gr, real fraction[2][4][SBLIMIT])
220 struct al_table2 const *alloc1 = fr->alloc;
221 int sblimit = fr->II_sblimit;
222 int jsbound = (fr->mode == MPG_MD_JOINT_STEREO) ? (fr->mode_ext << 2) + 4 : fr->II_sblimit;
223 int i, ch, nch = fr->stereo;
322 if (sblimit > fr->down_sample_sblimit) {
323 sblimit = fr->down_sample_sblimit;
333 II_select_table(struct frame *fr)
349 if (fr->lsf)
352 table = translate[fr->sampling_frequency][2 - fr->stereo][fr->bitrate_index];
355 fr->alloc = (struct al_table2 const *) tables[table];
356 fr->II_sblimit = sblim;
373 struct frame *fr = &(mp->fr);
374 int single = fr->single;
377 II_select_table(fr);
378 II_step_one(mp, &si, fr);
380 if (fr->stereo == 1 || single == 3)
385 II_step_two(mp, &si, fr, i >> 2, fraction);
393 II_step_two(mp, &si, fr, i >> 2, fraction);