OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 SinkPair(VideoSinkInterface<cricket::VideoFrame>* sink, | 43 SinkPair(VideoSinkInterface<cricket::VideoFrame>* sink, |
44 VideoSinkWants wants) | 44 VideoSinkWants wants) |
45 : sink(sink), wants(wants) {} | 45 : sink(sink), wants(wants) {} |
46 VideoSinkInterface<cricket::VideoFrame>* sink; | 46 VideoSinkInterface<cricket::VideoFrame>* sink; |
47 VideoSinkWants wants; | 47 VideoSinkWants wants; |
48 }; | 48 }; |
49 SinkPair* FindSinkPair(const VideoSinkInterface<cricket::VideoFrame>* sink); | 49 SinkPair* FindSinkPair(const VideoSinkInterface<cricket::VideoFrame>* sink); |
50 | 50 |
51 ThreadChecker thread_checker_; | 51 ThreadChecker thread_checker_; |
52 | 52 |
| 53 size_t current_number_of_pixels_; |
53 VideoSinkWants current_wants_; | 54 VideoSinkWants current_wants_; |
54 | |
55 std::vector<SinkPair> sinks_; | 55 std::vector<SinkPair> sinks_; |
56 }; | 56 }; |
57 | 57 |
58 } // namespace rtc | 58 } // namespace rtc |
59 | 59 |
60 #endif // WEBRTC_MEDIA_BASE_VIDEOBROADCASTER_H_ | 60 #endif // WEBRTC_MEDIA_BASE_VIDEOBROADCASTER_H_ |
OLD | NEW |