| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 bool | 193 bool |
| 194 VCMGenericEncoder::InternalSource() const | 194 VCMGenericEncoder::InternalSource() const |
| 195 { | 195 { |
| 196 return internal_source_; | 196 return internal_source_; |
| 197 } | 197 } |
| 198 | 198 |
| 199 void VCMGenericEncoder::OnDroppedFrame() { | 199 void VCMGenericEncoder::OnDroppedFrame() { |
| 200 encoder_->OnDroppedFrame(); | 200 encoder_->OnDroppedFrame(); |
| 201 } | 201 } |
| 202 | 202 |
| 203 bool VCMGenericEncoder::SupportsNativeHandle() const { |
| 204 return encoder_->SupportsNativeHandle(); |
| 205 } |
| 206 |
| 203 /*************************** | 207 /*************************** |
| 204 * Callback Implementation | 208 * Callback Implementation |
| 205 ***************************/ | 209 ***************************/ |
| 206 VCMEncodedFrameCallback::VCMEncodedFrameCallback( | 210 VCMEncodedFrameCallback::VCMEncodedFrameCallback( |
| 207 EncodedImageCallback* post_encode_callback) | 211 EncodedImageCallback* post_encode_callback) |
| 208 : _sendCallback(), | 212 : _sendCallback(), |
| 209 _mediaOpt(NULL), | 213 _mediaOpt(NULL), |
| 210 _payloadType(0), | 214 _payloadType(0), |
| 211 _internalSource(false), | 215 _internalSource(false), |
| 212 _rotation(kVideoRotation_0), | 216 _rotation(kVideoRotation_0), |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 } | 279 } |
| 276 | 280 |
| 277 void | 281 void |
| 278 VCMEncodedFrameCallback::SetMediaOpt( | 282 VCMEncodedFrameCallback::SetMediaOpt( |
| 279 media_optimization::MediaOptimization *mediaOpt) | 283 media_optimization::MediaOptimization *mediaOpt) |
| 280 { | 284 { |
| 281 _mediaOpt = mediaOpt; | 285 _mediaOpt = mediaOpt; |
| 282 } | 286 } |
| 283 | 287 |
| 284 } // namespace webrtc | 288 } // namespace webrtc |
| OLD | NEW |