/external/qemu/distrib/sdl-1.2.15/src/audio/alsa/ |
SDL_alsa_audio.c | 76 static int (*SDL_NAME(snd_pcm_hw_params_get_period_size))(const snd_pcm_hw_params_t *params, snd_pcm_uframes_t *frames, int *dir); 401 snd_pcm_uframes_t frames; local 418 frames = spec->samples; 419 status = SDL_NAME(snd_pcm_hw_params_set_period_size_near)(pcm_handle, hwparams, &frames, NULL); 438 snd_pcm_uframes_t frames; local 454 frames = spec->samples * 2; 455 status = SDL_NAME(snd_pcm_hw_params_set_buffer_size_near)(pcm_handle, hwparams, &frames);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/ |
_stream_hybi.py | 31 """This file provides classes and helper functions for parsing/building frames 179 unmask_receive: unmask received frames. When received unmasked 213 'configuration for received frames') 302 # This is for skipping UTF-8 encoding when building text type frames 309 # frames in the message are all the same. 319 raise ValueError('Message types are different in frames for ' 349 'Payload data size of control frames must be 125 bytes or less') 392 # Filters applied to frames. 396 # Filters applied to messages. Control frames are not affected by them. 406 """A class for parsing/building frames of the WebSocket protoco [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
rate_hist.c | 32 int frames; member in struct:rate_hist 43 // to determine the number of frames in rc_buf_sz milliseconds, with an 51 hist->frames = 0; 84 int idx = hist->frames++ % hist->samples; 94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
|
/external/libvpx/libvpx/ |
rate_hist.c | 32 int frames; member in struct:rate_hist 43 // to determine the number of frames in rc_buf_sz milliseconds, with an 51 hist->frames = 0; 84 int idx = hist->frames++ % hist->samples; 94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
|
/frameworks/av/services/audioflinger/tests/ |
test-mixer.cpp | 48 fprintf(stderr, " -P # frames provided per call to resample() in CSV format\n"); 55 uint32_t sampleRate, uint32_t channels, size_t frames, bool isBufferFloat) { 61 info.frames = 0; 65 printf("saving file:%s channels:%u samplerate:%u frames:%zu\n", 66 filename, info.channels, info.samplerate, frames); 73 (void) sf_writef_float(sf, (float*)buffer, frames); 75 (void) sf_writef_short(sf, (short*)buffer, frames); 186 // calculate the number of output frames 290 outputFrames = i; // reset output frames to the data actually produced.
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
rate_hist.c | 32 int frames; member in struct:rate_hist 43 // to determine the number of frames in rc_buf_sz milliseconds, with an 51 hist->frames = 0; 84 int idx = hist->frames++ % hist->samples; 94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
|
/external/chromium_org/media/audio/android/ |
audio_android_unittest.cc | 128 return dest->frames(); 137 << "frames per buffer: " << params.frames_per_buffer() << endl 184 audio_bus->frames() * audio_bus->channels() * kBytesPerSample; 194 // FromInterleaved() will zero out any unfilled frames when there is not 196 int frames = max_size / (audio_bus->channels() * kBytesPerSample); variable 198 audio_bus->FromInterleaved(file_->data() + pos_, frames, kBytesPerSample); 206 return frames; 269 const int num_samples = src->frames() * src->channels(); 272 src->ToInterleaved(src->frames(), bytes_per_sample, interleaved.get()); 321 const int num_samples = src->frames() * src->channels() 391 const int frames = bytes \/ params_.GetBytesPerFrame(); local [all...] |
/external/chromium_org/net/quic/ |
quic_session_test.cc | 592 vector<QuicStreamFrame> frames; local 593 frames.push_back(data1); 594 session_.OnStreamFrames(frames); 605 // If multiple invalid reset stream frames arrive in a single packet, this 607 // multiple connection close frames. 611 vector<QuicStreamFrame> frames; local 612 frames.push_back(data1); 613 session_.OnStreamFrames(frames); 728 // Expect no stream WINDOW_UPDATE frames, as stream read side closed. 760 vector<QuicStreamFrame> frames; local 820 vector<QuicStreamFrame> frames; local 891 vector<QuicStreamFrame> frames; local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
AudioUsbALSA.cpp | 383 long frames; local 432 frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); 433 x.frames = (musbRecordingHandle->flags & PCM_MONO) ? (bufsize / 2) : (bufsize / 4); 492 if (x.frames > avail) 493 frames = avail; 537 musbRecordingHandle->sync_ptr->c.control.appl_ptr += frames; 549 mproxyRecordingHandle->sync_ptr->c.control.appl_ptr += frames; 772 long frames; local 839 frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4); 840 x.frames = (mproxyPlaybackHandle->flags & PCM_MONO) ? (proxyPeriod / 2) : (proxyPeriod / 4) [all...] |
/external/chromium_org/media/base/ |
audio_splicer_unittest.cc | 56 int frames = buffer->frame_count(); local 57 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames); 58 buffer->ReadFrames(frames, 0, 0, bus.get()); 60 for (int i = 0; i < frames; ++i) { 109 const int frames = crossfade_output->frame_count(); local 112 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames); 113 crossfade_output->ReadFrames(frames, 0, 0, bus.get()); 116 const float cf_increment = 1.0f / frames; 117 for (int i = 0; i < frames; ++i, cf_ratio += cf_increment) { 184 // next buffer starts many frames beyond the end o [all...] |
/external/chromium_org/media/cast/test/ |
receiver.cc | 161 // An InProcessReceiver that renders video frames to a LinuxOutputWindow and 162 // audio frames via Chromium's audio stack. 164 // InProcessReceiver pushes audio and video frames to this subclass, and these 165 // frames are pushed into a queue. Then, for audio, the Chromium audio stack 166 // will make polling calls on a separate, unknown thread whereby audio frames 169 // queues are pruned (i.e., received frames are skipped) when the system is not 170 // able to play back as fast as frames are entering the queue. 173 // 1. It only skips frames to handle slower-than-expected playout, or halts 176 // frames with the audio frames [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-1081309.js | 80 assertEquals(2, backtrace.frames.length); 82 assertEquals("g", response.lookup(backtrace.frames[0].func.ref).name); 83 assertEquals("", response.lookup(backtrace.frames[1].func.ref).name);
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 437 int frames; local 439 frames = surfaceTextureView.getFrameCounter(); 441 frames = catcher.mFrames; 443 if (frames == 0) { 445 publishProgress("Preview callback received no frames from " + baseStatus); 447 publishProgress("Preview callback got " + frames + " frames (~" + 448 Math.round(((double)frames)/(5.0 * numPasses)) + "fps) " +
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
cgitb.py | 117 frames = [] variable 169 frames.append(''' 181 return head + ''.join(frames) + ''.join(exception) + ''' 205 frames = [] variable 243 frames.append('\n%s\n' % '\n'.join(rows)) 251 return head + ''.join(frames) + ''.join(exception) + '''
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
cgitb.py | 117 frames = [] variable 169 frames.append(''' 181 return head + ''.join(frames) + ''.join(exception) + ''' 205 frames = [] variable 243 frames.append('\n%s\n' % '\n'.join(rows)) 251 return head + ''.join(frames) + ''.join(exception) + '''
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_links/ |
send_links.js | 6 // The popup injects this script into all frames in the active tab.
|
/external/chromium_org/media/audio/alsa/ |
alsa_output.cc | 162 DCHECK_EQ(audio_bus_->frames() * bytes_per_frame_, packet_size_); 412 snd_pcm_sframes_t frames = std::min( local 416 if (!frames) 420 wrapper_->PcmWritei(playback_handle_, buffer_data, frames); 438 DCHECK_EQ(frames_written, frames); 495 // The sound card has |kTargetFramesAvailable| or more frames available. 499 // The sound card has frames available, but our source is exhausted, so 510 base::TimeDelta AlsaPcmOutputStream::FramesToTimeDelta(int frames, 513 frames * base::Time::kMicrosecondsPerSecond / sample_rate); 608 // Find the number of frames queued in the sound device [all...] |
/external/chromium_org/media/audio/win/ |
audio_output_win_unittest.cc | 42 return audio_bus->frames(); 59 return audio_bus->frames(); 98 return audio_bus->frames(); 579 return audio_bus_->frames(); 602 int frames; member in struct:media::SyncThreadContext 620 ctx.channels, ctx.frames, data.get()); 627 for (int ix = 0; ix < kTwoSecFrames; ix += ctx.frames) { 675 thread_context.frames = params.frames_per_buffer();
|
/external/chromium_org/ppapi/shared_impl/ |
ppb_audio_shared.cc | 117 client_buffer_size_bytes_ = audio_bus_->frames() * audio_bus_->channels() * 226 audio_bus_->frames(),
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
Page.cpp | 87 Vector<RefPtr<LocalFrame> > frames; local 89 // Get all the frames of all the pages in all the page groups 93 // FIXME: There is currently no way to dispatch events to out-of-process frames. 95 frames.append(toLocalFrame(frame)); 101 for (unsigned i = 0; i < frames.size(); i++) 102 frames[i]->domWindow()->dispatchEvent(Event::create(eventName)); 572 Vector< RefPtr<LocalFrame> > frames; local 575 // an event so we keep the frames alive until we are done. 578 frames.append(toLocalFrame(frame)); 581 for (unsigned i = 0; i < frames.size(); ++i [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
d3d10winmain.cpp | 37 static int frames = 0; variable 49 frames = 0;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11winmain.cpp | 37 static int frames = 0; variable 49 frames = 0;
|
/external/chromium_org/v8/test/mjsunit/ |
debug-return-value.js | 117 frames = response.body().frames; 118 assertTrue(frames[0].atReturn); 120 response.lookup(frames[0].returnValue.ref).value);
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10app/ |
d3d10winmain.cpp | 37 static int frames = 0; variable 49 frames = 0;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11winmain.cpp | 37 static int frames = 0; variable 49 frames = 0;
|