Lines Matching refs:preset
216 apply_abr_preset(lame_global_flags * gfp, int preset, int enforce) in apply_abr_preset() argument
265 int actual_bitrate = preset; in apply_abr_preset()
267 r = nearestBitrateFullIndex(preset); in apply_abr_preset()
314 return preset; in apply_abr_preset()
320 apply_preset(lame_global_flags * gfp, int preset, int enforce) in apply_preset() argument
323 switch (preset) { in apply_preset()
326 preset = V3; in apply_preset()
333 preset = V4; in apply_preset()
340 preset = V2; in apply_preset()
347 preset = V0; in apply_preset()
353 preset = 320; in apply_preset()
354 gfp->preset = preset; in apply_preset()
355 (void) apply_abr_preset(gfp, preset, enforce); in apply_preset()
357 return preset; in apply_preset()
361 gfp->preset = preset; in apply_preset()
363 switch (preset) { in apply_preset()
366 return preset; in apply_preset()
369 return preset; in apply_preset()
372 return preset; in apply_preset()
375 return preset; in apply_preset()
378 return preset; in apply_preset()
381 return preset; in apply_preset()
384 return preset; in apply_preset()
387 return preset; in apply_preset()
390 return preset; in apply_preset()
393 return preset; in apply_preset()
398 if (8 <= preset && preset <= 320) { in apply_preset()
399 return apply_abr_preset(gfp, preset, enforce); in apply_preset()
402 gfp->preset = 0; /*no corresponding preset found */ in apply_preset()
403 return preset; in apply_preset()