Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 28) sorted by relevance

12

/external/speex/libspeex/
Dscal.c60 int frame_size; member
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) in speex_decorrelate_new() argument
87 st->frame_size = frame_size; in speex_decorrelate_new()
89 st->psy = vorbis_psy_init(rate, 2*frame_size); in speex_decorrelate_new()
90 spx_drft_init(&st->lookup, 2*frame_size); in speex_decorrelate_new()
91 st->wola_mem = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
92 st->curve = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
94 st->y = speex_alloc(frame_size*sizeof(float)); in speex_decorrelate_new()
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float)); in speex_decorrelate_new()
103 st->vorbis_win = speex_alloc((2*frame_size+20)*sizeof(float)); in speex_decorrelate_new()
[all …]
Dmdf.c133 int frame_size; /**< Number of samples processed each time */ member
402 EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) in speex_echo_state_init() argument
404 return speex_echo_state_init_mc(frame_size, filter_length, 1, 1); in speex_echo_state_init()
407 EXPORT SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int … in speex_echo_state_init_mc() argument
424 st->frame_size = frame_size; in speex_echo_state_init_mc()
425 st->window_size = 2*frame_size; in speex_echo_state_init_mc()
427 M = st->M = (filter_length+st->frame_size-1)/frame_size; in speex_echo_state_init_mc()
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); in speex_echo_state_init_mc()
436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); in speex_echo_state_init_mc()
437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); in speex_echo_state_init_mc()
[all …]
Dstereo.c108 EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits) in speex_encode_stereo() argument
113 for (i=0;i<frame_size;i++) in speex_encode_stereo()
146 EXPORT void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits) in speex_encode_stereo_int() argument
162 for (i=0;i<frame_size;i++) in speex_encode_stereo_int()
221 EXPORT void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *_stereo) in speex_decode_stereo() argument
237 for (i=frame_size-1;i>=0;i--) in speex_decode_stereo()
248 EXPORT void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *_stereo) in speex_decode_stereo_int() argument
264 for (i=frame_size-1;i>=0;i--) in speex_decode_stereo_int()
Dsb_celp.c213 st->frame_size = mode->frameSize; in sb_encoder_init()
216 st->windowSize = st->frame_size+st->subframeSize; in sb_encoder_init()
233 st->high=(spx_word16_t*)speex_alloc((st->windowSize-st->frame_size)*sizeof(spx_word16_t)); in sb_encoder_init()
335 high = in+st->frame_size; in sb_encode()
346 e_low = compute_rms16(low, st->frame_size); in sb_encode()
347 e_high = compute_rms16(high, st->frame_size); in sb_encode()
356 high = high - (st->windowSize-st->frame_size); in sb_encode()
357 SPEEX_COPY(high, st->high, st->windowSize-st->frame_size); in sb_encode()
358 SPEEX_COPY(st->high, &high[st->frame_size], st->windowSize-st->frame_size); in sb_encode()
515 for (i=0;i<st->frame_size;i++) in sb_encode()
[all …]
Dpreprocess.c183 int frame_size; /**< Number of samples processed each time */ member
395 EXPORT SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate) in speex_preprocess_state_init() argument
401 st->frame_size = frame_size; in speex_preprocess_state_init()
406 st->ps_size = st->frame_size; in speex_preprocess_state_init()
419 if (st->ps_size < 3*st->frame_size/4) in speex_preprocess_state_init()
422 st->ps_size = st->frame_size; in speex_preprocess_state_init()
426 N3 = 2*N - st->frame_size; in speex_preprocess_state_init()
427 N4 = st->frame_size - N3; in speex_preprocess_state_init()
519 st->max_increase_step = exp(0.11513f * 12.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
520 st->max_decrease_step = exp(-0.11513f * 40.*st->frame_size / st->sampling_rate); in speex_preprocess_state_init()
[all …]
Dspeex_header.c112 speex_mode_query(m, SPEEX_MODE_FRAME_SIZE, &header->frame_size); in speex_init_header()
136 ENDIAN_SWITCH(le_header->frame_size); in speex_header_to_packet()
176 ENDIAN_SWITCH(le_header->frame_size); in speex_packet_to_header()
Dsb_celp.h48 int frame_size; /**< Length of high-band frames*/ member
103 int frame_size; member
/external/srec/srec/cfront/
Dwav_acc.c46 void create_sample_buffer(wave_info *wave, int frame_size, int window_size) in create_sample_buffer() argument
49 ASSERT(frame_size > 0); in create_sample_buffer()
50 ASSERT(window_size >= frame_size); in create_sample_buffer()
54 wave->frame_size = frame_size; in create_sample_buffer()
56 log_report("window %d frame %d\n", window_size, frame_size); in create_sample_buffer()
71 wave->frame_size = 0; in free_sample_buffer()
/external/speex/include/speex/
Dspeex_stereo.h72 void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits);
75 void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits);
78 void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *stereo);
81 void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *stereo);
Dspeex_echo.h77 SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length);
86 SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int nb_spea…
147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size);
Dspeex_header.h69 spx_int32_t frame_size; /**< Size of frames */ member
Dspeex_preprocess.h65 SpeexPreprocessState *speex_preprocess_state_init(int frame_size, int sampling_rate);
/external/bluetooth/bluez/audio/
Dpcm_bluetooth.c851 unsigned int frame_size = 0; in bluetooth_hsp_read() local
857 frame_size = areas->step / 8; in bluetooth_hsp_read()
877 data->hw_ptr = (data->hw_ptr + data->link_mtu / frame_size) % in bluetooth_hsp_read()
884 if ((data->count + size * frame_size) <= data->link_mtu) in bluetooth_hsp_read()
887 frames_to_write = (data->link_mtu - data->count) / frame_size; in bluetooth_hsp_read()
889 memcpy(buff, data->buffer + data->count, frame_size * frames_to_write); in bluetooth_hsp_read()
890 data->count += (frame_size * frames_to_write); in bluetooth_hsp_read()
910 int rsend, frame_size; in bluetooth_hsp_write() local
922 frame_size = areas->step / 8; in bluetooth_hsp_write()
923 if ((data->count + size * frame_size) <= data->link_mtu) in bluetooth_hsp_write()
[all …]
/external/libvpx/vpx_scale/generic/
Dyv12config.c66 ybf->frame_size = yplane_size + 2 * uvplane_size; in vp8_yv12_alloc_frame_buffer()
72 …ybf->buffer_alloc = (unsigned char *) duck_memalign(32, ybf->frame_size + (ybf->y_stride * 2) + 3… in vp8_yv12_alloc_frame_buffer()
/external/srec/srec/include/
Dsample.h182 int frame_size; member
206 void create_sample_buffer(wave_info *wave, int frame_size, int window_size);
/external/libvpx/vp8/encoder/
Dpreproc.c208 int init_pre_proc7(pre_proc_instance *ppi, int frame_size) in init_pre_proc7() argument
227 ppi->frame_buffer_alloc = vpx_malloc(32 + frame_size * FRAMECOUNT * sizeof(unsigned char)); in init_pre_proc7()
/external/qemu/android/
Dhw-qemud.c580 int frame_size; in qemud_client_recv() local
586 frame_size = hex2int(c->header0, 4); in qemud_client_recv()
587 if (frame_size == 0) { in qemud_client_recv()
591 if (frame_size < 0) { in qemud_client_recv()
597 AARRAY_NEW(data, frame_size+1); /* +1 for terminating zero */ in qemud_client_recv()
598 qemud_sink_reset(c->payload, frame_size, data); in qemud_client_recv()
/external/libvpx/vp8/common/
Dpreproc.h42 int init_pre_proc(pre_proc_instance *ppi, int frame_size);
/external/libvpx/vpx_scale/
Dyv12config.h58 int frame_size; member
/external/qemu/tcg/i386/
Dtcg-target.c1220 int i, frame_size, push_size, stack_addend; in tcg_target_qemu_prologue() local
1229 frame_size = push_size + TCG_STATIC_CALL_ARGS_SIZE; in tcg_target_qemu_prologue()
1230 frame_size = (frame_size + TCG_TARGET_STACK_ALIGN - 1) & in tcg_target_qemu_prologue()
1232 stack_addend = frame_size - push_size; in tcg_target_qemu_prologue()
/external/srec/portable/include/
Dpstream.h45 unsigned int frame_size; /* buffer size in current frame; useful for writable file */ member
/external/qemu/tcg/x86_64/
Dtcg-target.c1292 int i, frame_size, push_size, stack_addend; in tcg_target_qemu_prologue() local
1302 frame_size = push_size + TCG_STATIC_CALL_ARGS_SIZE; in tcg_target_qemu_prologue()
1303 frame_size = (frame_size + TCG_TARGET_STACK_ALIGN - 1) & in tcg_target_qemu_prologue()
1305 stack_addend = frame_size - push_size; in tcg_target_qemu_prologue()
/external/bluetooth/hcidump/parser/
Drfcomm.h335 uint16_t frame_size:16; member
476 uint16_t frame_size:16; member
Drfcomm.c175 btohs(pn->frame_size), pn->max_nbrof_retrans, pn->credits); in mcc_pn()
/external/srec/srec/Recognizer/include/
DSR_RecognizerImpl.h128 ESR_ReturnCode WaveformBuffer_Create(WaveformBuffer** waveformBuffer, size_t frame_size);

12