• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:sce

1856 static void apply_prediction(AACContext *ac, SingleChannelElement *sce)
1860 if (!sce->ics.predictor_initialized) {
1861 reset_all_predictors(sce->predictor_state);
1862 sce->ics.predictor_initialized = 1;
1865 if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE) {
1869 for (k = sce->ics.swb_offset[sfb];
1870 k < sce->ics.swb_offset[sfb + 1];
1872 predict(&sce->predictor_state[k], &sce->coeffs[k],
1873 sce->ics.predictor_present &&
1874 sce->ics.prediction_used[sfb]);
1877 if (sce->ics.predictor_reset_group)
1878 reset_predictor_group(sce->predictor_state,
1879 sce->ics.predictor_reset_group);
1881 reset_all_predictors(sce->predictor_state);
1892 static int decode_ics(AACContext *ac, SingleChannelElement *sce,
1896 TemporalNoiseShaping *tns = &sce->tns;
1897 IndividualChannelStream *ics = &sce->ics;
1898 float *out = sce->coeffs;
1920 if ((ret = decode_band_types(ac, sce->band_type,
1921 sce->band_type_run_end, gb, ics)) < 0)
1923 if ((ret = decode_scalefactors(ac, sce->sf, gb, global_gain, ics,
1924 sce->band_type, sce->band_type_run_end)) < 0)
1956 if (decode_spectrum_and_dequant(ac, out, gb, sce->sf, pulse_present,
1957 &pulse, ics, sce->band_type) < 0)
1961 apply_prediction(ac, sce);
2101 SingleChannelElement *sce = &che->ch[0];
2122 if ((ret = decode_ics(ac, sce, gb, 0, 0)))
2138 for (g = 0; g < sce->ics.num_window_groups; g++) {
2139 for (sfb = 0; sfb < sce->ics.max_sfb; sfb++, idx++) {
2140 if (sce->band_type[idx] != ZERO_BT) {
2401 static void apply_ltp(AACContext *ac, SingleChannelElement *sce)
2403 const LongTermPrediction *ltp = &sce->ics.ltp;
2404 const uint16_t *offsets = sce->ics.swb_offset;
2407 if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE) {
2408 float *predTime = sce->ret;
2415 predTime[i] = sce->ltp_state[i + 2048 - ltp->lag] * ltp->coef;
2418 ac->windowing_and_mdct_ltp(ac, predFreq, predTime, &sce->ics);
2420 if (sce->tns.present)
2421 ac->apply_tns(predFreq, &sce->tns, &sce->ics, 0);
2423 for (sfb = 0; sfb < FFMIN(sce->ics.max_sfb, MAX_LTP_LONG_SFB); sfb++)
2426 sce->coeffs[i] += predFreq[i];
2433 static void update_ltp(AACContext *ac, SingleChannelElement *sce)
2435 IndividualChannelStream *ics = &sce->ics;
2436 float *saved = sce->saved;
2437 float *saved_ltp = sce->coeffs;
2460 memcpy(sce->ltp_state, sce->ltp_state+1024, 1024 * sizeof(*sce->ltp_state));
2461 memcpy(sce->ltp_state+1024, sce->ret, 1024 * sizeof(*sce->ltp_state));
2462 memcpy(sce->ltp_state+2048, saved_ltp, 1024 * sizeof(*sce->ltp_state));
2468 static void imdct_and_windowing(AACContext *ac, SingleChannelElement *sce)
2470 IndividualChannelStream *ics = &sce->ics;
2471 float *in = sce->coeffs;
2472 float *out = sce->ret;
2473 float *saved = sce->saved;
2528 static void imdct_and_windowing_ld(AACContext *ac, SingleChannelElement *sce)
2530 IndividualChannelStream *ics = &sce->ics;
2531 float *in = sce->coeffs;
2532 float *out = sce->ret;
2533 float *saved = sce->saved;
2553 static void imdct_and_windowing_eld(AACContext *ac, SingleChannelElement *sce)
2555 float *in = sce->coeffs;
2556 float *out = sce->ret;
2557 float *saved = sce->saved;
2705 void (*imdct_and_window)(AACContext *ac, SingleChannelElement *sce);