Lines Matching defs:pch

267         AacPsyChannel *pch = &ctx->ch[i];
270 pch->attack_threshold = psy_vbr_map[av_clip(avctx->global_quality / FF_QP2LAMBDA, 0, 10)].st_lrm;
272 pch->attack_threshold = lame_calc_attack_threshold(avctx->bit_rate / avctx->ch_layout.nb_channels / 1000);
275 pch->prev_energy_subshort[j] = 10.0f;
417 AacPsyChannel *pch = &pctx->ch[channel];
419 int next_type = pch->next_window_seq;
430 v = iir_filter(la[i*128+j], pch->iir_state);
437 if (s[i] > pch->win_energy * attack_ratio) {
443 pch->win_energy = pch->win_energy*7/8 + sum2/64;
453 grouping = pch->next_grouping;
463 grouping = next_type == EIGHT_SHORT_SEQUENCE ? pch->next_grouping : 0;
468 pch->next_grouping = window_grouping[attack_n];
469 pch->next_window_seq = next_type;
600 static void calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch,
608 AacPsyBand *band = &pch->band[w+g];
656 AacPsyChannel *pch = &pctx->ch[channel];
669 calc_thr_3gpp(wi, num_bands, pch, band_sizes, coefs, cutoff);
673 AacPsyBand *bands = &pch->band[w];
693 PSY_3GPP_RPELEV*pch->prev_band[w+g].thr_quiet));
749 AacPsyBand *band = &pch->band[w+g];
765 AacPsyBand *band = &pch->band[w+g];
781 AacPsyBand *band = &pch->band[w+g];
803 AacPsyBand *band = &pch->band[w+g];
821 AacPsyBand *band = &pch->band[w+g];
835 AacPsyBand *band = &pch->band[w+g];
845 memcpy(pch->prev_band, pch->band, sizeof(pch->band));
888 AacPsyChannel *pch = &pctx->ch[channel];
909 energy_subshort[i] = pch->prev_energy_subshort[i + ((AAC_NUM_BLOCKS_SHORT - 1) * PSY_LAME_NUM_SUBBLOCKS)];
910 assert(pch->prev_energy_subshort[i + ((AAC_NUM_BLOCKS_SHORT - 2) * PSY_LAME_NUM_SUBBLOCKS + 1)] > 0);
911 attack_intensity[i] = energy_subshort[i] / pch->prev_energy_subshort[i + ((AAC_NUM_BLOCKS_SHORT - 2) * PSY_LAME_NUM_SUBBLOCKS + 1)];
920 pch->prev_energy_subshort[i] = energy_subshort[i + PSY_LAME_NUM_SUBBLOCKS] = p;
941 if (attack_intensity[i] > pch->attack_threshold)
962 if (attacks[0] <= pch->prev_attack)
967 if (pch->prev_attack == 3 || att_sum) {
979 lame_apply_block_type(pch, &wi, uselongblock);
997 if (!((pch->next_grouping >> i) & 1))
1015 pch->next_grouping = window_grouping[grouping];
1017 pch->prev_attack = attacks[8];