• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching defs:che

128             return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][2];
136 return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0];
141 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][1];
146 return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][1];
152 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][0];
159 return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][0];
198 if (!ac->che[type][id]) {
199 if (!(ac->che[type][id] = av_mallocz(sizeof(ChannelElement))))
201 ff_aac_sbr_ctx_init(ac, &ac->che[type][id]->sbr);
204 ac->output_data[(*channels)++] = ac->che[type][id]->ch[0].ret;
207 ac->output_data[(*channels)++] = ac->che[type][id]->ch[1].ret;
211 if (ac->che[type][id])
212 ff_aac_sbr_ctx_close(&ac->che[type][id]->sbr);
213 av_freep(&ac->che[type][id]);
246 memset(ac->tag_che_map, 0, 4 * MAX_ELEM_ID * sizeof(ac->che[0][0]));
266 memcpy(ac->tag_che_map, ac->che, 4 * MAX_ELEM_ID * sizeof(ac->che[0][0]));
1550 static int decode_cce(AACContext *ac, GetBitContext *gb, ChannelElement *che)
1556 SingleChannelElement *sce = &che->ch[0];
1557 ChannelCoupling *coup = &che->coup;
1698 ChannelElement *che, enum RawDataBlockType elem_type)
1706 if (!che) {
1724 res = ff_decode_sbr_extension(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
2022 ChannelElement *cce = ac->che[TYPE_CCE][i];
2052 ChannelElement *che = ac->che[type][i];
2053 if (che) {
2055 apply_channel_coupling(ac, che, type, i, BEFORE_TNS, apply_dependent_coupling);
2057 if (che->ch[0].ics.predictor_present) {
2058 if (che->ch[0].ics.ltp.present)
2059 apply_ltp(ac, &che->ch[0]);
2060 if (che->ch[1].ics.ltp.present && type == TYPE_CPE)
2061 apply_ltp(ac, &che->ch[1]);
2064 if (che->ch[0].tns.present)
2065 apply_tns(che->ch[0].coeffs, &che->ch[0].tns, &che->ch[0].ics, 1);
2066 if (che->ch[1].tns.present)
2067 apply_tns(che->ch[1].coeffs, &che->ch[1].tns, &che->ch[1].ics, 1);
2069 apply_channel_coupling(ac, che, type, i, BETWEEN_TNS_AND_IMDCT, apply_dependent_coupling);
2070 if (type != TYPE_CCE || che->coup.coupling_point == AFTER_IMDCT) {
2071 imdct_and_windowing(ac, &che->ch[0]);
2073 update_ltp(ac, &che->ch[0]);
2075 imdct_and_windowing(ac, &che->ch[1]);
2077 update_ltp(ac, &che->ch[1]);
2080 ff_sbr_apply(ac, &che->sbr, type, che->ch[0].ret, che->ch[1].ret);
2084 apply_channel_coupling(ac, che, type, i, AFTER_IMDCT, apply_independent_coupling);
2134 ChannelElement *che = NULL, *che_prev = NULL;
2156 if (!(che=get_che(ac, elem_type, elem_id))) {
2167 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
2172 err = decode_cpe(ac, gb, che);
2177 err = decode_cce(ac, gb, che);
2181 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
2219 che_prev = che;
2316 if (ac->che[type][i])
2317 ff_aac_sbr_ctx_close(&ac->che[type][i]->sbr);
2318 av_freep(&ac->che[type][i]);