Home
last modified time | relevance | path

Searched refs:frame_size (Results 1 – 25 of 42) 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/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/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/chromium/chrome/browser/speech/
Dspeech_input_bubble.cc63 int frame_size = spinner_image->height(); in SpeechInputBubbleImages() local
73 empty_spinner.setConfig(SkBitmap::kARGB_8888_Config, frame_size, frame_size); in SpeechInputBubbleImages()
78 for (SkIRect src_rect(SkIRect::MakeWH(frame_size, frame_size)); in SpeechInputBubbleImages()
80 src_rect.offset(frame_size, 0)) { in SpeechInputBubbleImages()
/external/bluetooth/bluez/audio/
Dpcm_bluetooth.c853 unsigned int frame_size = 0; in bluetooth_hsp_read() local
859 frame_size = areas->step / 8; in bluetooth_hsp_read()
879 data->hw_ptr = (data->hw_ptr + data->link_mtu / frame_size) % in bluetooth_hsp_read()
886 if ((data->count + size * frame_size) <= data->link_mtu) in bluetooth_hsp_read()
889 frames_to_write = (data->link_mtu - data->count) / frame_size; in bluetooth_hsp_read()
891 memcpy(buff, data->buffer + data->count, frame_size * frames_to_write); in bluetooth_hsp_read()
892 data->count += (frame_size * frames_to_write); in bluetooth_hsp_read()
912 int rsend, frame_size; in bluetooth_hsp_write() local
924 frame_size = areas->step / 8; in bluetooth_hsp_write()
925 if ((data->count + size * frame_size) <= data->link_mtu) in bluetooth_hsp_write()
[all …]
/external/webrtc/src/common_audio/vad/main/source/
Dvad_filterbank.c122 int frame_size, in WebRtcVad_get_features() argument
137 curlen = frame_size; in WebRtcVad_get_features()
146 curlen = WEBRTC_SPL_RSHIFT_W16(frame_size, 1); in WebRtcVad_get_features()
163 curlen = WEBRTC_SPL_RSHIFT_W16(frame_size, 1); in WebRtcVad_get_features()
Dvad_filterbank.h118 int frame_size,
/external/libvpx/vpx_scale/generic/
Dyv12config.c63 ybf->frame_size = yplane_size + 2 * uvplane_size; in vp8_yv12_alloc_frame_buffer()
69 …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/valgrind/main/coregrind/m_sigframe/
Dsigframe-arm-linux.c266 UInt frame_size; in VG_() local
277 frame_size = sizeof(*frame); in VG_()
284 frame_size = sizeof(*frame); in VG_()
322 frame_size + VG_STACK_REDZONE_SZB ); in VG_()
Dsigframe-ppc32-linux.c882 UInt frame_size; in VG_() local
902 frame_size = sizeof(*frame); in VG_()
909 frame_size = sizeof(*frame); in VG_()
941 VG_TRACK(die_mem_stack_signal, sp, frame_size); in VG_()
Dsigframe-ppc64-linux.c328 UInt frame_size; in VG_() local
347 frame_size = sizeof(*frame); in VG_()
376 VG_TRACK(die_mem_stack_signal, sp, frame_size); in VG_()
/external/chromium/net/spdy/
Dspdy_framer.cc1156 size_t frame_size; in GetFrameBoundaries() local
1165 frame_size = SpdySynStreamControlFrame::size(); in GetFrameBoundaries()
1167 *header_length = frame_size; in GetFrameBoundaries()
1175 frame_size = SpdySynReplyControlFrame::size(); in GetFrameBoundaries()
1177 *header_length = frame_size; in GetFrameBoundaries()
1185 frame_size = SpdyHeadersControlFrame::size(); in GetFrameBoundaries()
1187 *header_length = frame_size; in GetFrameBoundaries()
1196 frame_size = SpdyFrame::size(); in GetFrameBoundaries()
1197 *header_length = frame_size; in GetFrameBoundaries()
/external/libvpx/vpx_scale/
Dyv12config.h58 int frame_size; member
/external/qemu/tcg/hppa/
Dtcg-target.c1605 int frame_size, i; in tcg_target_qemu_prologue() local
1608 frame_size = -TCG_TARGET_CALL_STACK_OFFSET; in tcg_target_qemu_prologue()
1609 frame_size += TCG_TARGET_STATIC_CALL_ARGS_SIZE; in tcg_target_qemu_prologue()
1612 frame_size += ARRAY_SIZE(tcg_target_callee_save_regs) * 4; in tcg_target_qemu_prologue()
1615 frame_size = ((frame_size + TCG_TARGET_STACK_ALIGN - 1) in tcg_target_qemu_prologue()
1623 TCG_REG_SP, frame_size, INSN_STWM); in tcg_target_qemu_prologue()
1628 TCG_REG_SP, -frame_size + i * 4); in tcg_target_qemu_prologue()
1643 tcg_out_ld(s, TCG_TYPE_PTR, TCG_REG_RP, TCG_REG_SP, -frame_size - 20); in tcg_target_qemu_prologue()
1646 TCG_REG_SP, -frame_size + i * 4); in tcg_target_qemu_prologue()
1652 TCG_REG_SP, -frame_size, INSN_LDWM); in tcg_target_qemu_prologue()
/external/libvpx/mkvparser/
Dmkvparser.cpp7936 const long long frame_size = stop - pos; in Block() local
7937 assert(frame_size <= LONG_MAX); in Block()
7939 f.len = static_cast<long>(frame_size); in Block()
7966 long frame_size = 0; in Block() local
7977 frame_size += val; in Block()
7986 f.len = frame_size; in Block()
7987 size += frame_size; //contribution of this frame in Block()
8002 const long long frame_size = total_size - size; in Block() local
8003 assert(frame_size <= LONG_MAX); in Block()
8005 f.len = static_cast<long>(frame_size); in Block()
[all …]

12