Searched refs:frame_size (Results 1 - 25 of 105) sorted by relevance

12345

/external/speex/include/speex/
H A 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);
H A Dspeex_echo.h73 * @param frame_size Number of samples to process at one time (should correspond to 10-20 ms)
77 SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length);
80 * @param frame_size Number of samples to process at one time (should correspond to 10-20 ms)
86 SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int nb_speakers);
145 * @param frame_size Size of the frame to process at ones (counting samples *per* channel)
147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size);
H A Dspeex_header.h69 spx_int32_t frame_size; /**< Size of frames */ member in struct:SpeexHeader
/external/speex/libspeex/
H A Dscal.c60 int frame_size; member in struct:SpeexDecorrState_
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) argument
87 st->frame_size = frame_size;
89 st->psy = vorbis_psy_init(rate, 2*frame_size);
90 spx_drft_init(&st->lookup, 2*frame_size);
91 st->wola_mem = speex_alloc(frame_size*sizeof(float));
92 st->curve = speex_alloc(frame_size*sizeof(float));
94 st->y = speex_alloc(frame_size*sizeof(float));
96 st->buff = speex_alloc(channels*2*frame_size*sizeo
[all...]
H A Dmdf.c133 int frame_size; /**< Number of samples processed each time */ member in struct:SpeexEchoState_
402 EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length) argument
404 return speex_echo_state_init_mc(frame_size, filter_length, 1, 1);
407 EXPORT SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int nb_speakers) argument
424 st->frame_size = frame_size;
425 st->window_size = 2*frame_size;
427 M = st->M = (filter_length+st->frame_size-1)/frame_size;
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 1
[all...]
/external/libvpx/libvpx/vpx_scale/generic/
H A Dyv12config.c51 const int frame_size = yplane_size + 2 * uvplane_size; local
54 ybf->buffer_alloc = vpx_memalign(32, frame_size);
55 ybf->buffer_alloc_sz = frame_size;
58 if (!ybf->buffer_alloc || ybf->buffer_alloc_sz < frame_size)
84 ybf->frame_size = frame_size;
146 const int frame_size = yplane_size + 2 * uvplane_size + local
149 const int frame_size = yplane_size + 2 * uvplane_size; local
152 ybf->buffer_alloc = vpx_memalign(32, frame_size);
153 ybf->buffer_alloc_sz = frame_size;
[all...]
/external/chromium_org/chrome/browser/ui/gtk/
H A Dtitlebar_throb_animation.cc25 int frame_size = frame_strip.height(); local
26 size_t num_frames = frame_strip.width() / frame_size;
31 i * frame_size, 0, frame_size, frame_size);
/external/libvpx/libvpx/test/
H A Dvp8_decrypt_test.cc56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
63 std::vector<uint8_t> encrypted(video.frame_size());
64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size());
69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
/external/chromium_org/third_party/opus/src/celt/
H A Dopus_custom_demo.c51 opus_int32 frame_size, channels, rate; local
72 frame_size = atoi(argv[3]);
73 mode = opus_custom_mode_create(rate, frame_size, NULL);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
137 len = opus_custom_encode(enc, in, frame_size, data, bytes_per_packet);
168 ret = opus_custom_decode(dec, NULL, len, out, frame_size);
170 ret = opus_custom_decode(dec, data, len, out, frame_size);
200 rmsd = sqrt(rmsd/(1.0*frame_size*channel
[all...]
H A Dmodes.c89 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands) argument
95 if (Fs == 400*(opus_int32)frame_size)
140 if (eBands[*nbEBands] > frame_size)
141 eBands[*nbEBands] = frame_size;
223 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error) argument
246 (frame_size<<j) == static_mode_list[i]->shortMdctSize*static_mode_list[i]->nbShortMdcts)
270 if (frame_size < 40 || frame_size > 1024 || frame_size%2!=0)
277 if ((opus_int32)frame_size*100
[all...]
H A Dcelt.h95 int celt_encode_with_ec(OpusCustomEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc);
108 int celt_decode_with_ec(OpusCustomDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec);
/external/chromium_org/third_party/opus/src/include/
H A Dopus_custom.h116 * @param [in] frame_size <tt>int</tt>: Number of samples (per channel) to encode in each
121 OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error);
185 * frame_size samples per channel.
186 * @param [in] frame_size <tt>int</tt>: Number of samples per frame of input signal
198 int frame_size,
206 * There must be exactly frame_size samples per channel.
207 * @param [in] frame_size <tt>int</tt>: Number of samples per frame of input signal
219 int frame_size,
286 * is frame_size*channels*sizeof(float)
287 * @param [in] frame_size Numbe
[all...]
H A Dopus_multistream.h324 * <code>frame_size*channels</code>
326 * @param frame_size <tt>int</tt>: Number of samples per channel in the input
352 int frame_size,
369 * <code>frame_size*channels</code>
371 * @param frame_size <tt>int</tt>: Number of samples per channel in the input
397 int frame_size,
538 * <code>frame_size*channels</code>
540 * @param frame_size <tt>int</tt>: The number of samples per channel of
545 * or FEC (decode_fec=1), then frame_size needs to be exactly
548 * next incoming packet. For the PLC and FEC cases, frame_size
[all...]
/external/chromium_org/third_party/opus/src/src/
H A Dopus_multistream.c239 int frame_size
249 int frame_size,
267 /* Validate frame_size before using it to allocate stack space.
269 if (400*frame_size != Fs && 200*frame_size != Fs &&
270 100*frame_size != Fs && 50*frame_size != Fs &&
271 25*frame_size != Fs && 50*frame_size != 3*Fs)
276 ALLOC(buf, 2*frame_size, opus_val1
244 opus_multistream_encode_native( OpusMSEncoder *st, opus_copy_channel_in_func copy_channel_in, const void *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
378 opus_multistream_encode( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
391 opus_multistream_encode_float( OpusMSEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
406 opus_multistream_encode_float( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
419 opus_multistream_encode( OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
695 opus_multistream_decode_native( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, void *pcm, opus_copy_channel_out_func copy_channel_out, int frame_size, int decode_fec ) argument
866 opus_multistream_decode( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec ) argument
880 opus_multistream_decode_float(OpusMSDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
890 opus_multistream_decode(OpusMSDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
897 opus_multistream_decode_float( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec ) argument
[all...]
H A Dopus_decoder.c65 int frame_size; member in struct:OpusDecoder
131 st->frame_size = Fs/400;
197 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
227 if (frame_size < F2_5)
232 /* Limit frame_size to avoid excessive stack allocations. */
233 frame_size = IMIN(frame_size, st->Fs/25*3);
239 frame_size = IMIN(frame_size, st->frame_size);
196 opus_decode_frame(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
697 opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, int *packet_offset) argument
800 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
807 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
829 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
854 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
[all...]
H A Dopus_demo.c204 int frame_size, channels; local
298 frame_size = sampling_rate/50;
340 frame_size = sampling_rate/400;
342 frame_size = sampling_rate/200;
344 frame_size = sampling_rate/100;
346 frame_size = sampling_rate/50;
348 frame_size = sampling_rate/25;
350 frame_size = 3*sampling_rate/50;
548 bandwidth_string, frame_size);
561 frame_size
[all...]
H A Dopus_encoder.c369 int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs)
390 for (;i<frame_size;i++)
430 static opus_int32 user_bitrate_to_bitrate(OpusEncoder *st, int frame_size, int max_data_bytes) argument
432 if(!frame_size)frame_size=st->Fs/400;
434 return 60*st->Fs/frame_size + st->Fs*st->channels;
436 return max_data_bytes*8*st->Fs/frame_size;
443 opus_int32 opus_encode(OpusEncoder *st, const opus_val16 *pcm, int frame_size, argument
447 opus_int32 opus_encode_float(OpusEncoder *st, const opus_val16 *pcm, int frame_size,
482 if (400*frame_size !
368 stereo_fade(const opus_val16 *in, opus_val16 *out, opus_val16 g1, opus_val16 g2, int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) argument
1271 opus_encode_float(OpusEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) argument
1295 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes) argument
[all...]
/external/chromium_org/media/cdm/ppapi/
H A Dfake_cdm_video_decoder.cc67 int frame_size = u_offset + uv_stride * uv_rows + kPlanePadding; local
69 decoded_frame->SetFrameBuffer(host_->Allocate(frame_size));
70 decoded_frame->FrameBuffer()->SetSize(frame_size);
86 color, frame_size);
/external/chromium_org/third_party/libjingle/source/talk/sound/
H A Dalsasoundsystem.h91 size_t frame_size,
98 size_t frame_size,
105 size_t frame_size,
H A Dalsasoundsystem.cc91 size_t frame_size,
97 frame_size_(frame_size),
230 size_t frame_size() { function in class:cricket::AlsaStream
253 size_t frame_size,
257 : stream_(alsa, handle, frame_size, wait_timeout_ms, flags, freq),
305 size_t size = avail * stream_.frame_size();
326 read * stream_.frame_size(),
359 size_t frame_size,
363 : stream_(alsa, handle, frame_size, wait_timeout_ms, flags, freq) {
382 if (size % stream_.frame_size() !
89 AlsaStream(AlsaSoundSystem *alsa, snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq) argument
251 AlsaInputStream(AlsaSoundSystem *alsa, snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq) argument
357 AlsaOutputStream(AlsaSoundSystem *alsa, snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq) argument
633 OpenDevice( const SoundDeviceLocator *device, const OpenParams &params, snd_pcm_stream_t type, StreamInterface *(AlsaSoundSystem::*start_fn)( snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq)) argument
727 StartOutputStream( snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq) argument
738 StartInputStream( snd_pcm_t *handle, size_t frame_size, int wait_timeout_ms, int flags, int freq) argument
[all...]
/external/srec/srec/cfront/
H A Dwav_acc.c46 void create_sample_buffer(wave_info *wave, int frame_size, int window_size) argument
49 ASSERT(frame_size > 0);
50 ASSERT(window_size >= frame_size);
54 wave->frame_size = frame_size;
56 log_report("window %d frame %d\n", window_size, frame_size);
71 wave->frame_size = 0;
/external/valgrind/main/coregrind/m_debuginfo/
H A Dpriv_readdwarf.h68 UChar* frame_image, SizeT frame_size, Addr frame_avma,
/external/webrtc/src/common_audio/vad/
H A Dvad_filterbank.h109 * - frame_size : Frame size, in number of samples
119 int frame_size,
/external/chromium_org/third_party/opus/src/tests/
H A Dtest_opus_encode.c248 int bw,len,out_samples,frame_size; local
249 frame_size=frame[j];
264 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET);
268 if(out_samples!=frame_size)test_failed();
272 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0);
273 if(out_samples!=frame_size)test_failed();
276 i+=frame_size;
307 int len,out_samples,frame_size,loss; local
308 frame_size=frame[j];
311 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packe
343 int frame_size=fsizes[db62[fsize]]; local
[all...]
/external/chromium_org/content/browser/speech/endpointer/
H A Dendpointer_unittest.cc24 virtual EpStatus ProcessFrame(int64 time, int16* samples, int frame_size) = 0;
78 int frame_size) OVERRIDE {
123 int frame_size) OVERRIDE {

Completed in 1435 milliseconds

12345