/frameworks/ex/variablespeed/jni/ |
ring_buffer.cc | 82 void RingBuffer::Write(const float* samples, int num_frames) { 83 if (!num_frames) { 86 if (head_ + num_frames <= size_) { 88 num_frames * num_channels_ * sizeof(samples[0])); 89 head_ += num_frames; 94 head_ = num_frames - overhead; 98 head_logical_ += num_frames; 101 void RingBuffer::Copy(int reader, float* destination, int num_frames) const { 103 if (pos + num_frames <= size_) { 105 num_channels_ * num_frames * sizeof(destination[0])) [all...] |
ring_buffer.h | 58 // @param num_frames number of frames to read. 60 void Copy(int reader, float* destination, int num_frames) const; 64 // @param num_frames number of frames to write. 65 void Write(const float* samples, int num_frames); 77 // Returns a pointer to num_frames x num_channels contiguous samples for 83 // @param num_frames number of frames to read. 84 // @returns pointer to a continuous buffer containing num_frames. 85 float* GetPointer(int reader, int num_frames); 92 // @param source pointer to a continuous buffer containing num_frames. 93 // @param num_frames number of frames to copy back to the ring buffer [all...] |
sola_time_scaler.cc | 33 int num_frames) { 37 num_frames *= num_channels_; 38 while (num_frames-- > 0) { 50 virtual int Correlate(const float*, const float*, int num_frames) { 51 return num_frames * num_channels_; 212 int SolaTimeScaler::InjectSamples(float* buffer, int num_frames) { 216 num_frames = min(input_limit(), num_frames); 217 if (!num_frames) { 222 input_buffer_->Write(buffer, num_frames); [all...] |
sola_time_scaler.h | 56 // @param num_frames number of input frames (that is to say, number of 58 // @param returns a correlation score in the range zero to num_frames 60 int num_frames); 107 // @param num_frames number of frames (num_samples / num_channels) 109 int InjectSamples(float* buffer, int num_frames); 113 // @param num_frames maximum desired number of frames 115 int RetrieveSamples(float* buffer, int num_frames);
|
/external/srec/srec/include/ |
utteranc.h | 243 int load_utb_data(file_utterance_info *utt, int num_frames, int do_skip); 244 int load_short_data(file_utterance_info *utt, int num_frames, int do_skip); 245 int save_utb_data(file_utterance_info *utt, int num_frames); 246 int save_short_data(file_utterance_info *utt, int num_frames);
|
simapi.h | [all...] |
/system/core/charger/ |
charger.c | 100 int num_frames; member in struct:animation 172 .num_frames = ARRAY_SIZE(batt_anim_frames), 638 if (batt_anim->num_frames != 0) { 653 if (batt_anim->capacity < 0 || batt_anim->num_frames == 0) 699 if (batt_cap >= 0 && batt_anim->num_frames != 0) { 703 for (i = 1; i < batt_anim->num_frames; i++) { 726 if (batt_anim->num_frames == 0 || batt_anim->capacity < 0) { 744 while (batt_anim->cur_frame < batt_anim->num_frames && 747 if (batt_anim->cur_frame >= batt_anim->num_frames) { 962 for (i = 0; i < charger->batt_anim->num_frames; i++) [all...] |
/external/bluetooth/bluez/test/ |
rctest.c | 65 static long num_frames = -1; variable 508 while ((num_frames == -1) || (num_frames-- > 0)) { 519 if (num_frames && delay && count && !(seq % count)) 693 num_frames = atoi(optarg);
|
l2test.c | 94 static int num_frames = -1; variable 757 while ((num_frames == -1) || (num_frames-- > 0)) { 778 if (num_frames && delay && count && !(seq % count)) 1209 num_frames = atoi(optarg);
|
/external/srec/srec/clib/ |
swicms.c | 518 int num_frames = swicms->cached_num_frames; local 536 if (speech_end < num_frames) 539 cache_end = num_frames; 544 if (num_frames == 0 || speech_end == 0 || speech_start == speech_end || speech_end == MAXframeID) 548 speech_start, speech_end, num_frames); 555 backgr_cache_end = (num_frames - num_frames % swicms->cache_resolution) / swicms->cache_resolution;
|
fpi_tgt.c | 725 int len, /* count= 0, */ num_frames = 0; local 763 num_frames++; 780 return (num_frames);
|
/external/chromium/net/spdy/ |
spdy_test_util.cc | [all...] |
spdy_test_util.h | 331 int CombineFrames(const spdy::SpdyFrame** frames, int num_frames,
|
/frameworks/base/media/libstagefright/codecs/avc/common/include/ |
avcapi_common.h | 189 @param num_frames The number of frames in DPB.
|
/external/chromium/chrome/browser/ui/gtk/ |
browser_titlebar.cc | 901 size_t num_frames = frame_strip->width() \/ frame_size; local [all...] |
/external/chromium/net/tools/testserver/ |
testserver.py | [all...] |