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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 encoded_image, | 437 encoded_image, |
438 fragmentation); | 438 fragmentation); |
439 return Result(Result::OK, 0); | 439 return Result(Result::OK, 0); |
440 } | 440 } |
441 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( | 441 int32_t VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
442 VideoFrame& image) { | 442 VideoFrame& image) { |
443 // Forward to parent class. | 443 // Forward to parent class. |
444 video_processor_->FrameDecoded(image); | 444 video_processor_->FrameDecoded(image); |
445 return 0; | 445 return 0; |
446 } | 446 } |
| 447 void VideoProcessorImpl::VideoProcessorDecodeCompleteCallback::Decoded( |
| 448 VideoFrame& frame, |
| 449 rtc::Optional<int32_t> decode_time_ms, |
| 450 rtc::Optional<uint8_t> qp) { |
| 451 // Forward to parent class. |
| 452 video_processor_->FrameDecoded(frame); |
| 453 } |
447 | 454 |
448 } // namespace test | 455 } // namespace test |
449 } // namespace webrtc | 456 } // namespace webrtc |
OLD | NEW |