| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "webrtc/base/checks.h" | 12 #include "webrtc/base/checks.h" |
| 13 #include "webrtc/base/scoped_ptr.h" | 13 #include "webrtc/base/scoped_ptr.h" |
| 14 #include "webrtc/common_video/interface/video_image.h" | 14 #include "webrtc/common_video/include/video_image.h" |
| 15 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 15 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 16 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 16 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
| 17 #include "webrtc/system_wrappers/include/tick_util.h" | 17 #include "webrtc/system_wrappers/include/tick_util.h" |
| 18 #include "webrtc/test/testsupport/fileutils.h" | 18 #include "webrtc/test/testsupport/fileutils.h" |
| 19 #include "webrtc/test/testsupport/metrics/video_metrics.h" | 19 #include "webrtc/test/testsupport/metrics/video_metrics.h" |
| 20 #include "webrtc/tools/simple_command_line_parser.h" | 20 #include "webrtc/tools/simple_command_line_parser.h" |
| 21 #include "webrtc/video_frame.h" | 21 #include "webrtc/video_frame.h" |
| 22 | 22 |
| 23 class Vp8SequenceCoderEncodeCallback : public webrtc::EncodedImageCallback { | 23 class Vp8SequenceCoderEncodeCallback : public webrtc::EncodedImageCallback { |
| 24 public: | 24 public: |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 | 234 |
| 235 parser.ProcessFlags(); | 235 parser.ProcessFlags(); |
| 236 if (parser.GetFlag("help") == "true") { | 236 if (parser.GetFlag("help") == "true") { |
| 237 parser.PrintUsageMessage(); | 237 parser.PrintUsageMessage(); |
| 238 exit(EXIT_SUCCESS); | 238 exit(EXIT_SUCCESS); |
| 239 } | 239 } |
| 240 parser.PrintEnteredFlags(); | 240 parser.PrintEnteredFlags(); |
| 241 | 241 |
| 242 return SequenceCoder(parser); | 242 return SequenceCoder(parser); |
| 243 } | 243 } |
| OLD | NEW |