Lines Matching refs:st
150 CELTEncoder *st = (CELTEncoder *)opus_alloc(opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_create() local
152 ret = opus_custom_encoder_init(st, mode, channels); in opus_custom_encoder_create()
155 opus_custom_encoder_destroy(st); in opus_custom_encoder_create()
156 st = NULL; in opus_custom_encoder_create()
160 return st; in opus_custom_encoder_create()
164 static int opus_custom_encoder_init_arch(CELTEncoder *st, const CELTMode *mode, in opus_custom_encoder_init_arch() argument
170 if (st==NULL || mode==NULL) in opus_custom_encoder_init_arch()
173 OPUS_CLEAR((char*)st, opus_custom_encoder_get_size(mode, channels)); in opus_custom_encoder_init_arch()
175 st->mode = mode; in opus_custom_encoder_init_arch()
176 st->overlap = mode->overlap; in opus_custom_encoder_init_arch()
177 st->stream_channels = st->channels = channels; in opus_custom_encoder_init_arch()
179 st->upsample = 1; in opus_custom_encoder_init_arch()
180 st->start = 0; in opus_custom_encoder_init_arch()
181 st->end = st->mode->effEBands; in opus_custom_encoder_init_arch()
182 st->signalling = 1; in opus_custom_encoder_init_arch()
184 st->arch = arch; in opus_custom_encoder_init_arch()
186 st->constrained_vbr = 1; in opus_custom_encoder_init_arch()
187 st->clip = 1; in opus_custom_encoder_init_arch()
189 st->bitrate = OPUS_BITRATE_MAX; in opus_custom_encoder_init_arch()
190 st->vbr = 0; in opus_custom_encoder_init_arch()
191 st->force_intra = 0; in opus_custom_encoder_init_arch()
192 st->complexity = 5; in opus_custom_encoder_init_arch()
193 st->lsb_depth=24; in opus_custom_encoder_init_arch()
195 opus_custom_encoder_ctl(st, OPUS_RESET_STATE); in opus_custom_encoder_init_arch()
201 int opus_custom_encoder_init(CELTEncoder *st, const CELTMode *mode, int channels) in opus_custom_encoder_init() argument
203 return opus_custom_encoder_init_arch(st, mode, channels, opus_select_arch()); in opus_custom_encoder_init()
207 int celt_encoder_init(CELTEncoder *st, opus_int32 sampling_rate, int channels, in celt_encoder_init() argument
211 ret = opus_custom_encoder_init_arch(st, in celt_encoder_init()
215 st->upsample = resampling_factor(sampling_rate); in celt_encoder_init()
220 void opus_custom_encoder_destroy(CELTEncoder *st) in opus_custom_encoder_destroy() argument
222 opus_free(st); in opus_custom_encoder_destroy()
1007 static int run_prefilter(CELTEncoder *st, celt_sig *in, celt_sig *prefilter_mem, int CC, int N, in run_prefilter() argument
1021 mode = st->mode; in run_prefilter()
1030 OPUS_COPY(pre[c]+COMBFILTER_MAXPERIOD, in+c*(N+st->overlap)+st->overlap, N); in run_prefilter()
1038 pitch_downsample(pre, pitch_buf, COMBFILTER_MAXPERIOD+N, CC, st->arch); in run_prefilter()
1043 st->arch); in run_prefilter()
1047 N, &pitch_index, st->prefilter_period, st->prefilter_gain); in run_prefilter()
1052 if (st->loss_rate>2) in run_prefilter()
1054 if (st->loss_rate>4) in run_prefilter()
1056 if (st->loss_rate>8) in run_prefilter()
1067 if (abs(pitch_index-st->prefilter_period)*10>pitch_index) in run_prefilter()
1073 if (st->prefilter_gain > QCONST16(.4f,15)) in run_prefilter()
1075 if (st->prefilter_gain > QCONST16(.55f,15)) in run_prefilter()
1088 if (ABS16(gain1-st->prefilter_gain)<QCONST16(.1f,15)) in run_prefilter()
1089 gain1=st->prefilter_gain; in run_prefilter()
1103 int offset = mode->shortMdctSize-st->overlap; in run_prefilter()
1104 st->prefilter_period=IMAX(st->prefilter_period, COMBFILTER_MINPERIOD); in run_prefilter()
1105 OPUS_COPY(in+c*(N+st->overlap), st->in_mem+c*(st->overlap), st->overlap); in run_prefilter()
1107 comb_filter(in+c*(N+st->overlap)+st->overlap, pre[c]+COMBFILTER_MAXPERIOD, in run_prefilter()
1108 … st->prefilter_period, st->prefilter_period, offset, -st->prefilter_gain, -st->prefilter_gain, in run_prefilter()
1109 st->prefilter_tapset, st->prefilter_tapset, NULL, 0); in run_prefilter()
1111 comb_filter(in+c*(N+st->overlap)+st->overlap+offset, pre[c]+COMBFILTER_MAXPERIOD+offset, in run_prefilter()
1112 st->prefilter_period, pitch_index, N-offset, -st->prefilter_gain, -gain1, in run_prefilter()
1113 st->prefilter_tapset, prefilter_tapset, mode->window, st->overlap); in run_prefilter()
1114 OPUS_COPY(st->in_mem+c*(st->overlap), in+c*(N+st->overlap)+N, st->overlap); in run_prefilter()
1248 int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, uns… in celt_encode_with_ec() argument
1271 const int CC = st->channels; in celt_encode_with_ec()
1272 const int C = st->stream_channels; in celt_encode_with_ec()
1315 mode = st->mode; in celt_encode_with_ec()
1326 frame_size *= st->upsample; in celt_encode_with_ec()
1338 prefilter_mem = st->in_mem+CC*(st->overlap); in celt_encode_with_ec()
1339 oldBandE = (opus_val16*)(st->in_mem+CC*(st->overlap+COMBFILTER_MAXPERIOD)); in celt_encode_with_ec()
1353 if (st->signalling && enc==NULL) in celt_encode_with_ec()
1355 int tmp = (mode->effEBands-st->end)>>1; in celt_encode_with_ec()
1356 st->end = IMAX(1, mode->effEBands-tmp); in celt_encode_with_ec()
1375 celt_assert(st->signalling==0); in celt_encode_with_ec()
1382 if (st->vbr && st->bitrate!=OPUS_BITRATE_MAX) in celt_encode_with_ec()
1385 vbr_rate=(st->bitrate*frame_size+(den>>1))/den; in celt_encode_with_ec()
1387 if (st->signalling) in celt_encode_with_ec()
1394 tmp = st->bitrate*frame_size; in celt_encode_with_ec()
1397 if (st->bitrate!=OPUS_BITRATE_MAX) in celt_encode_with_ec()
1399 (tmp+4*mode->Fs)/(8*mode->Fs)-!!st->signalling)); in celt_encode_with_ec()
1402 if (st->bitrate != OPUS_BITRATE_MAX) in celt_encode_with_ec()
1403 equiv_rate = st->bitrate - (40*C+20)*((400>>LM) - 50); in celt_encode_with_ec()
1417 if (st->constrained_vbr) in celt_encode_with_ec()
1427 (vbr_rate+vbr_bound-st->vbr_reservoir)>>(BITRES+3)), in celt_encode_with_ec()
1439 effEnd = st->end; in celt_encode_with_ec()
1443 ALLOC(in, CC*(N+st->overlap), celt_sig); in celt_encode_with_ec()
1445 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample)); in celt_encode_with_ec()
1446 st->overlap_max=celt_maxabs16(pcm+C*(N-overlap)/st->upsample, C*overlap/st->upsample); in celt_encode_with_ec()
1447 sample_max=MAX32(sample_max, st->overlap_max); in celt_encode_with_ec()
1451 silence = (sample_max <= (opus_val16)1/(1<<st->lsb_depth)); in celt_encode_with_ec()
1477 celt_preemphasis(pcm+c, in+c*(N+st->overlap)+st->overlap, N, CC, st->upsample, in celt_encode_with_ec()
1478 mode->preemph, st->preemph_memE+c, st->clip); in celt_encode_with_ec()
1487 …enabled = ((st->lfe&&nbAvailableBytes>3) || nbAvailableBytes>12*C) && st->start==0 && !silence && … in celt_encode_with_ec()
1488 …&& st->complexity >= 5 && !(st->consec_transient && LM!=3 && st->variable_duration==OPUS_FRAMESIZE… in celt_encode_with_ec()
1490 prefilter_tapset = st->tapset_decision; in celt_encode_with_ec()
1491 …pf_on = run_prefilter(st, in, prefilter_mem, CC, N, prefilter_tapset, &pitch_index, &gain1, &qg, e… in celt_encode_with_ec()
1492 …if ((gain1 > QCONST16(.4f,15) || st->prefilter_gain > QCONST16(.4f,15)) && (!st->analysis.valid ||… in celt_encode_with_ec()
1493 && (pitch_index > 1.26*st->prefilter_period || pitch_index < .79*st->prefilter_period)) in celt_encode_with_ec()
1497 if(st->start==0 && tell+16<=total_bits) in celt_encode_with_ec()
1516 if (st->complexity >= 1 && !st->lfe) in celt_encode_with_ec()
1518 isTransient = transient_analysis(in, N+st->overlap, CC, in celt_encode_with_ec()
1534 secondMdct = shortBlocks && st->complexity>=8; in celt_encode_with_ec()
1538 compute_mdcts(mode, 0, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
1540 amp2Log2(mode, effEnd, st->end, bandE, bandLogE2, C); in celt_encode_with_ec()
1545 compute_mdcts(mode, shortBlocks, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
1550 if (st->lfe) in celt_encode_with_ec()
1552 for (i=2;i<st->end;i++) in celt_encode_with_ec()
1558 amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C); in celt_encode_with_ec()
1561 for(i=0;i<st->end;i++) in celt_encode_with_ec()
1564 if (st->start==0&&st->energy_mask&&!st->lfe) in celt_encode_with_ec()
1572 mask_end = IMAX(2,st->lastCodedBands); in celt_encode_with_ec()
1578 mask = MAX16(MIN16(st->energy_mask[nbEBands*c+i], in celt_encode_with_ec()
1602 unmask = MAX16(st->energy_mask[i], st->energy_mask[nbEBands+i]); in celt_encode_with_ec()
1604 unmask = st->energy_mask[i]; in celt_encode_with_ec()
1638 if (!st->lfe) in celt_encode_with_ec()
1643 for(i=st->start;i<st->end;i++) in celt_encode_with_ec()
1650 frame_avg /= (st->end-st->start); in celt_encode_with_ec()
1651 temporal_vbr = SUB16(frame_avg,st->spec_avg); in celt_encode_with_ec()
1653 st->spec_avg += MULT16_16_Q15(QCONST16(.02f, 15), temporal_vbr); in celt_encode_with_ec()
1667 if (LM>0 && ec_tell(enc)+3<=total_bits && !isTransient && st->complexity>=5 && !st->lfe) in celt_encode_with_ec()
1669 if (patch_transient_decision(bandLogE, oldBandE, nbEBands, st->end, C)) in celt_encode_with_ec()
1673 compute_mdcts(mode, shortBlocks, in, freq, C, CC, LM, st->upsample); in celt_encode_with_ec()
1675 amp2Log2(mode, effEnd, st->end, bandE, bandLogE, C); in celt_encode_with_ec()
1693 if (effectiveBytes>=15*C && st->start==0 && st->complexity>=2 && !st->lfe) in celt_encode_with_ec()
1706 for (i=effEnd;i<st->end;i++) in celt_encode_with_ec()
1710 for (i=0;i<st->end;i++) in celt_encode_with_ec()
1716 quant_coarse_energy(mode, st->start, st->end, effEnd, bandLogE, in celt_encode_with_ec()
1718 C, LM, nbAvailableBytes, st->force_intra, in celt_encode_with_ec()
1719 &st->delayedIntra, st->complexity >= 4, st->loss_rate, st->lfe); in celt_encode_with_ec()
1721 tf_encode(st->start, st->end, isTransient, tf_res, LM, tf_select, enc); in celt_encode_with_ec()
1725 if (st->lfe) in celt_encode_with_ec()
1727 st->tapset_decision = 0; in celt_encode_with_ec()
1728 st->spread_decision = SPREAD_NORMAL; in celt_encode_with_ec()
1729 } else if (shortBlocks || st->complexity < 3 || nbAvailableBytes < 10*C || st->start != 0) in celt_encode_with_ec()
1731 if (st->complexity == 0) in celt_encode_with_ec()
1732 st->spread_decision = SPREAD_NONE; in celt_encode_with_ec()
1734 st->spread_decision = SPREAD_NORMAL; in celt_encode_with_ec()
1740 if (st->analysis.valid) in celt_encode_with_ec()
1746 …st->spread_decision = hysteresis_decision(-st->analysis.tonality, spread_thresholds, spread_hister… in celt_encode_with_ec()
1747 …st->tapset_decision = hysteresis_decision(st->analysis.tonality_slope, tapset_thresholds, tapset_h… in celt_encode_with_ec()
1751 st->spread_decision = spreading_decision(mode, X, in celt_encode_with_ec()
1752 &st->tonal_average, st->spread_decision, &st->hf_average, in celt_encode_with_ec()
1753 &st->tapset_decision, pf_on&&!shortBlocks, effEnd, C, M); in celt_encode_with_ec()
1758 ec_enc_icdf(enc, st->spread_decision, spread_icdf, 5); in celt_encode_with_ec()
1763 maxDepth = dynalloc_analysis(bandLogE, bandLogE2, nbEBands, st->start, st->end, C, offsets, in celt_encode_with_ec()
1764 st->lsb_depth, mode->logN, isTransient, st->vbr, st->constrained_vbr, in celt_encode_with_ec()
1765 eBands, LM, effectiveBytes, &tot_boost, st->lfe, surround_dynalloc); in celt_encode_with_ec()
1767 if (st->lfe) in celt_encode_with_ec()
1776 for (i=st->start;i<st->end;i++) in celt_encode_with_ec()
1819 st->intensity = hysteresis_decision((opus_val16)(equiv_rate/1000), in celt_encode_with_ec()
1820 intensity_thresholds, intensity_histeresis, 21, st->intensity); in celt_encode_with_ec()
1821 st->intensity = IMIN(st->end,IMAX(st->start, st->intensity)); in celt_encode_with_ec()
1827 if (st->lfe) in celt_encode_with_ec()
1831 … st->end, LM, C, N, &st->analysis, &st->stereo_saving, tf_estimate, st->intensity, surround_trim); in celt_encode_with_ec()
1851 if (st->constrained_vbr) in celt_encode_with_ec()
1852 base_target += (st->vbr_offset>>lm_diff); in celt_encode_with_ec()
1854 target = compute_vbr(mode, &st->analysis, base_target, LM, equiv_rate, in celt_encode_with_ec()
1855 st->lastCodedBands, C, st->intensity, st->constrained_vbr, in celt_encode_with_ec()
1856 st->stereo_saving, tot_boost, tf_estimate, pitch_change, maxDepth, in celt_encode_with_ec()
1857 st->variable_duration, st->lfe, st->energy_mask!=NULL, surround_masking, in celt_encode_with_ec()
1890 if (st->vbr_count < 970) in celt_encode_with_ec()
1892 st->vbr_count++; in celt_encode_with_ec()
1893 alpha = celt_rcp(SHL32(EXTEND32(st->vbr_count+20),16)); in celt_encode_with_ec()
1897 if (st->constrained_vbr) in celt_encode_with_ec()
1898 st->vbr_reservoir += target - vbr_rate; in celt_encode_with_ec()
1902 if (st->constrained_vbr) in celt_encode_with_ec()
1904 …st->vbr_drift += (opus_int32)MULT16_32_Q15(alpha,(delta*(1<<lm_diff))-st->vbr_offset-st->vbr_drift… in celt_encode_with_ec()
1905 st->vbr_offset = -st->vbr_drift; in celt_encode_with_ec()
1909 if (st->constrained_vbr && st->vbr_reservoir < 0) in celt_encode_with_ec()
1912 int adjust = (-st->vbr_reservoir)/(8<<BITRES); in celt_encode_with_ec()
1915 st->vbr_reservoir = 0; in celt_encode_with_ec()
1933 signalBandwidth = st->end-1; in celt_encode_with_ec()
1935 if (st->analysis.valid) in celt_encode_with_ec()
1948 signalBandwidth = IMAX(st->analysis.bandwidth, min_bandwidth); in celt_encode_with_ec()
1951 if (st->lfe) in celt_encode_with_ec()
1953 codedBands = compute_allocation(mode, st->start, st->end, offsets, cap, in celt_encode_with_ec()
1954 alloc_trim, &st->intensity, &dual_stereo, bits, &balance, pulses, in celt_encode_with_ec()
1955 fine_quant, fine_priority, C, LM, enc, 1, st->lastCodedBands, signalBandwidth); in celt_encode_with_ec()
1956 if (st->lastCodedBands) in celt_encode_with_ec()
1957 st->lastCodedBands = IMIN(st->lastCodedBands+1,IMAX(st->lastCodedBands-1,codedBands)); in celt_encode_with_ec()
1959 st->lastCodedBands = codedBands; in celt_encode_with_ec()
1961 quant_fine_energy(mode, st->start, st->end, oldBandE, error, fine_quant, enc, C); in celt_encode_with_ec()
1965 quant_all_bands(1, mode, st->start, st->end, X, C==2 ? X+N : NULL, collapse_masks, in celt_encode_with_ec()
1966 bandE, pulses, shortBlocks, st->spread_decision, dual_stereo, st->intensity, tf_res, in celt_encode_with_ec()
1967 nbCompressedBytes*(8<<BITRES)-anti_collapse_rsv, balance, enc, LM, codedBands, &st->rng); in celt_encode_with_ec()
1971 anti_collapse_on = st->consec_transient<2; in celt_encode_with_ec()
1977 …quant_energy_finalise(mode, st->start, st->end, oldBandE, error, fine_quant, fine_priority, nbComp… in celt_encode_with_ec()
1993 st->start, st->end, oldBandE, oldLogE, oldLogE2, pulses, st->rng); in celt_encode_with_ec()
2002 denormalise_bands(mode, X, freq, oldBandE, st->start, effEnd, C, M); in celt_encode_with_ec()
2006 OPUS_MOVE(st->syn_mem[c], st->syn_mem[c]+N, 2*MAX_PERIOD-N+overlap/2); in celt_encode_with_ec()
2016 out_mem[c] = st->syn_mem[c]+2*MAX_PERIOD-N; in celt_encode_with_ec()
2022 st->prefilter_period=IMAX(st->prefilter_period, COMBFILTER_MINPERIOD); in celt_encode_with_ec()
2023 st->prefilter_period_old=IMAX(st->prefilter_period_old, COMBFILTER_MINPERIOD); in celt_encode_with_ec()
2024 …comb_filter(out_mem[c], out_mem[c], st->prefilter_period_old, st->prefilter_period, mode->shortMdc… in celt_encode_with_ec()
2025 … st->prefilter_gain_old, st->prefilter_gain, st->prefilter_tapset_old, st->prefilter_tapset, in celt_encode_with_ec()
2026 mode->window, st->overlap); in celt_encode_with_ec()
2028 …comb_filter(out_mem[c]+mode->shortMdctSize, out_mem[c]+mode->shortMdctSize, st->prefilter_period, … in celt_encode_with_ec()
2029 st->prefilter_gain, gain1, st->prefilter_tapset, prefilter_tapset, in celt_encode_with_ec()
2034 … deemphasis(out_mem, (opus_val16*)pcm, N, CC, st->upsample, mode->preemph, st->preemph_memD, freq); in celt_encode_with_ec()
2035 st->prefilter_period_old = st->prefilter_period; in celt_encode_with_ec()
2036 st->prefilter_gain_old = st->prefilter_gain; in celt_encode_with_ec()
2037 st->prefilter_tapset_old = st->prefilter_tapset; in celt_encode_with_ec()
2041 st->prefilter_period = pitch_index; in celt_encode_with_ec()
2042 st->prefilter_gain = gain1; in celt_encode_with_ec()
2043 st->prefilter_tapset = prefilter_tapset; in celt_encode_with_ec()
2047 st->prefilter_period_old = st->prefilter_period; in celt_encode_with_ec()
2048 st->prefilter_gain_old = st->prefilter_gain; in celt_encode_with_ec()
2049 st->prefilter_tapset_old = st->prefilter_tapset; in celt_encode_with_ec()
2071 for (i=0;i<st->start;i++) in celt_encode_with_ec()
2076 for (i=st->end;i<nbEBands;i++) in celt_encode_with_ec()
2084 st->consec_transient++; in celt_encode_with_ec()
2086 st->consec_transient=0; in celt_encode_with_ec()
2087 st->rng = enc->rng; in celt_encode_with_ec()
2094 if (st->signalling) in celt_encode_with_ec()
2109 int opus_custom_encode(CELTEncoder * OPUS_RESTRICT st, const opus_int16 * pcm, int frame_size, unsi… in opus_custom_encode() argument
2111 return celt_encode_with_ec(st, pcm, frame_size, compressed, nbCompressedBytes, NULL); in opus_custom_encode()
2115 int opus_custom_encode_float(CELTEncoder * OPUS_RESTRICT st, const float * pcm, int frame_size, uns… in opus_custom_encode_float() argument
2124 C = st->channels; in opus_custom_encode_float()
2131 ret=celt_encode_with_ec(st,in,frame_size,compressed,nbCompressedBytes, NULL); in opus_custom_encode_float()
2142 int opus_custom_encode(CELTEncoder * OPUS_RESTRICT st, const opus_int16 * pcm, int frame_size, unsi… in opus_custom_encode() argument
2151 C=st->channels; in opus_custom_encode()
2158 ret = celt_encode_with_ec(st,in,frame_size,compressed,nbCompressedBytes, NULL); in opus_custom_encode()
2167 int opus_custom_encode_float(CELTEncoder * OPUS_RESTRICT st, const float * pcm, int frame_size, uns… in opus_custom_encode_float() argument
2169 return celt_encode_with_ec(st, pcm, frame_size, compressed, nbCompressedBytes, NULL); in opus_custom_encode_float()
2176 int opus_custom_encoder_ctl(CELTEncoder * OPUS_RESTRICT st, int request, ...) in opus_custom_encoder_ctl() argument
2188 st->complexity = value; in opus_custom_encoder_ctl()
2194 if (value<0 || value>=st->mode->nbEBands) in opus_custom_encoder_ctl()
2196 st->start = value; in opus_custom_encoder_ctl()
2202 if (value<1 || value>st->mode->nbEBands) in opus_custom_encoder_ctl()
2204 st->end = value; in opus_custom_encoder_ctl()
2212 st->disable_pf = value<=1; in opus_custom_encoder_ctl()
2213 st->force_intra = value==0; in opus_custom_encoder_ctl()
2221 st->loss_rate = value; in opus_custom_encoder_ctl()
2227 st->constrained_vbr = value; in opus_custom_encoder_ctl()
2233 st->vbr = value; in opus_custom_encoder_ctl()
2241 value = IMIN(value, 260000*st->channels); in opus_custom_encoder_ctl()
2242 st->bitrate = value; in opus_custom_encoder_ctl()
2250 st->stream_channels = value; in opus_custom_encoder_ctl()
2258 st->lsb_depth=value; in opus_custom_encoder_ctl()
2264 *value=st->lsb_depth; in opus_custom_encoder_ctl()
2270 st->variable_duration = value; in opus_custom_encoder_ctl()
2277 oldBandE = (opus_val16*)(st->in_mem+st->channels*(st->overlap+COMBFILTER_MAXPERIOD)); in opus_custom_encoder_ctl()
2278 oldLogE = oldBandE + st->channels*st->mode->nbEBands; in opus_custom_encoder_ctl()
2279 oldLogE2 = oldLogE + st->channels*st->mode->nbEBands; in opus_custom_encoder_ctl()
2280 OPUS_CLEAR((char*)&st->ENCODER_RESET_START, in opus_custom_encoder_ctl()
2281 opus_custom_encoder_get_size(st->mode, st->channels)- in opus_custom_encoder_ctl()
2282 ((char*)&st->ENCODER_RESET_START - (char*)st)); in opus_custom_encoder_ctl()
2283 for (i=0;i<st->channels*st->mode->nbEBands;i++) in opus_custom_encoder_ctl()
2285 st->vbr_offset = 0; in opus_custom_encoder_ctl()
2286 st->delayedIntra = 1; in opus_custom_encoder_ctl()
2287 st->spread_decision = SPREAD_NORMAL; in opus_custom_encoder_ctl()
2288 st->tonal_average = 256; in opus_custom_encoder_ctl()
2289 st->hf_average = 0; in opus_custom_encoder_ctl()
2290 st->tapset_decision = 0; in opus_custom_encoder_ctl()
2297 st->clip = value; in opus_custom_encoder_ctl()
2304 st->signalling = value; in opus_custom_encoder_ctl()
2311 OPUS_COPY(&st->analysis, info, 1); in opus_custom_encoder_ctl()
2319 *value=st->mode; in opus_custom_encoder_ctl()
2327 *value=st->rng; in opus_custom_encoder_ctl()
2333 st->lfe = value; in opus_custom_encoder_ctl()
2339 st->energy_mask = value; in opus_custom_encoder_ctl()