Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: remoting/codec/codec_test.cc

Issue 1542203002: Switch to standard integer types in remoting/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-remoting-host
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/codec/audio_encoder_verbatim.h ('k') | remoting/codec/video_decoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h>
6 #include <stdint.h>
7 #include <stdlib.h>
5 #include <deque> 8 #include <deque>
6 #include <stdlib.h>
7 9
8 #include "base/bind.h" 10 #include "base/bind.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
11 #include "media/base/video_frame.h" 14 #include "media/base/video_frame.h"
12 #include "remoting/base/util.h" 15 #include "remoting/base/util.h"
13 #include "remoting/codec/codec_test.h" 16 #include "remoting/codec/codec_test.h"
14 #include "remoting/codec/video_decoder.h" 17 #include "remoting/codec/video_decoder.h"
15 #include "remoting/codec/video_encoder.h" 18 #include "remoting/codec/video_encoder.h"
16 #include "remoting/proto/video.pb.h" 19 #include "remoting/proto/video.pb.h"
17 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
18 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h" 21 #include "third_party/webrtc/modules/desktop_capture/desktop_frame.h"
19 22
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 383
381 if (frame_count >= kWarmUpFrameCount) { 384 if (frame_count >= kWarmUpFrameCount) {
382 elapsed = base::TimeTicks::Now() - start_time; 385 elapsed = base::TimeTicks::Now() - start_time;
383 } 386 }
384 } 387 }
385 388
386 return (frame_count * base::TimeDelta::FromSeconds(1)) / elapsed; 389 return (frame_count * base::TimeDelta::FromSeconds(1)) / elapsed;
387 } 390 }
388 391
389 } // namespace remoting 392 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/codec/audio_encoder_verbatim.h ('k') | remoting/codec/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698