Lines Matching refs:opus_int32
79 opus_int32 Fs;
83 opus_int32 bitrate_bps;
84 opus_int32 user_bitrate_bps;
97 opus_int32 variable_HP_smth2_Q15;
125 static const opus_int32 mono_voice_bandwidth_thresholds[8] = {
131 static const opus_int32 mono_music_bandwidth_thresholds[8] = {
137 static const opus_int32 stereo_voice_bandwidth_thresholds[8] = {
143 static const opus_int32 stereo_music_bandwidth_thresholds[8] = {
150 static const opus_int32 stereo_voice_threshold = 19000;
151 static const opus_int32 stereo_music_threshold = 17000;
154 static const opus_int32 mode_thresholds[2][2] = {
160 static const opus_int32 fec_thresholds[] = {
182 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) in opus_encoder_init()
308 const opus_int32 *B_Q28, /* I: MA coefficients [3] */ in silk_biquad_float()
309 const opus_int32 *A_Q28, /* I: AR coefficients [2] */ in silk_biquad_float()
312 const opus_int32 len, /* I: Signal length (must be even) */ in silk_biquad_float()
322 A[0] = (opus_val32)(A_Q28[0] * (1.f/((opus_int32)1<<28))); in silk_biquad_float()
323 A[1] = (opus_val32)(A_Q28[1] * (1.f/((opus_int32)1<<28))); in silk_biquad_float()
324 B[0] = (opus_val32)(B_Q28[0] * (1.f/((opus_int32)1<<28))); in silk_biquad_float()
325 B[1] = (opus_val32)(B_Q28[1] * (1.f/((opus_int32)1<<28))); in silk_biquad_float()
326 B[2] = (opus_val32)(B_Q28[2] * (1.f/((opus_int32)1<<28))); in silk_biquad_float()
345 …_cutoff(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, … in hp_cutoff()
347 opus_int32 B_Q28[ 3 ], A_Q28[ 2 ]; in hp_cutoff()
348 opus_int32 Fc_Q19, r_Q28, r_Q22; in hp_cutoff()
383 …_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, … in dc_reject()
404 …_reject(const opus_val16 *in, opus_int32 cutoff_Hz, opus_val16 *out, opus_val32 *hp_mem, int len, … in dc_reject()
446 int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) in stereo_fade()
478 int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) in gain_fade()
516 OpusEncoder *opus_encoder_create(opus_int32 Fs, int channels, int application, int *error) in opus_encoder_create()
546 static opus_int32 user_bitrate_to_bitrate(OpusEncoder *st, int frame_size, int max_data_bytes) in user_bitrate_to_bitrate()
611 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs) in frame_size_select()
636 opus_val16 compute_stereo_width(const opus_val16 *pcm, int frame_size, opus_int32 Fs, StereoWidthSt… in compute_stereo_width()
718 …fec(int useInBandFEC, int PacketLoss_perc, int last_fec, int mode, int *bandwidth, opus_int32 rate) in decide_fec()
726 opus_int32 hysteresis; in decide_fec()
727 opus_int32 LBRR_rate_thres_bps; in decide_fec()
782 opus_int32 lo, hi, x0, x1; in compute_silk_rate_for_hybrid()
805 static opus_int32 compute_equiv_rate(opus_int32 bitrate, int channels, in compute_equiv_rate()
808 opus_int32 equiv; in compute_equiv_rate()
939 static opus_int32 encode_multiframe_packet(OpusEncoder *st, in encode_multiframe_packet()
944 opus_int32 out_data_bytes, in encode_multiframe_packet()
955 opus_int32 bytes_per_frame; in encode_multiframe_packet()
956 opus_int32 cbr_bytes; in encode_multiframe_packet()
957 opus_int32 repacketize_len; in encode_multiframe_packet()
1038 static int compute_redundancy_bytes(opus_int32 max_data_bytes, opus_int32 bitrate_bps, int frame_ra… in compute_redundancy_bytes()
1042 opus_int32 redundancy_rate; in compute_redundancy_bytes()
1044 opus_int32 available_bits; in compute_redundancy_bytes()
1066 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, in opus_encode_native()
1067 unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, in opus_encode_native()
1068 const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, in opus_encode_native()
1075 opus_int32 nBytes; in opus_encode_native()
1089 opus_int32 equiv_rate; in opus_encode_native()
1092 opus_int32 max_rate; /* Max bitrate we're allowed to use */ in opus_encode_native()
1095 opus_int32 max_data_bytes; /* Max number of bytes we're allowed to use */ in opus_encode_native()
1221 st->bitrate_bps = cbrBytes*(opus_int32)frame_rate12*8/12; in opus_encode_native()
1325 opus_int32 stereo_threshold; in opus_encode_native()
1362 opus_int32 mode_voice, mode_music; in opus_encode_native()
1363 opus_int32 threshold; in opus_encode_native()
1366 mode_voice = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[0][0]) in opus_encode_native()
1368 mode_music = (opus_int32)(MULT16_32_Q15(Q15ONE-stereo_width,mode_thresholds[1][1]) in opus_encode_native()
1458 const opus_int32 *voice_bandwidth_thresholds, *music_bandwidth_thresholds; in opus_encode_native()
1459 opus_int32 bandwidth_thresholds[8]; in opus_encode_native()
1670 opus_int32 total_bitRate, celt_rate; in opus_encode_native()
1710 opus_int32 rate_offset; in opus_encode_native()
1738 rate_offset = (opus_int32)PSHR32(MULT16_16(srate, masking_depth), DB_SHIFT); in opus_encode_native()
1768 opus_int32 effective_max_rate = max_rate; in opus_encode_native()
1807 … opus_int32 maxBitRate = compute_silk_rate_for_hybrid(st->silk_mode.maxBits*st->Fs / frame_size, in opus_encode_native()
1816 opus_int32 zero=0; in opus_encode_native()
1964 … st->silk_mode.stereoWidth_Q14 = 16384 - 2048*(opus_int32)(32000-equiv_rate)/(equiv_rate-14000); in opus_encode_native()
2198 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
2199 unsigned char *data, opus_int32 max_data_bytes) in opus_encode_float()
2223 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2224 unsigned char *data, opus_int32 out_data_bytes) in opus_encode()
2233 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2234 unsigned char *data, opus_int32 max_data_bytes) in opus_encode()
2256 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
2257 unsigned char *data, opus_int32 out_data_bytes) in opus_encode_float()
2282 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2298 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2308 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2315 else if (value > (opus_int32)300000*st->channels) in opus_encoder_ctl()
2316 value = (opus_int32)300000*st->channels; in opus_encoder_ctl()
2323 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2333 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2343 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2353 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2370 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2380 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2397 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2407 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2417 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2427 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2438 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2448 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2458 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2468 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2479 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2489 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2500 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2510 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2520 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2530 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2540 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2550 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2560 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2570 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2582 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2602 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2612 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2622 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2637 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2647 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2655 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2663 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2673 opus_int32 *value = va_arg(ap, opus_int32*); in opus_encoder_ctl()
2707 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()
2717 opus_int32 value = va_arg(ap, opus_int32); in opus_encoder_ctl()