Lines Matching defs:cfg

669     SessionConfig_t const *const cfg = &gfc->cfg;
671 plotting_data *plt = cfg->analysis ? gfc->pinfo : 0;
776 SessionConfig_t const *const cfg = &gfc->cfg;
778 plotting_data *plt = cfg->analysis ? gfc->pinfo : 0;
779 int const n_chn_out = cfg->channels_out;
781 int const n_chn_psy = (cfg->mode == JOINT_STEREO) ? 4 : n_chn_out;
1276 vbrpsy_compute_block_type(SessionConfig_t const *cfg, int *uselongblock)
1280 if (cfg->short_blocks == short_block_coupled
1287 for (chn = 0; chn < cfg->channels_out; chn++) {
1289 if (cfg->short_blocks == short_block_dispensed) {
1292 if (cfg->short_blocks == short_block_forced) {
1415 SessionConfig_t const *const cfg = &gfc->cfg;
1419 plotting_data *plt = cfg->analysis ? gfc->pinfo : 0;
1436 (cfg->msfix > 0.f) ? (cfg->ATH_offset_factor * gfc->ATH->adjust_factor) : 1.f;
1449 int const n_chn_psy = (cfg->mode == JOINT_STEREO) ? 4 : cfg->channels_out;
1456 vbrpsy_compute_block_type(cfg, uselongblock);
1468 if (cfg->mode == JOINT_STEREO) {
1471 ath_factor, cfg->msfix, gdl->npart);
1497 if (cfg->mode == JOINT_STEREO) {
1500 ath_factor, cfg->msfix, gds->npart);
1573 vbrpsy_apply_block_type(psv, cfg->channels_out, uselongblock, blocktype_d);
1881 SessionConfig_t *const cfg = &gfc->cfg;
1892 FLOAT const sfreq = cfg->samplerate_out;
1895 FLOAT const minval_low = (0.f - cfg->minval);
1968 level = ATHformula(cfg, freq * 1000) - 20; /* scale to FFT units; returned value is in dB */
1990 if (cfg->samplerate_out < 44000) {
2021 level = ATHformula(cfg, freq * 1000) - 20; /* scale to FFT units; returned value is in dB */
2045 if (cfg->samplerate_out < 44000) {
2066 if (cfg->use_safe_joint_stereo)
2068 if (fabs(cfg->msfix) > 0.0)
2069 msfix = cfg->msfix;
2070 cfg->msfix = msfix;
2083 #define frame_duration (576. * cfg->mode_gr / sfreq)
2092 if (cfg->ATHtype != -1) {
2095 FLOAT const freq_inc = (FLOAT) cfg->samplerate_out / (FLOAT) (BLKSIZE);
2102 gfc->ATH->eql_w[i] = 1. / pow(10, ATHformula(cfg, freq) / 10);