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

Side by Side Diff: remoting/codec/video_encoder_vpx_perftest.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 4 years, 12 months 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/video_encoder_vpx.cc ('k') | remoting/codec/video_encoder_vpx_unittest.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "remoting/codec/video_encoder_vpx.h" 5 #include "remoting/codec/video_encoder_vpx.h"
6 6
7 #include <stddef.h>
8
7 #include <limits> 9 #include <limits>
8 #include <vector> 10 #include <vector>
9 11
10 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/macros.h"
11 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
12 #include "remoting/codec/codec_test.h" 15 #include "remoting/codec/codec_test.h"
13 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
14 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" 17 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
15 18
16 using webrtc::DesktopSize; 19 using webrtc::DesktopSize;
17 20
18 namespace remoting { 21 namespace remoting {
19 22
20 // Measure the performance of the VP8 encoder. 23 // Measure the performance of the VP8 encoder.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 MeasureVideoEncoderFpsWithSize(encoder.get(), kFrameSizes[i]); 55 MeasureVideoEncoderFpsWithSize(encoder.get(), kFrameSizes[i]);
53 LOG(ERROR) << kFrameSizes[i].width() << "x" << kFrameSizes[i].height() 56 LOG(ERROR) << kFrameSizes[i].width() << "x" << kFrameSizes[i].height()
54 << "(" << (lossless_encode ? "lossless" : "lossy ") << ")" 57 << "(" << (lossless_encode ? "lossless" : "lossy ") << ")"
55 << "(" << (lossless_color ? "I444" : "I420") << ")" 58 << "(" << (lossless_color ? "I444" : "I420") << ")"
56 << ": " << fps << "fps"; 59 << ": " << fps << "fps";
57 } 60 }
58 } 61 }
59 } 62 }
60 63
61 } // namespace remoting 64 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/codec/video_encoder_vpx.cc ('k') | remoting/codec/video_encoder_vpx_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698