Home
last modified time | relevance | path

Searched refs:sce (Results 1 – 25 of 33) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Daaccoder_twoloop.h59 static inline int ff_pns_bits(SingleChannelElement *sce, int w, int g) in ff_pns_bits() argument
61 return (!g || !sce->zeroes[w*16+g-1] || !sce->can_pns[w*16+g-1]) ? 9 : 5; in ff_pns_bits()
69 SingleChannelElement *sce, in search_for_quantizers_twoloop() argument
156 sfoffs = sce->ics.num_windows - 1; in search_for_quantizers_twoloop()
176 int wlen = 1024 / sce->ics.num_windows; in search_for_quantizers_twoloop()
219 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in search_for_quantizers_twoloop()
220 for (g = start = 0; g < sce->ics.num_swb; start += sce->ics.swb_sizes[g++]) { in search_for_quantizers_twoloop()
223 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_quantizers_twoloop()
226 sce->zeroes[(w+w2)*16+g] = 1; in search_for_quantizers_twoloop()
235 for (w2 = 0; w2 < sce->ics.group_len[w]; w2++) { in search_for_quantizers_twoloop()
[all …]
Daacenc_ltp.c35 void ff_aac_encode_ltp_info(AACEncContext *s, SingleChannelElement *sce, in ff_aac_encode_ltp_info() argument
39 IndividualChannelStream *ics = &sce->ics; in ff_aac_encode_ltp_info()
57 SingleChannelElement *sce; in ff_aac_ltp_insert_new_frame() local
63 sce = &cpe->ch[ch]; in ff_aac_ltp_insert_new_frame()
66 memcpy(&sce->ltp_state[0], &sce->ltp_state[1024], 1024*sizeof(sce->ltp_state[0])); in ff_aac_ltp_insert_new_frame()
67 …memcpy(&sce->ltp_state[1024], &s->planar_samples[cur_channel][2048], 1024*sizeof(sce->ltp_state[0]… in ff_aac_ltp_insert_new_frame()
68 memcpy(&sce->ltp_state[2048], &sce->ret_buf[0], 1024*sizeof(sce->ltp_state[0])); in ff_aac_ltp_insert_new_frame()
69 sce->ics.ltp.lag = 0; in ff_aac_ltp_insert_new_frame()
117 void ff_aac_update_ltp(AACEncContext *s, SingleChannelElement *sce) in ff_aac_update_ltp() argument
119 float *pred_signal = &sce->ltp_state[0]; in ff_aac_update_ltp()
[all …]
Daaccoder.c77 static void encode_window_bands_info(AACEncContext *s, SingleChannelElement *sce, in encode_window_bands_info() argument
83 const int max_sfb = sce->ics.max_sfb; in encode_window_bands_info()
84 const int run_bits = sce->ics.num_windows == 1 ? 5 : 3; in encode_window_bands_info()
91 s->abs_pow34(s->scoefs, sce->coeffs, 1024); in encode_window_bands_info()
99 size = sce->ics.swb_sizes[swb]; in encode_window_bands_info()
100 if (sce->zeroes[win*16 + swb]) { in encode_window_bands_info()
114 if (cb >= 12 && sce->band_type[win*16+swb] < aac_cb_out_map[cb] || in encode_window_bands_info()
115 …cb < aac_cb_in_map[sce->band_type[win*16+swb]] && sce->band_type[win*16+swb] > aac_cb_out_map[cb]… in encode_window_bands_info()
123 rd += quantize_band_cost(s, &sce->coeffs[start + w*128], in encode_window_bands_info()
125 sce->sf_idx[(win+w)*16+swb], aac_cb_out_map[cb], in encode_window_bands_info()
[all …]
Daacenc_pred.c34 #define RESTORE_PRED(sce, sfb) \ argument
35 if (sce->ics.prediction_used[sfb]) {\
36 sce->ics.prediction_used[sfb] = 0;\
37 sce->band_type[sfb] = sce->band_alt[sfb];\
111 static inline void reset_predictor_group(SingleChannelElement *sce, int group_num) in reset_predictor_group() argument
114 PredictorState *ps = sce->predictor_state; in reset_predictor_group()
119 void ff_aac_apply_main_pred(AACEncContext *s, SingleChannelElement *sce) in ff_aac_apply_main_pred() argument
122 const int pmax = FFMIN(sce->ics.max_sfb, ff_aac_pred_sfb_max[s->samplerate_index]); in ff_aac_apply_main_pred()
124 if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE) { in ff_aac_apply_main_pred()
126 for (k = sce->ics.swb_offset[sfb]; k < sce->ics.swb_offset[sfb + 1]; k++) { in ff_aac_apply_main_pred()
[all …]
Daacenc.c135 SingleChannelElement *sce, \
140 const float *lwindow = sce->ics.use_kb_window[0] ? ff_aac_kbd_long_1024 : ff_sine_1024; in WINDOW_FUNC()
141 const float *pwindow = sce->ics.use_kb_window[1] ? ff_aac_kbd_long_1024 : ff_sine_1024; in WINDOW_FUNC()
142 float *out = sce->ret_buf; in WINDOW_FUNC()
150 const float *lwindow = sce->ics.use_kb_window[1] ? ff_aac_kbd_long_1024 : ff_sine_1024; in WINDOW_FUNC()
151 const float *swindow = sce->ics.use_kb_window[0] ? ff_aac_kbd_short_128 : ff_sine_128; in WINDOW_FUNC()
152 float *out = sce->ret_buf; in WINDOW_FUNC()
162 const float *lwindow = sce->ics.use_kb_window[0] ? ff_aac_kbd_long_1024 : ff_sine_1024; in WINDOW_FUNC()
163 const float *swindow = sce->ics.use_kb_window[1] ? ff_aac_kbd_short_128 : ff_sine_128; in WINDOW_FUNC()
164 float *out = sce->ret_buf; in WINDOW_FUNC()
[all …]
Daacenc_tns.c70 void ff_aac_encode_tns_info(AACEncContext *s, SingleChannelElement *sce) in ff_aac_encode_tns_info() argument
72 TemporalNoiseShaping *tns = &sce->tns; in ff_aac_encode_tns_info()
74 const int is8 = sce->ics.window_sequence[0] == EIGHT_SHORT_SEQUENCE; in ff_aac_encode_tns_info()
77 if (!sce->tns.present) in ff_aac_encode_tns_info()
80 for (i = 0; i < sce->ics.num_windows; i++) { in ff_aac_encode_tns_info()
81 put_bits(&s->pb, 2 - is8, sce->tns.n_filt[i]); in ff_aac_encode_tns_info()
102 void ff_aac_apply_tns(AACEncContext *s, SingleChannelElement *sce) in ff_aac_apply_tns() argument
104 TemporalNoiseShaping *tns = &sce->tns; in ff_aac_apply_tns()
105 IndividualChannelStream *ics = &sce->ics; in ff_aac_apply_tns()
137 sce->coeffs[start] += lpc[i-1]*sce->pcoeffs[start - i*inc]; in ff_aac_apply_tns()
[all …]
Daaccoder_trellis.h59 static void codebook_trellis_rate(AACEncContext *s, SingleChannelElement *sce, in codebook_trellis_rate() argument
65 const int max_sfb = sce->ics.max_sfb; in codebook_trellis_rate()
66 const int run_bits = sce->ics.num_windows == 1 ? 5 : 3; in codebook_trellis_rate()
73 s->abs_pow34(s->scoefs, sce->coeffs, 1024); in codebook_trellis_rate()
81 size = sce->ics.swb_sizes[swb]; in codebook_trellis_rate()
82 if (sce->zeroes[win*16 + swb]) { in codebook_trellis_rate()
85 if ( run_value_bits[sce->ics.num_windows == 8][path[swb][0].run] in codebook_trellis_rate()
86 != run_value_bits[sce->ics.num_windows == 8][path[swb][0].run+1]) in codebook_trellis_rate()
107 int startcb = sce->band_type[win*16+swb]; in codebook_trellis_rate()
119 if (cb >= 12 && sce->band_type[win*16+swb] != aac_cb_out_map[cb]) { in codebook_trellis_rate()
[all …]
Daacenc_utils.h199 static inline void ff_init_nextband_map(const SingleChannelElement *sce, uint8_t *nextband) in ff_init_nextband_map() argument
208 for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) { in ff_init_nextband_map()
209 for (g = 0; g < sce->ics.num_swb; g++) { in ff_init_nextband_map()
210 if (!sce->zeroes[w*16+g] && sce->band_type[w*16+g] < RESERVED_BT) in ff_init_nextband_map()
232 static inline int ff_sfdelta_can_remove_band(const SingleChannelElement *sce, in ff_sfdelta_can_remove_band() argument
236 && sce->sf_idx[nextband[band]] >= (prev_sf - SCALE_MAX_DIFF) in ff_sfdelta_can_remove_band()
237 && sce->sf_idx[nextband[band]] <= (prev_sf + SCALE_MAX_DIFF); in ff_sfdelta_can_remove_band()
246 static inline int ff_sfdelta_can_replace(const SingleChannelElement *sce, in ff_sfdelta_can_replace() argument
251 && sce->sf_idx[nextband[band]] >= (new_sf - SCALE_MAX_DIFF) in ff_sfdelta_can_replace()
252 && sce->sf_idx[nextband[band]] <= (new_sf + SCALE_MAX_DIFF); in ff_sfdelta_can_replace()
Daacenc.h60 SingleChannelElement *sce, const float lambda);
61 void (*encode_window_bands_info)(struct AACEncContext *s, SingleChannelElement *sce,
65 void (*encode_tns_info)(struct AACEncContext *s, SingleChannelElement *sce);
66 void (*encode_ltp_info)(struct AACEncContext *s, SingleChannelElement *sce, int common_window);
67 void (*encode_main_pred)(struct AACEncContext *s, SingleChannelElement *sce);
70 void (*apply_main_pred)(struct AACEncContext *s, SingleChannelElement *sce);
71 void (*apply_tns_filt)(struct AACEncContext *s, SingleChannelElement *sce);
72 void (*update_ltp)(struct AACEncContext *s, SingleChannelElement *sce);
74 void (*set_special_band_scalefactors)(struct AACEncContext *s, SingleChannelElement *sce);
75 … void (*search_for_pns)(struct AACEncContext *s, AVCodecContext *avctx, SingleChannelElement *sce);
[all …]
Daacenc_tns.h33 void ff_aac_encode_tns_info(AACEncContext *s, SingleChannelElement *sce);
34 void ff_aac_apply_tns(AACEncContext *s, SingleChannelElement *sce);
35 void ff_aac_search_for_tns(AACEncContext *s, SingleChannelElement *sce);
Daacdec_template.c2048 static void apply_prediction(AACContext *ac, SingleChannelElement *sce) in apply_prediction() argument
2052 if (!sce->ics.predictor_initialized) { in apply_prediction()
2053 reset_all_predictors(sce->predictor_state); in apply_prediction()
2054 sce->ics.predictor_initialized = 1; in apply_prediction()
2057 if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE) { in apply_prediction()
2061 for (k = sce->ics.swb_offset[sfb]; in apply_prediction()
2062 k < sce->ics.swb_offset[sfb + 1]; in apply_prediction()
2064 predict(&sce->predictor_state[k], &sce->coeffs[k], in apply_prediction()
2065 sce->ics.predictor_present && in apply_prediction()
2066 sce->ics.prediction_used[sfb]); in apply_prediction()
[all …]
Dlibfdk-aacenc.c129 int sce = 0, cpe = 0; in aac_encode_init() local
163 case 1: mode = MODE_1; sce = 1; cpe = 0; break; in aac_encode_init()
175 sce = 1; in aac_encode_init()
182 sce = 0; in aac_encode_init()
186 case 3: mode = MODE_1_2; sce = 1; cpe = 1; break; in aac_encode_init()
187 case 4: mode = MODE_1_2_1; sce = 2; cpe = 1; break; in aac_encode_init()
188 case 5: mode = MODE_1_2_2; sce = 1; cpe = 2; break; in aac_encode_init()
189 case 6: mode = MODE_1_2_2_1; sce = 2; cpe = 2; break; in aac_encode_init()
194 sce = 2; in aac_encode_init()
244 sce = 1; in aac_encode_init()
[all …]
Daacenc_pred.h42 void ff_aac_apply_main_pred(AACEncContext *s, SingleChannelElement *sce);
44 void ff_aac_search_for_pred(AACEncContext *s, SingleChannelElement *sce);
45 void ff_aac_encode_main_pred(AACEncContext *s, SingleChannelElement *sce);
Daacenc_ltp.h33 void ff_aac_encode_ltp_info(AACEncContext *s, SingleChannelElement *sce,
35 void ff_aac_update_ltp(AACEncContext *s, SingleChannelElement *sce);
38 void ff_aac_search_for_ltp(AACEncContext *s, SingleChannelElement *sce,
Daac.h364 void (*imdct_and_windowing)(AACContext *ac, SingleChannelElement *sce);
365 void (*apply_ltp)(AACContext *ac, SingleChannelElement *sce);
370 void (*update_ltp)(AACContext *ac, SingleChannelElement *sce);
Dalacenc.c466 int ch, element, sce, cpe; in write_frame() local
470 ch = element = sce = cpe = 0; in write_frame()
478 write_element(s, TYPE_SCE, sce, samples[ch_map[ch]], NULL); in write_frame()
479 sce++; in write_frame()
/third_party/ffmpeg/libavcodec/mips/
Daacdec_mips.c114 static void imdct_and_windowing_mips(AACContext *ac, SingleChannelElement *sce) in imdct_and_windowing_mips() argument
116 IndividualChannelStream *ics = &sce->ics; in imdct_and_windowing_mips()
117 float *in = sce->coeffs; in imdct_and_windowing_mips()
118 float *out = sce->ret; in imdct_and_windowing_mips()
119 float *saved = sce->saved; in imdct_and_windowing_mips()
226 static void apply_ltp_mips(AACContext *ac, SingleChannelElement *sce) in apply_ltp_mips() argument
228 const LongTermPrediction *ltp = &sce->ics.ltp; in apply_ltp_mips()
229 const uint16_t *offsets = sce->ics.swb_offset; in apply_ltp_mips()
233 if (sce->ics.window_sequence[0] != EIGHT_SHORT_SEQUENCE) { in apply_ltp_mips()
234 float *predTime = sce->ret; in apply_ltp_mips()
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dconnection.c1297 char *sce; local
1327 sce = pos;
1328 while (((*sce) != '\0') &&
1329 ((*sce) != ',') && ((*sce) != ';') && ((*sce) != '='))
1330 sce++;
1332 ekill = sce - 1;
1335 old = *sce;
1336 *sce = '\0';
1345 pos = sce + 1;
1348 equals = sce + 1;
/third_party/skia/third_party/externals/icu/source/data/translit/
Dit_am.txt205 sce → ሼ;
Dit_ja.txt195 sce → シェ;
/third_party/icu/icu4c/source/data/translit/
Dit_am.txt205 sce → ሼ;
Dit_ja.txt195 sce → シェ;
/third_party/flutter/skia/third_party/externals/icu/source/data/translit/
Dit_am.txt204 sce → ሼ;
Dit_ja.txt194 sce → シェ;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsEVAInstrInfo.td152 class SCE_DESC : SCE_DESC_BASE<"sce", GPR32Opnd, II_SCE>;

12