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

Side by Side Diff: webrtc/modules/video_coding/codecs/test/video_codec_test.h

Issue 2780943003: Move video_encoder.h and video_decoder.h to /api and create GN targets for them (Closed)
Patch Set: Add missing TODO Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_ 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_
12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_ 12 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_
13 13
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/api/video_codecs/video_decoder.h"
17 #include "webrtc/api/video_codecs/video_encoder.h"
16 #include "webrtc/base/criticalsection.h" 18 #include "webrtc/base/criticalsection.h"
17 #include "webrtc/base/event.h" 19 #include "webrtc/base/event.h"
18 #include "webrtc/base/thread_annotations.h" 20 #include "webrtc/base/thread_annotations.h"
19 #include "webrtc/test/gtest.h" 21 #include "webrtc/test/gtest.h"
20 #include "webrtc/video_decoder.h"
21 #include "webrtc/video_encoder.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 class VideoCodecTest : public ::testing::Test { 25 class VideoCodecTest : public ::testing::Test {
26 public: 26 public:
27 VideoCodecTest() 27 VideoCodecTest()
28 : encode_complete_callback_(this), 28 : encode_complete_callback_(this),
29 decode_complete_callback_(this), 29 decode_complete_callback_(this),
30 encoded_frame_event_(false /* manual reset */, 30 encoded_frame_event_(false /* manual reset */,
31 false /* initially signaled */), 31 false /* initially signaled */),
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 rtc::Event decoded_frame_event_; 93 rtc::Event decoded_frame_event_;
94 rtc::CriticalSection decoded_frame_section_; 94 rtc::CriticalSection decoded_frame_section_;
95 rtc::Optional<VideoFrame> decoded_frame_ GUARDED_BY(decoded_frame_section_); 95 rtc::Optional<VideoFrame> decoded_frame_ GUARDED_BY(decoded_frame_section_);
96 rtc::Optional<uint8_t> decoded_qp_ GUARDED_BY(decoded_frame_section_); 96 rtc::Optional<uint8_t> decoded_qp_ GUARDED_BY(decoded_frame_section_);
97 }; 97 };
98 98
99 } // namespace webrtc 99 } // namespace webrtc
100 100
101 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_ 101 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/BUILD.gn ('k') | webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698