• Home
  • Raw
  • Download

Lines Matching refs:cpe

33 struct AACISError ff_aac_is_encoding_err(AACEncContext *s, ChannelElement *cpe,  in ff_aac_is_encoding_err()  argument
39 SingleChannelElement *sce0 = &cpe->ch[0]; in ff_aac_is_encoding_err()
40 SingleChannelElement *sce1 = &cpe->ch[1]; in ff_aac_is_encoding_err()
98 void ff_aac_search_for_is(AACEncContext *s, AVCodecContext *avctx, ChannelElement *cpe) in ff_aac_search_for_is() argument
100 SingleChannelElement *sce0 = &cpe->ch[0]; in ff_aac_search_for_is()
101 SingleChannelElement *sce1 = &cpe->ch[1]; in ff_aac_search_for_is()
106 if (!cpe->common_window) in ff_aac_search_for_is()
116 cpe->ch[0].band_type[w*16+g] != NOISE_BT && !cpe->ch[0].zeroes[w*16+g] && in ff_aac_search_for_is()
117 cpe->ch[1].band_type[w*16+g] != NOISE_BT && !cpe->ch[1].zeroes[w*16+g] && in ff_aac_search_for_is()
131 ph_err1 = ff_aac_is_encoding_err(s, cpe, start, w, g, in ff_aac_search_for_is()
133 ph_err2 = ff_aac_is_encoding_err(s, cpe, start, w, g, in ff_aac_search_for_is()
137 cpe->is_mask[w*16+g] = 1; in ff_aac_search_for_is()
138 cpe->ms_mask[w*16+g] = 0; in ff_aac_search_for_is()
139 cpe->ch[0].is_ener[w*16+g] = sqrt(ener0 / best->ener01); in ff_aac_search_for_is()
140 cpe->ch[1].is_ener[w*16+g] = ener0/ener1; in ff_aac_search_for_is()
141 cpe->ch[1].band_type[w*16+g] = (best->phase > 0) ? INTENSITY_BT : INTENSITY_BT2; in ff_aac_search_for_is()
142 if (prev_is && prev_bt != cpe->ch[1].band_type[w*16+g]) { in ff_aac_search_for_is()
144 cpe->ms_mask[w*16+g] = 1; in ff_aac_search_for_is()
145cpe->ch[1].band_type[w*16+g] = (best->phase > 0) ? INTENSITY_BT2 : INTENSITY_BT; in ff_aac_search_for_is()
147 prev_bt = cpe->ch[1].band_type[w*16+g]; in ff_aac_search_for_is()
153 prev_is = cpe->is_mask[w*16+g]; in ff_aac_search_for_is()
157 cpe->is_mode = !!count; in ff_aac_search_for_is()