/external/speex/include/speex/ |
speex_echo.h | 73 * @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);
|
speex_header.h | 69 spx_int32_t frame_size; /**< Size of frames */ member in struct:SpeexHeader
|
/external/webrtc/webrtc/sound/ |
alsasoundsystem.h | 74 size_t frame_size, 81 size_t frame_size, 88 size_t frame_size,
|
alsasoundsystem.cc | 78 size_t frame_size, 84 frame_size_(frame_size), 217 size_t frame_size() { function in class:rtc::AlsaStream 240 size_t frame_size, 244 : stream_(alsa, handle, frame_size, wait_timeout_ms, flags, freq), 292 size_t size = avail * stream_.frame_size(); 313 read * stream_.frame_size(), 345 size_t frame_size, 349 : stream_(alsa, handle, frame_size, wait_timeout_ms, flags, freq) { 367 if (size % stream_.frame_size() != 0) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
simple_decoder.c | 134 size_t frame_size = 0; local 136 &frame_size); 137 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
|
decode_with_drops.c | 119 size_t frame_size = 0; local 122 &frame_size); 123 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
|
postproc.c | 102 size_t frame_size = 0; local 104 &frame_size); 121 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000))
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
video_reader.c | 26 size_t frame_size; member in struct:VpxVideoReaderStruct 68 return !ivf_read_frame(reader->file, &reader->buffer, &reader->frame_size, 75 *size = reader->frame_size;
|
/external/libopus/src/ |
opus_multistream_encoder.c | 69 int frame_size 229 int frame_size; local 239 frame_size = len*upsample; 242 if (celt_mode->shortMdctSize<<LM==frame_size) 245 ALLOC(in, frame_size+overlap, opus_val32); 247 ALLOC(freq, frame_size, opus_val32); 259 celt_preemphasis(x, in+overlap, frame_size, 1, upsample, celt_mode->preemph, preemph_mem+c, 0); 266 for (;i<frame_size;i++) 301 OPUS_COPY(mem+c*overlap, in+frame_size, overlap); 597 int frame_size 696 int frame_size; local [all...] |
opus_private.h | 95 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); 97 opus_int32 compute_frame_size(const void *analysis_pcm, int frame_size, 105 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, 110 opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited,
|
opus_encoder.c | 406 int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) 427 for (;i<frame_size;i++) 438 int overlap48, int frame_size, int channels, const opus_val16 *window, opus_int32 Fs) 468 for (i=overlap;i<frame_size;i++) 506 static opus_int32 user_bitrate_to_bitrate(OpusEncoder *st, int frame_size, int max_data_bytes) 508 if(!frame_size)frame_size=st->Fs/400; 510 return 60*st->Fs/frame_size + st->Fs*st->channels; 512 return max_data_bytes*8*st->Fs/frame_size; 800 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs 1941 int frame_size; local 1967 int frame_size; local 1988 int frame_size; local 2012 int frame_size; local [all...] |
opus_demo.c | 226 int frame_size, channels; local 320 frame_size = sampling_rate/50; 377 frame_size = sampling_rate/400; 379 frame_size = sampling_rate/200; 381 frame_size = sampling_rate/100; 383 frame_size = sampling_rate/50; 385 frame_size = sampling_rate/25; 387 frame_size = 3*sampling_rate/50; 593 bandwidth_string, frame_size); 606 if (frame_size==sampling_rate/400 [all...] |
/external/libopus/doc/ |
trivial_example.c | 39 #define FRAME_SIZE 960 54 opus_int16 in[FRAME_SIZE*CHANNELS]; 115 int frame_size; local 118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); 122 for (i=0;i<CHANNELS*FRAME_SIZE;i++) 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); 134 /* Decode the data. In this example, frame_size will be constant because 138 frame_size = opus_decode(decoder, cbits, nbBytes, out, MAX_FRAME_SIZE, 0); 139 if (frame_size<0) 146 for(i=0;i<CHANNELS*frame_size;i++ [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
compress_capture.c | 133 if (header->frame_size > 0) { 134 if (c_in_header + header->frame_size > c_in_buf_size) { 136 header->frame_size = 140 "reserved[0]: %u frame_size: %d", c_in_mod.in_buf, 143 header->frame_size); 144 memcpy(buffer, c_in_mod.in_buf + c_in_header, header->frame_size);
|
/external/libopus/celt/ |
modes.c | 89 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands) 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) 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*1000 < Fs [all...] |
/external/libvpx/libvpx/examples/ |
decode_with_drops.c | 117 size_t frame_size = 0; local 120 &frame_size); 121 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
|
postproc.c | 100 size_t frame_size = 0; local 102 &frame_size); 119 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 15000))
|
/art/compiler/jni/ |
jni_cfi_test.cc | 54 const int frame_size(jni_conv->FrameSize()); 60 jni_asm->BuildFrame(frame_size, mr_conv->MethodRegister(), 64 jni_asm->RemoveFrame(frame_size, callee_save_regs); 69 ASSERT_EQ(jni_asm->cfi().GetCurrentCFAOffset(), frame_size);
|
/bionic/libc/kernel/uapi/sound/ |
usb_stream.h | 34 unsigned frame_size; member in struct:usb_stream_config
|
/external/kernel-headers/original/uapi/sound/ |
usb_stream.h | 37 unsigned frame_size; member in struct:usb_stream_config
|
/external/libopus/include/ |
opus_multistream.h | 352 * <code>frame_size*channels</code> 354 * @param frame_size <tt>int</tt>: Number of samples per channel in the input 380 int frame_size, 397 * <code>frame_size*channels</code> 399 * @param frame_size <tt>int</tt>: Number of samples per channel in the input 425 int frame_size, 566 * <code>frame_size*channels</code> 568 * @param frame_size <tt>int</tt>: The number of samples per channel of 573 * or FEC (decode_fec=1), then frame_size needs to be exactly 576 * next incoming packet. For the PLC and FEC cases, frame_size [all...] |
opus.h | 131 * len = opus_encode(enc, audio_frame, frame_size, packet, max_packet); 137 * <li>frame_size is the duration of the frame in samples (per channel)</li> 237 * @param [in] pcm <tt>opus_int16*</tt>: Input signal (interleaved if 2 channels). length is frame_size*channels*sizeof(opus_int16) 238 * @param [in] frame_size <tt>int</tt>: Number of samples per channel in the 266 int frame_size, 278 * length is frame_size*channels*sizeof(float) 279 * @param [in] frame_size <tt>int</tt>: Number of samples per channel in the 307 int frame_size, 367 * frame_size = opus_decode(dec, packet, len, decoded, max_size, 0); 451 * is frame_size*channels*sizeof(opus_int16 [all...] |
/external/libvpx/libvpx/test/ |
vpx_scale_test.cc | 38 memset(img_.buffer_alloc, kBufFiller, img_.frame_size); 49 memset(ref_img_.buffer_alloc, kBufFiller, ref_img_.frame_size); 54 memset(cpy_img_.buffer_alloc, kBufFiller, cpy_img_.frame_size); 135 EXPECT_EQ(ref_img_.frame_size, img_.frame_size); 156 EXPECT_EQ(ref_img_.frame_size, actual.frame_size); 158 ref_img_.frame_size));
|
/art/compiler/jni/quick/ |
jni_compiler.cc | 52 size_t frame_size, size_t out_arg_size); 114 const size_t frame_size(main_jni_conv->FrameSize()); 116 __ BuildFrame(frame_size, mr_conv->MethodRegister(), callee_save_regs, mr_conv->EntrySpills()); 117 DCHECK_EQ(jni_asm->cfi().GetCurrentCFAOffset(), static_cast<int>(frame_size)); 120 mr_conv->ResetIterator(FrameOffset(frame_size)); 148 CHECK_LT(handle_scope_offset.Uint32Value(), frame_size); 167 CHECK_LT(handle_scope_offset.Uint32Value(), frame_size); 300 mr_conv->ResetIterator(FrameOffset(frame_size + main_out_arg_size)); 311 mr_conv->ResetIterator(FrameOffset(frame_size + main_out_arg_size)); 322 CopyParameter(jni_asm.get(), mr_conv.get(), main_jni_conv.get(), frame_size, main_out_arg_size) [all...] |
/external/libopus/tests/ |
test_opus_encode.c | 248 int bw,len,out_samples,frame_size; local 249 frame_size=frame[j]; 280 len = opus_encode(enc, &inbuf[i<<1], frame_size, packet, MAX_PACKET); 299 if(out_samples!=frame_size)test_failed(); 303 out_samples = opus_decode(dec_err[0], packet, len, out2buf, frame_size, (fast_rand()&3)!=0); 304 if(out_samples!=frame_size)test_failed(); 307 i+=frame_size; 338 int pred,len,out_samples,frame_size,loss; local 341 frame_size=frame[j]; 357 len = opus_multistream_encode(MSenc, &inbuf[i<<1], frame_size, packet, MAX_PACKET) 404 int frame_size=fsizes[db62[fsize]]; local [all...] |