/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/ |
rate_statistics_unittest.cc | 25 int64_t now_ms = 0; local 27 EXPECT_EQ(0u, stats_.Rate(now_ms)); 28 stats_.Update(1500, now_ms); 30 EXPECT_EQ(24000u, stats_.Rate(now_ms)); 33 EXPECT_EQ(0u, stats_.Rate(now_ms)); 35 if (now_ms % 10 == 0) { 36 stats_.Update(1500, now_ms); 40 if (now_ms > 0 && now_ms % 500 == 0) { 41 EXPECT_NEAR(1200000u, stats_.Rate(now_ms), 24000u) 52 int64_t now_ms = 0; local [all...] |
remote_bitrate_estimator_single_stream.cc | 82 void UpdateEstimate(int64_t now_ms); 115 int64_t now_ms = clock_->TimeInMilliseconds(); local 127 std::make_pair(OveruseDetector(OverUseDetectorOptions()), now_ms))); 130 SetPacketTimeMs(it, now_ms); 132 incoming_bitrate_.Update(payload_size, now_ms); 136 unsigned int incoming_bitrate = incoming_bitrate_.Rate(now_ms); 138 remote_rate_.TimeToReduceFurther(now_ms, incoming_bitrate)) { 142 UpdateEstimate(now_ms); 151 int64_t now_ms = clock_->TimeInMilliseconds(); local 152 UpdateEstimate(now_ms); [all...] |
/external/chromium_org/third_party/android_crazy_linker/src/tests/ |
bench_load_library.cpp | 29 static double now_ms() { function 50 start_ms_ = now_ms(); 54 double elapsed_ms = now_ms() - start_ms_;
|
/external/chromium_org/third_party/webrtc/modules/video_render/ |
incoming_video_stream.cc | 124 int64_t now_ms = TickTime::MillisecondTimestamp(); local 125 if (now_ms >= last_rate_calculation_time_ms_ + KFrameRatePeriodMs) { 128 (now_ms - last_rate_calculation_time_ms_)); 130 last_rate_calculation_time_ms_ = now_ms;
|
/external/chromium_org/third_party/webrtc/test/ |
fake_audio_device.cc | 118 int64_t now_ms = clock_->TimeInMilliseconds(); local 119 uint32_t time_since_last_playout_ms = now_ms - last_playout_ms_;
|
/ndk/sources/android/crazy_linker/tests/ |
bench_load_library.cpp | 29 static double now_ms() { function 50 start_ms_ = now_ms(); 54 double elapsed_ms = now_ms() - start_ms_;
|
/development/ndk/samples/hello-neon/jni/ |
helloneon.c | 35 now_ms(void) function 99 t0 = now_ms(); 106 t1 = now_ms(); 134 t0 = now_ms(); 141 t1 = now_ms();
|
/external/chromium_org/third_party/webrtc/modules/pacing/ |
paced_sender.cc | 217 int64_t now_ms = TickTime::MillisecondTimestamp(); local 218 int64_t oldest_packet_enqueue_time = now_ms; 234 return now_ms - oldest_packet_enqueue_time;
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
media_optimization.cc | 323 const int64_t now_ms = clock_->TimeInMilliseconds(); local 324 PurgeOldFrameSamples(now_ms); 325 UpdateSentBitrate(now_ms); 339 const int64_t now_ms = clock_->TimeInMilliseconds(); local 340 PurgeOldFrameSamples(now_ms); 347 encoded_frame_samples_.back().time_complete_ms = now_ms; 350 EncodedFrameSample(encoded_length, timestamp, now_ms)); 352 UpdateSentBitrate(now_ms); 472 void MediaOptimization::PurgeOldFrameSamples(int64_t now_ms) { 474 if (now_ms - encoded_frame_samples_.front().time_complete_ms [all...] |
receiver.cc | 129 const int64_t now_ms = clock_->TimeInMilliseconds(); local 131 next_render_time_ms = timing_->RenderTimeMs(frame_timestamp, now_ms); 137 } else if (std::abs(next_render_time_ms - now_ms) > max_video_delay_ms_) { 138 int frame_delay = static_cast<int>(std::abs(next_render_time_ms - now_ms)); 319 const int64_t now_ms = clock_->TimeInMilliseconds(); local 322 uint32_t render_start = timing_->RenderTimeMs(timestamp_start, now_ms); 323 uint32_t render_end = timing_->RenderTimeMs(timestamp_end, now_ms);
|
jitter_buffer.cc | 615 int64_t now_ms = clock_->TimeInMilliseconds(); local 621 inter_frame_delay_.Reset(now_ms); 648 waiting_for_completion_.latest_packet_time = now_ms; 650 waiting_for_completion_.latest_packet_time + 2000 <= now_ms) { 668 now_ms, [all...] |
/external/chromium_org/third_party/webrtc/system_wrappers/source/ |
clock.cc | 285 int64_t now_ms = TimeInMilliseconds(); local 286 seconds = (now_ms / 1000) + kNtpJan1970; 288 static_cast<uint32_t>((now_ms % 1000) * kMagicNtpFractionalUnit / 1000);
|
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_framework_unittest.cc | 445 int64_t now_ms = 0; local 454 packets.push_back(Packet(now_ms * 1000, sequence_number++)); 455 now_ms += 5 * stddev_jitter_ms; 508 int64_t now_ms = 0; local 510 for (uint32_t i = 0; i < kPacketCount; ++i, now_ms += 10) { 511 packets.push_back(Packet(now_ms * 1000, sequence_number++)); 519 filter.RunFor(now_ms, &packets);
|
/external/chromium_org/third_party/webrtc/video/ |
rampup_tests.cc | 270 int64_t now_ms = clock_->TimeInMilliseconds(); variable 271 if (now_ms > interval_start_ms_ + 1000) { // Let at least 1 second pass. 274 8 * 1000 / (now_ms - interval_start_ms_); 280 last_remb_bps_ / 8 * (now_ms - interval_start_ms_) / 1000; 283 interval_start_ms_ = now_ms;
|
call_perf_tests.cc | 178 int64_t now_ms = clock_->TimeInMilliseconds(); variable 188 std::max(0, static_cast<int>(video_frame.render_time_ms() - now_ms)); 199 int64_t time_since_creation = now_ms - creation_time_ms_; 206 first_time_in_sync_ = now_ms; 380 int64_t now_ms = clock_->TimeInMilliseconds(); variable 381 int64_t time_since_creation = now_ms - creation_time_ms_;
|
/development/ndk/platforms/android-8/samples/bitmap-plasma/jni/ |
plasma.c | 37 static double now_ms(void) function 290 s->lastTime = now_ms(); 299 s->frameTime = now_ms(); 305 double now = now_ms();
|
/development/ndk/platforms/android-9/samples/native-plasma/jni/ |
plasma.c | 42 static double now_ms(void) function 299 s->lastTime = now_ms(); 308 s->frameTime = now_ms(); 314 double now = now_ms();
|
/development/perftests/panorama/feature_stab/src/dbreg/ |
dbreg.h | 572 now_ms(void) function
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
rtp_player.cc | 110 int64_t now_ms = clock_->TimeInMilliseconds(); local 115 packet->resend_time_ms() + 10 < now_ms) { 153 int64_t now_ms = clock_->TimeInMilliseconds(); local 157 MaskWord64ToUWord32(now_ms));
|
/external/chromium_org/third_party/webrtc/video_engine/ |
vie_encoder.cc | 880 int64_t now_ms = TickTime::MillisecondTimestamp(); local 881 if (now_ms - time_of_last_incoming_frame_ms_ > kStopPaddingThresholdMs)
|
/packages/apps/Camera/jni/ |
feature_mos_jni.cpp | 72 #ifndef now_ms 74 now_ms(void) function 100 t0 = now_ms(); 115 t1 = now_ms(); 196 t0 = now_ms(); 199 t1 = now_ms(); 368 t0 = now_ms(); 420 t0 = now_ms(); 435 t0 = now_ms(); 527 t0 = now_ms(); [all...] |
mosaic_renderer_jni.cpp | 676 #ifndef now_ms 679 now_ms(void) function 702 t0 = now_ms(); 715 t0 = now_ms();
|
/packages/apps/Camera/jni/feature_stab/src/dbreg/ |
dbreg.h | 572 now_ms(void) function
|
/packages/apps/LegacyCamera/jni/ |
feature_mos_jni.cpp | 72 #ifndef now_ms 74 now_ms(void) function 100 t0 = now_ms(); 115 t1 = now_ms(); 196 t0 = now_ms(); 199 t1 = now_ms(); 368 t0 = now_ms(); 420 t0 = now_ms(); 435 t0 = now_ms(); 527 t0 = now_ms(); [all...] |
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/ |
dbreg.h | 572 now_ms(void) function
|