Lines Matching defs:gfp
69 is_lame_global_flags_valid(const lame_global_flags * gfp)
71 if (gfp == NULL)
73 if (gfp->class_id != LAME_ID)
365 lame_init_qval(lame_global_flags * gfp)
367 lame_internal_flags *const gfc = gfp->internal_flags;
370 switch (gfp->quality) {
381 gfp->quality = 7;
535 * Finally, we set the algorithm flags based on the gfp->quality value
536 * lame_init_qval(gfp);
540 lame_init_params(lame_global_flags * gfp)
548 if (!is_lame_global_flags_valid(gfp))
551 gfc = gfp->internal_flags;
562 if (gfp->samplerate_in < 1)
564 if (gfp->num_channels < 1 || 2 < gfp->num_channels)
566 if (gfp->samplerate_out != 0) {
568 if (SmpFrqIndex(gfp->samplerate_out, &v) < 0)
574 cfg->enforce_min_bitrate = gfp->VBR_hard_min;
575 cfg->analysis = gfp->analysis;
577 gfp->write_lame_tag = 0;
581 gfp->write_lame_tag = 0; /* disable Xing VBR tag */
584 gfc->report_msg = gfp->report.msgf;
585 gfc->report_dbg = gfp->report.debugf;
586 gfc->report_err = gfp->report.errorf;
588 if (gfp->asm_optimizations.amd3dnow)
593 if (gfp->asm_optimizations.mmx)
598 if (gfp->asm_optimizations.sse) {
608 cfg->vbr = gfp->VBR;
609 cfg->error_protection = gfp->error_protection;
610 cfg->copyright = gfp->copyright;
611 cfg->original = gfp->original;
612 cfg->extension = gfp->extension;
613 cfg->emphasis = gfp->emphasis;
615 cfg->channels_in = gfp->num_channels;
617 gfp->mode = MONO;
618 cfg->channels_out = (gfp->mode == MONO) ? 1 : 2;
619 if (gfp->mode != JOINT_STEREO)
620 gfp->force_ms = 0; /* forced mid/side stereo for j-stereo only */
621 cfg->force_ms = gfp->force_ms;
623 if (cfg->vbr == vbr_off && gfp->VBR_mean_bitrate_kbps != 128 && gfp->brate == 0)
624 gfp->brate = gfp->VBR_mean_bitrate_kbps;
633 gfp->free_format = 0; /* mode can't be mixed with free format */
637 cfg->free_format = gfp->free_format;
639 if (cfg->vbr == vbr_off && gfp->brate == 0) {
641 if (EQ(gfp->compression_ratio, 0))
642 gfp->compression_ratio = 11.025; /* rate to compress a CD down to exactly 128000 bps */
646 if (cfg->vbr == vbr_off && gfp->compression_ratio > 0) {
648 if (gfp->samplerate_out == 0)
649 gfp->samplerate_out = map2MP3Frequency((int) (0.97 * gfp->samplerate_in)); /* round up with a margin of 3% */
654 gfp->brate = gfp->samplerate_out * 16 * cfg->channels_out / (1.e3 * gfp->compression_ratio);
657 cfg->samplerate_index = SmpFrqIndex(gfp->samplerate_out, &cfg->version);
661 gfp->brate = FindNearestBitrate(gfp->brate, cfg->version, gfp->samplerate_out);
663 if (gfp->samplerate_out) {
664 if (gfp->samplerate_out < 16000) {
665 gfp->VBR_mean_bitrate_kbps = Max(gfp->VBR_mean_bitrate_kbps, 8);
666 gfp->VBR_mean_bitrate_kbps = Min(gfp->VBR_mean_bitrate_kbps, 64);
668 else if (gfp->samplerate_out < 32000) {
669 gfp->VBR_mean_bitrate_kbps = Max(gfp->VBR_mean_bitrate_kbps, 8);
670 gfp->VBR_mean_bitrate_kbps = Min(gfp->VBR_mean_bitrate_kbps, 160);
673 gfp->VBR_mean_bitrate_kbps = Max(gfp->VBR_mean_bitrate_kbps, 32);
674 gfp->VBR_mean_bitrate_kbps = Min(gfp->VBR_mean_bitrate_kbps, 320);
679 if (gfp->samplerate_out == 0 && (cfg->vbr == vbr_mt || cfg->vbr == vbr_mtrh)) {
680 float const qval = gfp->VBR_q + gfp->VBR_q_frac;
694 if (gfp->samplerate_in == m[i].sr_a) {
698 gfp->VBR_q = (int)d;
699 gfp->VBR_q_frac = d - gfp->VBR_q;
702 if (gfp->samplerate_in >= m[i].sr_a) {
707 gfp->VBR_q = (int)d;
708 gfp->VBR_q_frac = d - gfp->VBR_q;
709 gfp->samplerate_out = m[i].sr_a;
710 if (gfp->lowpassfreq == 0) {
711 gfp->lowpassfreq = -1;
722 if (gfp->lowpassfreq == 0) {
728 optimum_bandwidth(&lowpass, &highpass, gfp->brate);
732 optimum_bandwidth(&lowpass, &highpass, gfp->VBR_mean_bitrate_kbps);
739 if (0 <= gfp->VBR_q && gfp->VBR_q <= 9) {
740 double a = x[gfp->VBR_q], b = x[gfp->VBR_q + 1], m = gfp->VBR_q_frac;
753 if (0 <= gfp->VBR_q && gfp->VBR_q <= 9) {
754 double a = x[gfp->VBR_q], b = x[gfp->VBR_q + 1], m = gfp->VBR_q_frac;
766 if (0 <= gfp->VBR_q && gfp->VBR_q <= 9) {
767 double a = x[gfp->VBR_q], b = x[gfp->VBR_q + 1], m = gfp->VBR_q_frac;
776 if (gfp->mode == MONO && (cfg->vbr == vbr_off || cfg->vbr == vbr_abr))
779 gfp->lowpassfreq = lowpass;
782 if (gfp->samplerate_out == 0) {
783 if (2 * gfp->lowpassfreq > gfp->samplerate_in) {
784 gfp->lowpassfreq = gfp->samplerate_in / 2;
786 gfp->samplerate_out = optimum_samplefreq((int) gfp->lowpassfreq, gfp->samplerate_in);
789 gfp->lowpassfreq = Min(24000, gfp->lowpassfreq);
792 gfp->lowpassfreq = Min(20500, gfp->lowpassfreq);
794 gfp->lowpassfreq = Min(gfp->samplerate_out / 2, gfp->lowpassfreq);
797 gfp->compression_ratio = gfp->samplerate_out * 16 * cfg->channels_out / (1.e3 * gfp->brate);
800 gfp->compression_ratio =
801 gfp->samplerate_out * 16 * cfg->channels_out / (1.e3 * gfp->VBR_mean_bitrate_kbps);
804 cfg->disable_reservoir = gfp->disable_reservoir;
805 cfg->lowpassfreq = gfp->lowpassfreq;
806 cfg->highpassfreq = gfp->highpassfreq;
807 cfg->samplerate_in = gfp->samplerate_in;
808 cfg->samplerate_out = gfp->samplerate_out;
847 gfp->compression_ratio = cmp[gfp->VBR_q];
851 gfp->compression_ratio =
852 cfg->samplerate_out * 16 * cfg->channels_out / (1.e3 * gfp->VBR_mean_bitrate_kbps);
855 gfp->compression_ratio = cfg->samplerate_out * 16 * cfg->channels_out / (1.e3 * gfp->brate);
864 if (gfp->mode == NOT_SET) {
865 gfp->mode = JOINT_STEREO;
868 cfg->mode = gfp->mode;
875 if (gfp->highpasswidth >= 0)
876 cfg->highpass2 = 2. * (cfg->highpassfreq + gfp->highpasswidth);
892 if (gfp->lowpasswidth >= 0) {
893 cfg->lowpass1 = 2. * (cfg->lowpassfreq - gfp->lowpasswidth);
924 gfp->brate = FindNearestBitrate(gfp->brate, cfg->version, cfg->samplerate_out);
925 gfc->ov_enc.bitrate_index = BitrateIndex(gfp->brate, cfg->version, cfg->samplerate_out);
977 if (gfp->ATHtype == -1)
978 gfp->ATHtype = 4;
981 assert(gfp->VBR_q <= 9);
982 assert(gfp->VBR_q >= 0);
988 if (gfp->strict_ISO < 0) {
989 gfp->strict_ISO = MDB_MAXIMUM;
991 if (gfp->useTemporal < 0) {
992 gfp->useTemporal = 0; /* off by default for this VBR mode */
995 (void) apply_preset(gfp, 500 - (gfp->VBR_q * 10), 0);
1001 if (gfp->quality < 0)
1002 gfp->quality = LAME_DEFAULT_QUALITY;
1003 if (gfp->quality < 5)
1004 gfp->quality = 0;
1005 if (gfp->quality > 7)
1006 gfp->quality = 7;
1010 if (gfp->experimentalY)
1020 (void) apply_preset(gfp, 500 - (gfp->VBR_q * 10), 0);
1024 if (gfp->experimentalY)
1034 if (gfp->quality > 6)
1035 gfp->quality = 6;
1038 if (gfp->quality < 0)
1039 gfp->quality = LAME_DEFAULT_QUALITY;
1050 if (gfp->quality < 0)
1051 gfp->quality = LAME_DEFAULT_QUALITY;
1055 (void) lame_set_VBR_mean_bitrate_kbps(gfp, gfp->brate);
1057 (void) apply_preset(gfp, gfp->VBR_mean_bitrate_kbps, 0);
1058 gfp->VBR = cfg->vbr;
1066 gfc->sv_qnt.mask_adjust = gfp->maskingadjust;
1067 gfc->sv_qnt.mask_adjust_short = gfp->maskingadjust_short;
1070 if (gfp->tune) {
1071 gfc->sv_qnt.mask_adjust += gfp->tune_value_a;
1072 gfc->sv_qnt.mask_adjust_short += gfp->tune_value_a;
1082 if (gfp->VBR_min_bitrate_kbps) {
1083 gfp->VBR_min_bitrate_kbps =
1084 FindNearestBitrate(gfp->VBR_min_bitrate_kbps, cfg->version, cfg->samplerate_out);
1086 BitrateIndex(gfp->VBR_min_bitrate_kbps, cfg->version, cfg->samplerate_out);
1095 if (gfp->VBR_max_bitrate_kbps) {
1096 gfp->VBR_max_bitrate_kbps =
1097 FindNearestBitrate(gfp->VBR_max_bitrate_kbps, cfg->version, cfg->samplerate_out);
1099 BitrateIndex(gfp->VBR_max_bitrate_kbps, cfg->version, cfg->samplerate_out);
1108 gfp->VBR_min_bitrate_kbps = bitrate_table[cfg->version][cfg->vbr_min_bitrate_index];
1109 gfp->VBR_max_bitrate_kbps = bitrate_table[cfg->version][cfg->vbr_max_bitrate_index];
1110 gfp->VBR_mean_bitrate_kbps =
1112 gfp->VBR_mean_bitrate_kbps);
1113 gfp->VBR_mean_bitrate_kbps =
1115 gfp->VBR_mean_bitrate_kbps);
1118 cfg->preset = gfp->preset;
1119 cfg->write_lame_tag = gfp->write_lame_tag;
1120 gfc->sv_qnt.substep_shaping = gfp->substep_shaping;
1121 cfg->noise_shaping = gfp->noise_shaping;
1122 cfg->subblock_gain = gfp->subblock_gain;
1123 cfg->use_best_huffman = gfp->use_best_huffman;
1124 cfg->avg_bitrate = gfp->brate;
1125 cfg->vbr_avg_bitrate_kbps = gfp->VBR_mean_bitrate_kbps;
1126 cfg->compression_ratio = gfp->compression_ratio;
1129 lame_init_qval(gfp);
1134 if (gfp->athaa_type < 0)
1137 gfc->ATH->use_adjust = gfp->athaa_type;
1141 gfc->ATH->aa_sensitivity_p = pow(10.0, gfp->athaa_sensitivity / -10.0);
1144 if (gfp->short_blocks == short_block_not_set) {
1145 gfp->short_blocks = short_block_allowed;
1156 if (gfp->short_blocks == short_block_allowed
1158 gfp->short_blocks = short_block_coupled;
1161 cfg->short_blocks = gfp->short_blocks;
1164 if (lame_get_quant_comp(gfp) < 0)
1165 (void) lame_set_quant_comp(gfp, 1);
1166 if (lame_get_quant_comp_short(gfp) < 0)
1167 (void) lame_set_quant_comp_short(gfp, 0);
1169 if (lame_get_msfix(gfp) < 0)
1170 lame_set_msfix(gfp, 0);
1173 (void) lame_set_exp_nspsytune(gfp, lame_get_exp_nspsytune(gfp) | 1);
1175 if (gfp->ATHtype < 0)
1176 gfp->ATHtype = 4;
1178 if (gfp->ATHcurve < 0)
1179 gfp->ATHcurve = 4;
1181 if (gfp->interChRatio < 0)
1182 gfp->interChRatio = 0;
1184 if (gfp->useTemporal < 0)
1185 gfp->useTemporal = 1; /* on by default */
1188 cfg->interChRatio = gfp->interChRatio;
1189 cfg->msfix = gfp->msfix;
1190 cfg->ATH_offset_db = 0-gfp->ATH_lower_db;
1192 cfg->ATHcurve = gfp->ATHcurve;
1193 cfg->ATHtype = gfp->ATHtype;
1194 cfg->ATHonly = gfp->ATHonly;
1195 cfg->ATHshort = gfp->ATHshort;
1196 cfg->noATH = gfp->noATH;
1198 cfg->quant_comp = gfp->quant_comp;
1199 cfg->quant_comp_short = gfp->quant_comp_short;
1201 cfg->use_temporal_masking_effect = gfp->useTemporal;
1203 cfg->use_safe_joint_stereo = gfp->exp_nspsytune & 2;
1209 cfg->adjust_bass_db = (gfp->exp_nspsytune >> 2) & 63;
1214 cfg->adjust_alto_db = (gfp->exp_nspsytune >> 8) & 63;
1219 cfg->adjust_treble_db = (gfp->exp_nspsytune >> 14) & 63;
1226 cfg->adjust_sfb21_db = (gfp->exp_nspsytune >> 20) & 63;
1240 m[0][0] *= gfp->scale;
1241 m[0][1] *= gfp->scale;
1242 m[1][0] *= gfp->scale;
1243 m[1][1] *= gfp->scale;
1245 m[0][0] *= gfp->scale_left;
1246 m[0][1] *= gfp->scale_left;
1248 m[1][0] *= gfp->scale_right;
1249 m[1][1] *= gfp->scale_right;
1276 (void) lame_init_bitstream(gfp);
1279 (void) psymodel_init(gfp);
1281 cfg->buffer_constraint = get_max_frame_buffer_size_by_constraint(cfg, gfp->strict_ISO);
1284 cfg->findReplayGain = gfp->findReplayGain;
1285 cfg->decode_on_the_fly = gfp->decode_on_the_fly;
1301 if (cfg->decode_on_the_fly && !gfp->decode_only) {
1307 hip_set_errorf(gfc->hip, gfp->report.errorf);
1308 hip_set_debugf(gfc->hip, gfp->report.debugf);
1309 hip_set_msgf(gfc->hip, gfp->report.msgf);
1334 lame_print_config(const lame_global_flags * gfp)
1336 lame_internal_flags const *const gfc = gfp->internal_flags;
1425 lame_print_internals(const lame_global_flags * gfp)
1427 lame_internal_flags const *const gfc = gfp->internal_flags;
1435 MSGF(gfc, "\tscaling: %g\n", gfp->scale);
1436 MSGF(gfc, "\tch0 (left) scaling: %g\n", gfp->scale_left);
1437 MSGF(gfc, "\tch1 (right) scaling: %g\n", gfp->scale_right);
1450 MSGF(gfc, "\texperimental Y=%d\n", gfp->experimentalY);
1875 lame_encode_buffer_template(lame_global_flags * gfp,
1879 if (is_lame_global_flags_valid(gfp)) {
1880 lame_internal_flags *const gfc = gfp->internal_flags;
1911 lame_encode_buffer(lame_global_flags * gfp,
1915 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_short_type, 1, 1.0);
1920 lame_encode_buffer_float(lame_global_flags * gfp,
1925 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_float_type, 1, 1.0);
1930 lame_encode_buffer_ieee_float(lame_t gfp,
1935 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_float_type, 1, 32767.0);
1940 lame_encode_buffer_interleaved_ieee_float(lame_t gfp,
1945 return lame_encode_buffer_template(gfp, pcm, pcm+1, nsamples, mp3buf, mp3buf_size, pcm_float_type, 2, 32767.0);
1950 lame_encode_buffer_ieee_double(lame_t gfp,
1955 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_double_type, 1, 32767.0);
1960 lame_encode_buffer_interleaved_ieee_double(lame_t gfp,
1965 return lame_encode_buffer_template(gfp, pcm, pcm+1, nsamples, mp3buf, mp3buf_size, pcm_double_type, 2, 32767.0);
1970 lame_encode_buffer_int(lame_global_flags * gfp,
1976 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_int_type, 1, norm);
1981 lame_encode_buffer_long2(lame_global_flags * gfp,
1987 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_long_type, 1, norm);
1992 lame_encode_buffer_long(lame_global_flags * gfp,
1997 return lame_encode_buffer_template(gfp, pcm_l, pcm_r, nsamples, mp3buf, mp3buf_size, pcm_long_type, 1, 1.0);
2003 lame_encode_buffer_interleaved(lame_global_flags * gfp,
2008 return lame_encode_buffer_template(gfp, pcm, pcm+1, nsamples, mp3buf, mp3buf_size, pcm_short_type, 2, 1.0);
2013 lame_encode_buffer_interleaved_int(lame_t gfp,
2019 return lame_encode_buffer_template(gfp, pcm, pcm + 1, nsamples, mp3buf, mp3buf_size, pcm_int_type, 2, norm);
2035 lame_encode_flush_nogap(lame_global_flags * gfp, unsigned char *mp3buffer, int mp3buffer_size)
2038 if (is_lame_global_flags_valid(gfp)) {
2039 lame_internal_flags *const gfc = gfp->internal_flags;
2056 lame_init_bitstream(lame_global_flags * gfp)
2058 if (is_lame_global_flags_valid(gfp)) {
2059 lame_internal_flags *const gfc = gfp->internal_flags;
2063 if (gfp->write_id3tag_automatic) {
2064 (void) id3tag_write_v2(gfp);
2076 (void) InitVbrTag(gfp);
2115 lame_encode_flush(lame_global_flags * gfp, unsigned char *mp3buffer, int mp3buffer_size)
2133 if (!is_lame_global_flags_valid(gfp)) {
2136 gfc = gfp->internal_flags;
2180 imp3 = lame_encode_buffer(gfp, buffer[0], buffer[1], bunch,
2221 if (gfp->write_id3tag_automatic) {
2223 (void) id3tag_write_v1(gfp);
2259 lame_close(lame_global_flags * gfp)
2262 if (gfp && gfp->class_id == LAME_ID) {
2263 lame_internal_flags *const gfc = gfp->internal_flags;
2264 gfp->class_id = 0;
2273 gfp->internal_flags = NULL;
2275 if (gfp->lame_allocated_gfp) {
2276 gfp->lame_allocated_gfp = 0;
2277 free(gfp);
2288 lame_encode_finish(lame_global_flags * gfp, unsigned char *mp3buffer, int mp3buffer_size);
2293 lame_encode_finish(lame_global_flags * gfp, unsigned char *mp3buffer, int mp3buffer_size)
2295 int const ret = lame_encode_flush(gfp, mp3buffer, mp3buffer_size);
2297 (void) lame_close(gfp);
2305 void lame_mp3_tags_fid(lame_global_flags * gfp, FILE * fpStream);
2308 lame_mp3_tags_fid(lame_global_flags * gfp, FILE * fpStream)
2312 if (!is_lame_global_flags_valid(gfp)) {
2315 gfc = gfp->internal_flags;
2325 int rc = PutVbrTag(gfp, fpStream);
2401 lame_init_old(lame_global_flags * gfp)
2405 memset(gfp, 0, sizeof(lame_global_flags));
2407 gfp->class_id = LAME_ID;
2415 gfp->strict_ISO = MDB_MAXIMUM;
2417 gfp->mode = NOT_SET;
2418 gfp->original = 1;
2419 gfp->samplerate_in = 44100;
2420 gfp->num_channels = 2;
2421 gfp->num_samples = MAX_U_32_NUM;
2423 gfp->write_lame_tag = 1;
2424 gfp->quality = -1;
2425 gfp->short_blocks = short_block_not_set;
2426 gfp->subblock_gain = -1;
2428 gfp->lowpassfreq = 0;
2429 gfp->highpassfreq = 0;
2430 gfp->lowpasswidth = -1;
2431 gfp->highpasswidth = -1;
2433 gfp->VBR = vbr_off;
2434 gfp->VBR_q = 4;
2435 gfp->VBR_mean_bitrate_kbps = 128;
2436 gfp->VBR_min_bitrate_kbps = 0;
2437 gfp->VBR_max_bitrate_kbps = 0;
2438 gfp->VBR_hard_min = 0;
2440 gfp->quant_comp = -1;
2441 gfp->quant_comp_short = -1;
2443 gfp->msfix = -1;
2445 gfp->attackthre = -1;
2446 gfp->attackthre_s = -1;
2448 gfp->scale = 1;
2449 gfp->scale_left = 1;
2450 gfp->scale_right = 1;
2452 gfp->ATHcurve = -1;
2453 gfp->ATHtype = -1; /* default = -1 = set in lame_init_params */
2455 gfp->athaa_sensitivity = 0.0; /* no offset */
2456 gfp->athaa_type = -1;
2457 gfp->useTemporal = -1;
2458 gfp->interChRatio = -1;
2460 gfp->findReplayGain = 0;
2461 gfp->decode_on_the_fly = 0;
2463 gfp->asm_optimizations.mmx = 1;
2464 gfp->asm_optimizations.amd3dnow = 1;
2465 gfp->asm_optimizations.sse = 1;
2467 gfp->preset = 0;
2469 gfp->write_id3tag_automatic = 1;
2471 gfp->report.debugf = &lame_report_def;
2472 gfp->report.errorf = &lame_report_def;
2473 gfp->report.msgf = &lame_report_def;
2475 gfp->internal_flags = lame_calloc(lame_internal_flags, 1);
2477 if (lame_init_internal_flags(gfp->internal_flags) < 0) {
2478 freegfc(gfp->internal_flags);
2479 gfp->internal_flags = 0;
2489 lame_global_flags *gfp;
2494 gfp = lame_calloc(lame_global_flags, 1);
2495 if (gfp == NULL)
2498 ret = lame_init_old(gfp);
2500 free(gfp);
2504 gfp->lame_allocated_gfp = 1;
2505 return gfp;
2536 lame_bitrate_kbps(const lame_global_flags * gfp, int bitrate_kbps[14])
2538 if (is_lame_global_flags_valid(gfp)) {
2539 lame_internal_flags const *const gfc = gfp->internal_flags;
2558 lame_bitrate_hist(const lame_global_flags * gfp, int bitrate_count[14])
2560 if (is_lame_global_flags_valid(gfp)) {
2561 lame_internal_flags const *const gfc = gfp->internal_flags;
2584 lame_stereo_mode_hist(const lame_global_flags * gfp, int stmode_count[4])
2586 if (is_lame_global_flags_valid(gfp)) {
2587 lame_internal_flags const *const gfc = gfp->internal_flags;
2602 lame_bitrate_stereo_mode_hist(const lame_global_flags * gfp, int bitrate_stmode_count[14][4])
2604 if (is_lame_global_flags_valid(gfp)) {
2605 lame_internal_flags const *const gfc = gfp->internal_flags;
2634 lame_block_type_hist(const lame_global_flags * gfp, int btype_count[6])
2636 if (is_lame_global_flags_valid(gfp)) {
2637 lame_internal_flags const *const gfc = gfp->internal_flags;
2652 lame_bitrate_block_type_hist(const lame_global_flags * gfp, int bitrate_btype_count[14][6])
2654 if (is_lame_global_flags_valid(gfp)) {
2655 lame_internal_flags const *const gfc = gfp->internal_flags;