Home
last modified time | relevance | path

Searched refs:spx_int32_t (Results 1 – 25 of 27) sorted by relevance

12

/external/speex/include/speex/
Dspeex_header.h62 spx_int32_t speex_version_id; /**< Version for Speex (for checking compatibility) */
63 spx_int32_t header_size; /**< Total size of the header ( sizeof(SpeexHeader) ) */
64 spx_int32_t rate; /**< Sampling rate used */
65 spx_int32_t mode; /**< Mode used (0 for narrowband, 1 for wideband) */
66 spx_int32_t mode_bitstream_version; /**< Version ID of the bit-stream */
67 spx_int32_t nb_channels; /**< Number of channels encoded */
68 spx_int32_t bitrate; /**< Bit-rate used */
69 spx_int32_t frame_size; /**< Size of frames */
70 spx_int32_t vbr; /**< 1 for a VBR encoding, 0 otherwise */
71 spx_int32_t frames_per_packet; /**< Number of frames stored per Ogg packet */
[all …]
Dspeex_types.h29 typedef _G_int32_t spx_int32_t; typedef
36 typedef int spx_int32_t; typedef
39 typedef int spx_int32_t; typedef
45 typedef __int32 spx_int32_t; typedef
56 typedef SInt32 spx_int32_t; typedef
64 typedef int32_t spx_int32_t; typedef
73 typedef int32_t spx_int32_t; typedef
81 typedef int spx_int32_t; typedef
88 typedef int spx_int32_t; typedef
94 typedef int spx_int32_t; typedef
[all …]
Dspeex_jitter.h152 …fer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t desired_span, spx_int32_t *s…
189 int jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start…
Dspeex_config_types.h7 typedef int spx_int32_t; typedef
Dspeex_preprocess.h80 int speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo);
Dspeex_echo.h104 …hoState *st, const spx_int16_t *rec, const spx_int16_t *play, spx_int16_t *out, spx_int32_t *Yout);
Dspeex_resampler.h81 #define spx_int32_t int macro
/external/speex/libspeex/
Djitter.c69 #define TSUB(a,b) ((spx_int32_t)((a)-(b)))
71 #define GT32(a,b) (((spx_int32_t)((a)-(b)))>0)
72 #define GE32(a,b) (((spx_int32_t)((a)-(b)))>=0)
73 #define LT32(a,b) (((spx_int32_t)((a)-(b)))<0)
74 #define LE32(a,b) (((spx_int32_t)((a)-(b)))<=0)
86 spx_int32_t timing[MAX_TIMINGS]; /**< Sorted list of all timings ("latest" packets first) */
143spx_int32_t buffered; /**< Amount of data we think is still …
150spx_int32_t delay_step; /**< Size of the steps when adjusting …
151spx_int32_t concealment_size; /**< Size of the packet loss concealme…
179 spx_int32_t best_cost=0x7fffffff; in compute_opt_delay()
[all …]
Dsb_celp.c193 spx_int32_t tmp; in sb_encoder_init()
319 spx_int32_t dtx; in sb_encode()
459 spx_int32_t modeid; in sb_encode()
481 spx_int32_t bitrate; in sb_encode()
757 spx_int32_t tmp; in sb_decoder_init()
885 spx_int32_t dtx; in sb_decode()
1108 (*(spx_int32_t*)ptr) = st->full_frame_size; in sb_encoder_ctl()
1111 st->submodeSelect = st->submodeID = (*(spx_int32_t*)ptr); in sb_encoder_ctl()
1130 st->vbr_enabled = (*(spx_int32_t*)ptr); in sb_encoder_ctl()
1134 (*(spx_int32_t*)ptr) = st->vbr_enabled; in sb_encoder_ctl()
[all …]
Dsb_celp.h78 spx_int32_t vbr_max; /**< Max bit-rate allowed in VBR mode (total) */
79 spx_int32_t vbr_max_high; /**< Max bit-rate allowed in VBR mode for the high-band */
80 spx_int32_t abr_enabled; /**< ABR setting (in bps), 0 if off */
93 spx_int32_t sampling_rate;
108 spx_int32_t sampling_rate;
124 spx_int32_t seed;
Dnb_celp.h100 spx_int32_t vbr_enabled; /**< 1 for enabling VBR, 0 otherwise */
101 spx_int32_t vbr_max; /**< Max bit-rate allowed in VBR mode */
105 spx_int32_t abr_enabled; /**< ABR setting (in bps), 0 if off */
112 spx_int32_t sampling_rate;
133 spx_int32_t sampling_rate;
156 spx_int32_t seed; /** Seed used for random number generation */
Dpreprocess.c721 EXPORT int speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo) in speex_preprocess()
1056 st->denoise_enabled = (*(spx_int32_t*)ptr); in speex_preprocess_ctl()
1059 (*(spx_int32_t*)ptr) = st->denoise_enabled; in speex_preprocess_ctl()
1063 st->agc_enabled = (*(spx_int32_t*)ptr); in speex_preprocess_ctl()
1066 (*(spx_int32_t*)ptr) = st->agc_enabled; in speex_preprocess_ctl()
1081 … st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
1084 …(*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/st->frame_size… in speex_preprocess_ctl()
1087 … st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate); in speex_preprocess_ctl()
1090 …(*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_decrease_step)*st->sampling_rate/st->frame_size… in speex_preprocess_ctl()
1093 st->max_gain = exp(0.11513f * (*(spx_int32_t*)ptr)); in speex_preprocess_ctl()
[all …]
Dnb_celp.c455 spx_int32_t mode; in nb_encode()
494 spx_int32_t rate; in nb_encode()
505 spx_int32_t bitrate; in nb_encode()
1057 …pitch_val = st->last_pitch + SHR32((spx_int32_t)speex_rand(1+st->count_lost, &st->seed),SIG_SHIFT); in nb_decode_lost()
1583 (*(spx_int32_t*)ptr) = st->frameSize; in nb_encoder_ctl()
1587 st->submodeSelect = st->submodeID = (*(spx_int32_t*)ptr); in nb_encoder_ctl()
1591 (*(spx_int32_t*)ptr) = st->submodeID; in nb_encoder_ctl()
1595 st->vbr_enabled = (*(spx_int32_t*)ptr); in nb_encoder_ctl()
1598 (*(spx_int32_t*)ptr) = st->vbr_enabled; in nb_encoder_ctl()
1601 st->vad_enabled = (*(spx_int32_t*)ptr); in nb_encoder_ctl()
[all …]
Dspeex_callbacks.c77 spx_int32_t m; in speex_std_mode_request_handler()
85 spx_int32_t m; in speex_std_low_mode_request_handler()
93 spx_int32_t m; in speex_std_high_mode_request_handler()
102 spx_int32_t vbr; in speex_std_vbr_request_handler()
111 spx_int32_t enh; in speex_std_enh_request_handler()
Dpseudofloat.h64 static inline spx_float_t PSEUDOFLOAT(spx_int32_t x) in PSEUDOFLOAT()
188 r.m = (spx_int16_t)((spx_int32_t)(a).m*(b).m>>15); in FLOAT_MULT()
211 r.m = (spx_int16_t)((spx_int32_t)(a).m*(b).m>>15); in FLOAT_AMULT()
233 static inline spx_int32_t FLOAT_EXTRACT32(spx_float_t a) in FLOAT_EXTRACT32()
241 static inline spx_int32_t FLOAT_MUL32(spx_float_t a, spx_word32_t b) in FLOAT_MUL32()
317 spx_int32_t num; in FLOAT_DIVU()
340 spx_int32_t m; in FLOAT_SQRT()
Dspeex.c91 spx_int32_t N; in speex_encode()
118 spx_int32_t N; in speex_decode()
144 spx_int32_t N; in speex_encode_int()
160 spx_int32_t N; in speex_decode_int()
Dresample.c134 spx_int32_t *last_sample;
346 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_single()
398 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_direct_double()
446 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_single()
509 while (!(last_sample >= (spx_int32_t)*in_len || out_sample >= (spx_int32_t)*out_len)) in resampler_basic_interpolate_double()
604 spx_int32_t j; in update_filter()
607 …st->sinc_table[i*st->filt_len+j] = sinc(st->cutoff,((j-(spx_int32_t)st->filt_len/2+1)-((float)i)/s… in update_filter()
620 spx_int32_t i; in update_filter()
628 for (i=-4;i<(spx_int32_t)(st->oversample*st->filt_len+4);i++) in update_filter()
665 spx_int32_t i; in update_filter()
[all …]
Dcb_search.h73 spx_int32_t *seed
100 spx_int32_t *seed
Dmath_approx.h49 static inline spx_word16_t speex_rand(spx_word16_t std, spx_int32_t *seed) in speex_rand()
67 if (x>=(spx_int32_t)65536) in spx_ilog2()
97 if (x>=(spx_int32_t)65536) in spx_ilog4()
122 static inline spx_word16_t speex_rand(spx_word16_t std, spx_int32_t *seed) in speex_rand()
Dspeex_header.c48 static inline spx_int32_t le_int(spx_int32_t i) in le_int()
Dmodes.h89 …void (*innovation_unquant_func)(spx_sig_t *, const void *, int, SpeexBits*, char *, spx_int32_t *);
Dmdf.c142 spx_int32_t sampling_rate;
686 …oState *st, const spx_int16_t *in, const spx_int16_t *far_end, spx_int16_t *out, spx_int32_t *Yout) in speex_echo_cancel()
1225 residual_echo[i] = (spx_int32_t)MULT16_32_Q15(leak2,residual_echo[i]); in speex_echo_get_residual()
1259 *((spx_int32_t *)ptr) = st->M * st->frame_size; in speex_echo_ctl()
1264 spx_int32_t *filt = (spx_int32_t *) ptr; in speex_echo_ctl()
D_kiss_fft_guts.h50 # define SAMPPROD spx_int32_t
Dkiss_fft.c449 if (p>32000 || (spx_int32_t)p*(spx_int32_t)p > n) in kf_factor()
Darch.h92 typedef spx_int32_t spx_word32_t;

12