| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 212 |
| 213 int RegisterRenderBufferSizeCallback( | 213 int RegisterRenderBufferSizeCallback( |
| 214 VCMRenderBufferSizeCallback* callback) override { | 214 VCMRenderBufferSizeCallback* callback) override { |
| 215 return receiver_.RegisterRenderBufferSizeCallback(callback); | 215 return receiver_.RegisterRenderBufferSizeCallback(callback); |
| 216 } | 216 } |
| 217 | 217 |
| 218 int32_t Decode(uint16_t maxWaitTimeMs) override { | 218 int32_t Decode(uint16_t maxWaitTimeMs) override { |
| 219 return receiver_.Decode(maxWaitTimeMs); | 219 return receiver_.Decode(maxWaitTimeMs); |
| 220 } | 220 } |
| 221 | 221 |
| 222 int32_t ResetDecoder() override { return receiver_.ResetDecoder(); } | |
| 223 | |
| 224 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const override { | 222 int32_t ReceiveCodec(VideoCodec* currentReceiveCodec) const override { |
| 225 return receiver_.ReceiveCodec(currentReceiveCodec); | 223 return receiver_.ReceiveCodec(currentReceiveCodec); |
| 226 } | 224 } |
| 227 | 225 |
| 228 VideoCodecType ReceiveCodec() const override { | 226 VideoCodecType ReceiveCodec() const override { |
| 229 return receiver_.ReceiveCodec(); | 227 return receiver_.ReceiveCodec(); |
| 230 } | 228 } |
| 231 | 229 |
| 232 int32_t IncomingPacket(const uint8_t* incomingPayload, | 230 int32_t IncomingPacket(const uint8_t* incomingPayload, |
| 233 size_t payloadLength, | 231 size_t payloadLength, |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, | 309 return new VideoCodingModuleImpl(clock, event_factory, false, nullptr, |
| 312 nullptr); | 310 nullptr); |
| 313 } | 311 } |
| 314 | 312 |
| 315 void VideoCodingModule::Destroy(VideoCodingModule* module) { | 313 void VideoCodingModule::Destroy(VideoCodingModule* module) { |
| 316 if (module != NULL) { | 314 if (module != NULL) { |
| 317 delete static_cast<VideoCodingModuleImpl*>(module); | 315 delete static_cast<VideoCodingModuleImpl*>(module); |
| 318 } | 316 } |
| 319 } | 317 } |
| 320 } // namespace webrtc | 318 } // namespace webrtc |
| OLD | NEW |