| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |