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

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

Issue 3010223002: Update thread annotiation macros in modules to use RTC_ prefix (Closed)
Patch Set: Created 3 years, 3 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
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 std::unique_ptr<VideoDecoder> decoder_; 88 std::unique_ptr<VideoDecoder> decoder_;
89 89
90 private: 90 private:
91 void InitCodecs(); 91 void InitCodecs();
92 92
93 FakeEncodeCompleteCallback encode_complete_callback_; 93 FakeEncodeCompleteCallback encode_complete_callback_;
94 FakeDecodeCompleteCallback decode_complete_callback_; 94 FakeDecodeCompleteCallback decode_complete_callback_;
95 95
96 rtc::Event encoded_frame_event_; 96 rtc::Event encoded_frame_event_;
97 rtc::CriticalSection encoded_frame_section_; 97 rtc::CriticalSection encoded_frame_section_;
98 rtc::Optional<EncodedImage> encoded_frame_ GUARDED_BY(encoded_frame_section_); 98 rtc::Optional<EncodedImage> encoded_frame_
99 CodecSpecificInfo codec_specific_info_ GUARDED_BY(encoded_frame_section_); 99 RTC_GUARDED_BY(encoded_frame_section_);
100 CodecSpecificInfo codec_specific_info_ RTC_GUARDED_BY(encoded_frame_section_);
100 101
101 rtc::Event decoded_frame_event_; 102 rtc::Event decoded_frame_event_;
102 rtc::CriticalSection decoded_frame_section_; 103 rtc::CriticalSection decoded_frame_section_;
103 rtc::Optional<VideoFrame> decoded_frame_ GUARDED_BY(decoded_frame_section_); 104 rtc::Optional<VideoFrame> decoded_frame_
104 rtc::Optional<uint8_t> decoded_qp_ GUARDED_BY(decoded_frame_section_); 105 RTC_GUARDED_BY(decoded_frame_section_);
106 rtc::Optional<uint8_t> decoded_qp_ RTC_GUARDED_BY(decoded_frame_section_);
105 }; 107 };
106 108
107 } // namespace webrtc 109 } // namespace webrtc
108 110
109 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_ 111 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEO_CODEC_TEST_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/h264/h264_decoder_impl.cc ('k') | webrtc/modules/video_coding/codecs/test/videoprocessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698