/external/chromium_org/third_party/webrtc/test/testsupport/metrics/ |
video_metrics.cc | 53 result->frames.push_back(frame_result); 58 if (result == NULL || result->frames.size() == 0) { 64 for (iter = result->frames.begin(); iter != result->frames.end(); ++iter) { 67 result->average = metrics_values_sum / result->frames.size(); 70 iter = std::min_element(result->frames.begin(), result->frames.end(), 74 iter = std::max_element(result->frames.begin(), result->frames.end(), 110 // Read reference and test frames [all...] |
video_metrics.h | 30 // The frames in this data structure are 0-indexed. 44 std::vector<FrameResult> frames; member in struct:webrtc::test::QualityMetricsResult 58 // This function only compares video frames up to the point when the shortest 82 // This function only compares video frames up to the point when the shortest 102 // This function only compares video frames up to the point when the shortest
|
/external/chromium_org/tools/android/heap_profiler/ |
heap_profiler_hooks_android.c | 21 uint32_t get_backtrace(uintptr_t* frames, uint32_t max_depth); 85 uintptr_t frames[HEAP_PROFILER_MAX_DEPTH]; local 86 const uint32_t depth = get_backtrace(frames, HEAP_PROFILER_MAX_DEPTH); 89 heap_profiler_alloc(start, size, frames, depth, flags); 185 uintptr_t* frames; member in struct:__anon21036 200 state->frames[state->frame_count++] = ip; 205 static uint32_t get_backtrace(uintptr_t* frames, uint32_t max_depth) { 206 stack_crawl_state_t state = {.frames = frames, .max_depth = max_depth};
|
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/ |
rendering_frame.py | 76 frames = [] 81 frames.append(frame) 84 frames.sort(key=lambda frame: frame.bounds.min) 86 return frames
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug_refcnt.c | 144 struct debug_stack_frame frames[STACK_LEN]; local 153 debug_backtrace_capture(frames, 1, STACK_LEN); 156 if(frames[i].function) 157 symbols[i] = debug_symbol_name_cached(frames[i].function);
|
/external/chromium_org/media/base/ |
audio_bus_unittest.cc | 33 EXPECT_EQ(kFrameCount, bus->frames()); 46 ASSERT_EQ(expected->frames(), result->frames()); 48 for (int i = 0; i < result->frames(); ++i) { 72 std::fill(bus->channel(i), bus->channel(i) + bus->frames(), i); 76 VerifyValue(bus->channel(i), bus->frames(), i); 80 VerifyValue(bus->channel(i), bus->frames(), 0); 87 std::fill(bus1->channel(i), bus1->channel(i) + bus1->frames(), i); 152 VerifyValue(bus->channel(i), bus->frames(), kTestValue); 158 EXPECT_LT(bus->channel(bus->channels() - 1) + bus->frames(), [all...] |
sinc_resampler.h | 37 // Callback type for providing more data into the resampler. Expects |frames| 38 // of data to be rendered into |destination|; zero padded if not enough frames 40 typedef base::Callback<void(int frames, float* destination)> ReadCB; 45 // frames of the buffer requested by each |read_cb| call. The value must be 53 // Resample |frames| of data from |read_cb_| into |destination|. 54 void Resample(int frames, float* destination); 56 // The maximum size in frames that guarantees Resample() will only make a 110 // The number of source frames processed per pass.
|
/external/chromium_org/components/copresence/mediums/audio/ |
audio_recorder.cc | 28 buffer->resize(source->frames() * source->channels() * sizeof(float)); 33 for (int si = 0, di = ch; si < source->frames(); ++si, di += channels) 178 // source->frames() == source_params.frames_per_buffer(), so we only have 195 int remaining_buffer_frames = buffer_->frames() - buffer_frame_index_; 197 std::min(remaining_buffer_frames, converted_source->frames()); 203 if (buffer_->frames() == buffer_frame_index_) { 208 // Copy any remaining frames in the source to our buffer. 209 int remaining_source_frames = converted_source->frames() - frames_to_copy; 230 DCHECK_LE(temp_conversion_buffer_->frames(), dest->frames()); [all...] |
/external/chromium_org/media/audio/cras/ |
cras_input.h | 51 size_t frames, 63 void ReadAudio(size_t frames, uint8* buffer, const timespec* sample_ts);
|
cras_unified.cc | 258 unsigned int frames, 263 return me->DispatchCallback(frames, 281 uint32 CrasUnifiedStream::DispatchCallback(size_t frames, 288 return WriteAudio(frames, output_samples, output_ts); 299 uint32 CrasUnifiedStream::WriteAudio(size_t frames, 302 DCHECK_EQ(frames, static_cast<size_t>(output_bus_->frames()));
|
/external/chromium_org/media/audio/ |
simple_sources.cc | 41 std::min(audio_bus->frames(), cap_ - time_state_) : audio_bus->frames();
|
/external/chromium_org/media/filters/ |
decrypting_audio_decoder.h | 28 // encrypted audio buffers and return decrypted and decompressed audio frames. 86 const Decryptor::AudioBuffers& frames); 95 // Sets timestamps for |frames| and then passes them to |output_cb_|. 96 void ProcessDecodedFrames(const Decryptor::AudioBuffers& frames);
|
wsola_internals.cc | 48 DCHECK_LE(frame_offset_a + num_frames, a->frames()); 49 DCHECK_LE(frame_offset_b + num_frames, b->frames()); 64 int num_blocks = input->frames() - (frames_per_block - 1); 115 int block_size = target_block->frames(); 116 int num_candidate_blocks = search_segment->frames() - (block_size - 1); 194 int block_size = target_block->frames(); 225 int target_size = target_block->frames(); 226 int num_candidate_blocks = search_block->frames() - (target_size - 1); 240 // Energy of all candid frames.
|
/external/chromium_org/net/websockets/ |
websocket_stream.h | 46 // WebSocket frames. This class provides an abstraction for WebSocket streams 118 // |frames| remains owned by the caller and must be valid until the 119 // operation completes or Close() is called. |frames| must be empty on 127 // frames->size() >= 1 if the result is OK. 129 // Only frames with complete header information are inserted into |frames|. If 157 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, 162 // |frames| must be valid until the operation completes or Close() is called. 167 // This method will only return OK if all frames were written completely. 174 virtual int WriteFrames(ScopedVector<WebSocketFrame>* frames, [all...] |
/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
sinc_resampler.h | 25 // Callback class for providing more data into the resampler. Expects |frames| 26 // of data to be rendered into |destination|; zero padded if not enough frames 31 virtual void Run(int frames, float* destination) = 0; 57 // frames of the buffer requested by each |read_cb| call. The value must be 65 // Resample |frames| of data from |read_cb_| into |destination|. 66 void Resample(int frames, float* destination); 68 // The maximum size in frames that guarantees Resample() will only make a 132 // The number of source frames processed per pass.
|
/external/javassist/src/test/test/javassist/bytecode/analysis/ |
AnalyzerTest.java | 72 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); local 73 assertNotNull(frames); 75 Frame frame = frames[pos]; 106 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), info); local 107 assertNotNull(frames); 108 Frame frame = frames[pos]; 126 Frame[] frames = analyzer.analyze(clazz, info); local 127 assertNotNull(frames); 128 Frame frame = frames[pos]; 135 frame = frames[pos] 151 Frame[] frames = analyzer.analyze(method.getDeclaringClass(), method.getMethodInfo2()); local [all...] |
/external/chromium_org/net/quic/ |
quic_session.cc | 36 virtual void OnStreamFrames(const vector<QuicStreamFrame>& frames) OVERRIDE { 37 session_->OnStreamFrames(frames); 50 virtual void OnWindowUpdateFrames(const vector<QuicWindowUpdateFrame>& frames) 52 session_->OnWindowUpdateFrames(frames); 56 virtual void OnBlockedFrames(const vector<QuicBlockedFrame>& frames) 58 session_->OnBlockedFrames(frames); 146 void QuicSession::OnStreamFrames(const vector<QuicStreamFrame>& frames) { 147 for (size_t i = 0; i < frames.size(); ++i) { 149 const QuicStreamFrame& frame = frames[i]; 165 stream->OnStreamFrame(frames[i]) [all...] |
/bootable/recovery/minui/ |
resources.c | 234 int res_create_multi_display_surface(const char* name, int* frames, gr_surface** pSurface) { 244 *frames = -1; 249 *frames = 1; 254 if (text[i].key && strcmp(text[i].key, "Frames") == 0 && text[i].text) { 255 *frames = atoi(text[i].text); 259 printf(" found frames = %d\n", *frames); 262 if (height % *frames != 0) { 263 printf("bad height (%d) for frame count (%d)\n", height, *frames); 268 surface = malloc(*frames * sizeof(gr_surface)) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
Analyzer.java | 66 private Frame[] frames;
field in class:Analyzer 102 frames = new Frame[0];
103 return frames;
108 frames = new Frame[n];
174 Frame f = frames[insn];
237 if (frames[call] != null) {
239 frames[call],
297 return frames;
378 return frames;
452 Frame oldFrame = frames[insn]; [all...] |
/external/chromium_org/media/audio/alsa/ |
alsa_input.cc | 175 snd_pcm_sframes_t frames = wrapper_->PcmAvailUpdate(device_handle_); local 176 if (frames < 0) { // Potentially recoverable error? 177 LOG(WARNING) << "PcmAvailUpdate(): " << wrapper_->StrError(frames); 178 Recover(frames); 181 if (frames < params_.frames_per_buffer()) { 199 int num_buffers = frames / params_.frames_per_buffer(); 214 audio_bus_->frames(), 219 LOG(WARNING) << "PcmReadi returning less than expected frames: "
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_symbolizer_libbacktrace.cc | 87 AddressInfo *frames; member in struct:__sanitizer::__anon24250::SymbolizeCodeData 100 AddressInfo *info = &cdata->frames[cdata->n_frames++]; 118 AddressInfo *info = &cdata->frames[0]; 151 uptr LibbacktraceSymbolizer::SymbolizeCode(uptr addr, AddressInfo *frames, 156 data.frames = frames; 182 uptr LibbacktraceSymbolizer::SymbolizeCode(uptr addr, AddressInfo *frames,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 21 /* The format allows up to 120 ms frames. Since we don't control the other 464 int frames, samples; local 465 frames = opus_packet_get_nb_frames(payload, payload_length_bytes); 466 if (frames < 0) { 470 samples = frames * opus_packet_get_samples_per_frame(payload, 48000); 495 int frames, channels, payload_length_ms; local 516 frames = 1; 520 frames = 2; 524 frames = 3; 543 if (frame_data[0][0] & (0x80 >> ((n + 1) * (frames + 1) - 1)) [all...] |
/cts/apps/CameraITS/tests/sensor_fusion/ |
test_sensor_fusion.py | 34 # Capture 210 QVGA frames (which is 7s at 30fps) 77 # timestamps are in the "events" dictionary, and "frames" is a list of 80 events, frames = collect_data() 82 events, frames = load_data() 100 # adjacent frames. 101 cam_rots = get_cam_rotations(frames) 191 pylab.ylabel("Angular displacement between adjacent camera frames (deg)") 214 # Get the window of gyro samples within the current pair of frames. 247 def get_cam_rotations(frames): 248 """Get the rotations of the camera between each pair of frames [all...] |
/external/chromium_org/content/browser/frame_host/ |
render_frame_proxy_host.cc | 37 RoutingIDFrameProxyMap* frames = g_routing_id_frame_proxy_map.Pointer(); local 38 RoutingIDFrameProxyMap::iterator it = frames->find( 40 return it == frames->end() ? NULL : it->second;
|
/external/chromium_org/content/renderer/media/ |
webaudio_capturer_source.cc | 103 int available = fifo_->max_frames() - fifo_->frames(); 123 while (fifo_->frames() >= capture_frames) { 126 capture_bus_->ToInterleaved(capture_bus_->frames(),
|