• Home
  • Raw
  • Download

Lines Matching refs:che

134         if (!ac->che[type][id]) {  in che_configure()
135 if (!(ac->che[type][id] = av_mallocz(sizeof(ChannelElement)))) in che_configure()
137 AAC_RENAME(ff_aac_sbr_ctx_init)(ac, &ac->che[type][id]->sbr, type); in che_configure()
144 ac->output_element[(*channels)++] = &ac->che[type][id]->ch[0]; in che_configure()
147 ac->output_element[(*channels)++] = &ac->che[type][id]->ch[1]; in che_configure()
151 if (ac->che[type][id]) in che_configure()
152 AAC_RENAME(ff_aac_sbr_ctx_close)(&ac->che[type][id]->sbr); in che_configure()
153 av_freep(&ac->che[type][id]); in che_configure()
166 ChannelElement *che = ac->che[type][id]; in frame_configure_elements() local
167 if (che) { in frame_configure_elements()
168 che->ch[0].ret = che->ch[0].ret_buf; in frame_configure_elements()
169 che->ch[1].ret = che->ch[1].ret_buf; in frame_configure_elements()
569 ac->tag_che_map[type][id] = ac->che[type][iid]; in output_configure()
599 ChannelElement *che = ac->che[type][i]; in flush() local
600 if (che) { in flush()
602 memset(che->ch[j].saved, 0, sizeof(che->ch[j].saved)); in flush()
709 return ac->tag_che_map[type][elem_id] = ac->che[type][elem_id]; in get_che()
715 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][2]; in get_che()
722 return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][1]; in get_che()
739 return ac->tag_che_map[type][elem_id] = ac->che[TYPE_LFE][0]; in get_che()
744 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][1]; in get_che()
761 return ac->tag_che_map[type][elem_id] = ac->che[TYPE_SCE][1]; in get_che()
767 return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][1]; in get_che()
774 return ac->tag_che_map[TYPE_CPE][elem_id] = ac->che[TYPE_CPE][0]; in get_che()
781 return ac->tag_che_map[TYPE_SCE][elem_id] = ac->che[TYPE_SCE][0]; in get_che()
2343 static int decode_cce(AACContext *ac, GetBitContext *gb, ChannelElement *che) argument
2349 SingleChannelElement *sce = &che->ch[0];
2350 ChannelCoupling *coup = &che->coup;
2527 ChannelElement *che, enum RawDataBlockType elem_type) argument
2540 if (!che) {
2568 res = AAC_RENAME(ff_decode_sbr_extension)(ac, &che->sbr, gb, crc_flag, cnt, elem_type);
2992 ChannelElement *cce = ac->che[TYPE_CCE][i];
3036 ChannelElement *che = ac->che[type][i]; local
3037 if (che && che->present) {
3039 … apply_channel_coupling(ac, che, type, i, BEFORE_TNS, AAC_RENAME(apply_dependent_coupling));
3041 if (che->ch[0].ics.predictor_present) {
3042 if (che->ch[0].ics.ltp.present)
3043 ac->apply_ltp(ac, &che->ch[0]);
3044 if (che->ch[1].ics.ltp.present && type == TYPE_CPE)
3045 ac->apply_ltp(ac, &che->ch[1]);
3048 if (che->ch[0].tns.present)
3049 ac->apply_tns(che->ch[0].coeffs, &che->ch[0].tns, &che->ch[0].ics, 1);
3050 if (che->ch[1].tns.present)
3051 ac->apply_tns(che->ch[1].coeffs, &che->ch[1].tns, &che->ch[1].ics, 1);
3053 …apply_channel_coupling(ac, che, type, i, BETWEEN_TNS_AND_IMDCT, AAC_RENAME(apply_dependent_couplin…
3054 if (type != TYPE_CCE || che->coup.coupling_point == AFTER_IMDCT) {
3055 imdct_and_window(ac, &che->ch[0]);
3057 ac->update_ltp(ac, &che->ch[0]);
3059 imdct_and_window(ac, &che->ch[1]);
3061 ac->update_ltp(ac, &che->ch[1]);
3064 … AAC_RENAME(ff_sbr_apply)(ac, &che->sbr, type, che->ch[0].ret, che->ch[1].ret);
3068 … apply_channel_coupling(ac, che, type, i, AFTER_IMDCT, AAC_RENAME(apply_independent_coupling));
3075che->ch[0].ret[j] = (int32_t)av_clip64((int64_t)che->ch[0].ret[j]*128, INT32_MIN, INT32_MAX-0x8000…
3077che->ch[1].ret[j] = (int32_t)av_clip64((int64_t)che->ch[1].ret[j]*128, INT32_MIN, INT32_MAX-0x8000…
3081 che->present = 0;
3082 } else if (che) {
3156 ChannelElement *che; local
3184 if (!(che=get_che(ac, elem_type, elem_id))) {
3190 che->present = 1;
3195 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
3198 err = decode_cpe(ac, gb, che);
3201 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
3228 ChannelElement *che = NULL, *che_prev = NULL; local
3283 if (!(che=get_che(ac, elem_type, elem_id))) {
3290 che->present = 1;
3296 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
3302 err = decode_cpe(ac, gb, che);
3307 err = decode_cce(ac, gb, che);
3311 err = decode_ics(ac, &che->ch[0], gb, 0, 0);
3373 che_prev = che;
3505 if (ac->che[type][i])
3506 AAC_RENAME(ff_aac_sbr_ctx_close)(&ac->che[type][i]->sbr);
3507 av_freep(&ac->che[type][i]);