| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 | 52 |
| 53 int errors() const { return errors_; } | 53 int errors() const { return errors_; } |
| 54 int width() const { | 54 int width() const { |
| 55 rtc::CritScope cs(&crit_); | 55 rtc::CritScope cs(&crit_); |
| 56 return width_; | 56 return width_; |
| 57 } | 57 } |
| 58 int height() const { | 58 int height() const { |
| 59 rtc::CritScope cs(&crit_); | 59 rtc::CritScope cs(&crit_); |
| 60 return height_; | 60 return height_; |
| 61 } | 61 } |
| 62 int rotation() const { | 62 webrtc::VideoRotation rotation() const { |
| 63 rtc::CritScope cs(&crit_); | 63 rtc::CritScope cs(&crit_); |
| 64 return rotation_; | 64 return rotation_; |
| 65 } | 65 } |
| 66 | 66 |
| 67 int64_t timestamp() const { | 67 int64_t timestamp() const { |
| 68 rtc::CritScope cs(&crit_); | 68 rtc::CritScope cs(&crit_); |
| 69 return timestamp_; | 69 return timestamp_; |
| 70 } | 70 } |
| 71 int num_rendered_frames() const { | 71 int num_rendered_frames() const { |
| 72 rtc::CritScope cs(&crit_); | 72 rtc::CritScope cs(&crit_); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 webrtc::VideoRotation rotation_; | 138 webrtc::VideoRotation rotation_; |
| 139 int64_t timestamp_; | 139 int64_t timestamp_; |
| 140 int num_rendered_frames_; | 140 int num_rendered_frames_; |
| 141 bool black_frame_; | 141 bool black_frame_; |
| 142 rtc::CriticalSection crit_; | 142 rtc::CriticalSection crit_; |
| 143 }; | 143 }; |
| 144 | 144 |
| 145 } // namespace cricket | 145 } // namespace cricket |
| 146 | 146 |
| 147 #endif // WEBRTC_MEDIA_BASE_FAKEVIDEORENDERER_H_ | 147 #endif // WEBRTC_MEDIA_BASE_FAKEVIDEORENDERER_H_ |
| OLD | NEW |