/external/chromium_org/media/audio/ |
audio_output_resampler.cc | 347 return dest->frames(); 354 // Always return the full number of frames requested, ProvideInput_Locked() 356 return dest->frames(); 372 int frames = source_callback_->OnMoreIOData( local 380 // Zero any unfilled frames if anything was filled, otherwise we'll just 382 if (frames > 0 && frames < dest->frames()) 383 dest->ZeroFramesPartial(frames, dest->frames() - frames) [all...] |
audio_output_device_unittest.cc | 134 int frames = default_audio_parameters_.frames_per_buffer(); local 136 AudioBus::CalculateMemorySize(input_channels_, frames); 213 // of frames written to the memory section.
|
/external/chromium_org/media/audio/linux/ |
alsa_input.cc | 173 snd_pcm_sframes_t frames = wrapper_->PcmAvailUpdate(device_handle_); local 174 if (frames < 0) { // Potentially recoverable error? 175 LOG(WARNING) << "PcmAvailUpdate(): " << wrapper_->StrError(frames); 176 Recover(frames); 179 if (frames < params_.frames_per_buffer()) { 197 int num_buffers = frames / params_.frames_per_buffer(); 214 LOG(WARNING) << "PcmReadi returning less than expected frames: "
|
alsa_output.cc | 163 DCHECK_EQ(audio_bus_->frames() * bytes_per_frame_, packet_size_); 413 snd_pcm_sframes_t frames = std::min( local 417 if (!frames) 421 wrapper_->PcmWritei(playback_handle_, buffer_data, frames); 439 DCHECK_EQ(frames_written, frames); 496 // The sound card has |kTargetFramesAvailable| or more frames available. 500 // The sound card has frames available, but our source is exhausted, so 511 base::TimeDelta AlsaPcmOutputStream::FramesToTimeDelta(int frames, 514 frames * base::Time::kMicrosecondsPerSecond / sample_rate); 609 // Find the number of frames queued in the sound device [all...] |
/external/chromium_org/media/tools/shader_bench/ |
shader_bench.cc | 78 printf("Printed %f frames per second.\n", fps); 89 printf("Usage: %s --file=FILE --wxh=DIMENSIONS --frames=NUM_FRAMES\n" 90 "FILE is a raw .yuv file with 1+ frames in it\n" 92 "NUM_FRAMES is the number of frames in FILE\n", argv[0]); 106 // Determine number of frames. 109 CommandLine::ForCurrentProcess()->GetSwitchValueASCII("frames"); 125 std::deque<scoped_refptr<media::VideoFrame> > frames; local 126 GetFrames(file_name, width, height, num_frames, frames); 152 painter->LoadFrames(&frames);
|
/external/chromium_org/net/quic/ |
quic_packet_creator.cc | 149 const QuicFrames& frames) { 151 // frames from SendStreamData()[send_stream_should_flush_ == false && 154 for (size_t i = 0; i < frames.size(); ++i) { 155 bool success = AddFrame(frames[i], false); 221 QuicFrames frames; local 222 frames.push_back(QuicFrame(close_frame)); 223 return SerializeAllFrames(frames);
|
quic_session_test.cc | 234 vector<QuicStreamFrame> frames; local 253 frames.push_back(frame2); 254 session_.OnPacket(IPEndPoint(), IPEndPoint(), header, frames); local 257 frames[0] = frame1; 258 session_.OnPacket(IPEndPoint(), IPEndPoint(), header, frames); local
|
quic_stream_factory_test.cc | 76 QuicFrames frames; local 77 frames.push_back(QuicFrame(&ack)); 78 frames.push_back(QuicFrame(&feedback)); 80 framer.BuildUnsizedDataPacket(header, frames).packet); 110 QuicFrames frames; local 111 frames.push_back(frame); 113 framer.BuildUnsizedDataPacket(header, frames).packet);
|
/external/chromium_org/net/tools/quic/ |
quic_epoll_connection_helper_test.cc | 103 QuicFrames frames; local 105 frames.push_back(frame); 106 return framer_.BuildUnsizedDataPacket(header_, frames).packet;
|
/external/javassist/src/main/javassist/convert/ |
TransformAccessArrayField.java | 40 private Frame[] frames; field in class:TransformAccessArrayField 88 frames = null; 99 return frames[pos - offset]; // Adjust pos 103 if (frames == null) { 104 frames = ((new Analyzer())).analyze(clazz, minfo);
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
PoseTrack.java | 50 private PoseFrame[] frames; field in class:PoseTrack 97 public PoseTrack(int targetMeshIndex, float[] times, PoseFrame[] frames){ 100 this.frames = frames; 104 PoseFrame frame = frames[frameIndex]; 159 if (this.frames != null) { 160 result.frames = new PoseFrame[this.frames.length]; 161 for (int i = 0; i < this.frames.length; ++i) { 162 result.frames[i] = this.frames[i].clone() [all...] |
/external/kernel-headers/original/linux/can/ |
bcm.h | 22 * @count: number of frames to send before changing interval. 23 * @ival1: interval for the first @count frames. 24 * @ival2: interval for the following frames. 25 * @can_id: CAN ID of frames to be sent or received. 26 * @nframes: number of frames appended to the message head. 27 * @frames: array of CAN frames. 36 struct can_frame frames[0]; member in struct:bcm_msg_head
|
/external/libvorbis/lib/ |
floor0.c | 44 long frames; member in struct:__anon22893
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testsprite.c | 161 Uint32 then, now, frames; local 289 frames = 0; 295 ++frames; 318 printf("%2.2f frames per second\n", 319 ((double)frames*1000)/(now-then));
|
testvidinfo.c | 80 Uint32 frames; local 95 frames = 0; 102 ++frames; 110 ++frames; 118 ++frames; 123 printf("%d fills and flips in %2.2f seconds, %2.2f FPS\n", frames, seconds, (float)frames / seconds); 125 printf("%d fills and flips in zero seconds!n", frames); 148 frames = RunBlitTests(screen, bmp, NUM_BLITS); 152 printf("%d blits / %d updates in %2.2f seconds, %2.2f FPS\n", NUM_BLITS*frames, frames, seconds, (float)frames / seconds) [all...] |
/external/tinyalsa/ |
tinycap.c | 80 unsigned int frames; local 167 frames = capture_sample(file, card, device, header.num_channels, 170 printf("Captured %d frames\n", frames); 173 header.data_sz = frames * header.block_align;
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 72 SortedVector<Frame> frames; member in struct:android::BootAnimation::Animation::Part
|
/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) + '''
|
/system/media/audio_utils/ |
resampler.c | 37 size_t frames_in; // number of frames in input buffer 38 size_t frames_rq; // cached number of output frames 39 size_t frames_needed; // minimum number of input frames to produce 40 // frames_rq output frames 71 // outputs a number of frames less or equal to *outFrameCount and updates *outFrameCount 72 // with the actual number of frames produced. 88 // update and cache the number of frames needed at the input sampling rate to produce 89 // the number of frames requested at the output sampling rate 99 // make sure that the number of frames present in rsmp->in_buf (rsmp->frames_in) is at 100 // least the number of frames needed to produce the number of frames requested a 239 int frames = speex_resampler_get_input_latency(rsmp->speex_resampler); local [all...] |
/art/runtime/ |
stack.cc | 214 : StackVisitor(thread, NULL), frames(0) {} 217 frames++; 221 size_t frames; member in struct:art::NumFramesVisitor 225 return visitor.frames; 290 if (cur_quick_frame_ != NULL) { // Handle quick stack frames. 316 // Skip runtime save all callee frames which are used to deliver exceptions.
|
/external/chromium_org/content/browser/renderer_host/media/ |
audio_renderer_host.cc | 320 int frames = params.frames_per_buffer(); local 322 AudioBus::CalculateMemorySize(input_channels, frames);
|
/external/chromium_org/media/audio/win/ |
audio_low_latency_output_win_unittest.cc | 128 audio_bus->frames() * audio_bus->channels() * kBitsPerSample / 8; 134 int frames = max_size / (audio_bus->channels() * kBitsPerSample / 8); local 137 file_->data() + pos_, frames, kBitsPerSample / 8); 140 return frames;
|
/external/chromium_org/media/base/ |
audio_renderer_mixer_unittest.cc | 100 bool ValidateAudioData(int index, int frames, float scale, double epsilon) { 102 for (int j = index; j < frames; j++) { 116 bool ValidateAudioData(int index, int frames, float scale) { 117 return ValidateAudioData(index, frames, scale, epsilon_); 131 int frames = mixer_callback_->Render(audio_bus_.get(), 0); local 132 if (frames != audio_bus_->frames()) 142 0, frames, 0, std::numeric_limits<double>::max()); 144 return ValidateAudioData(0, frames, scale); 152 audio_bus_->channel(i) + audio_bus_->frames(), value) [all...] |
/external/chromium_org/media/test/ffmpeg_tests/ |
ffmpeg_tests.cc | 254 int frames = 0; local 298 ++frames; 335 ++frames; 406 if (max_frames && (frames >= max_frames)) 430 double ms = sum / frames; 436 // Calculate the average frames per second. 437 // Video decoding is expressed in Frames Per Second - a term easily 439 double fps = frames * 1000.0 / sum; 452 *log_out << " Frames:" << std::setw(11) << frames [all...] |