OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 class VCMQMSettingsCallback { | 192 class VCMQMSettingsCallback { |
193 public: | 193 public: |
194 virtual int32_t SetVideoQMSettings(const uint32_t frameRate, | 194 virtual int32_t SetVideoQMSettings(const uint32_t frameRate, |
195 const uint32_t width, | 195 const uint32_t width, |
196 const uint32_t height) = 0; | 196 const uint32_t height) = 0; |
197 | 197 |
198 protected: | 198 protected: |
199 virtual ~VCMQMSettingsCallback() {} | 199 virtual ~VCMQMSettingsCallback() {} |
200 }; | 200 }; |
201 | 201 |
202 // Callback class used for telling the user about the size (in time) of the | |
203 // render buffer, that is the size in time of the complete continuous frames. | |
204 class VCMRenderBufferSizeCallback { | |
205 public: | |
206 virtual void RenderBufferSizeMs(int buffer_size_ms) = 0; | |
207 | |
208 protected: | |
209 virtual ~VCMRenderBufferSizeCallback() {} | |
210 }; | |
211 | |
212 } // namespace webrtc | 202 } // namespace webrtc |
213 | 203 |
214 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ | 204 #endif // WEBRTC_MODULES_VIDEO_CODING_INCLUDE_VIDEO_CODING_DEFINES_H_ |
OLD | NEW |