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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 : public webrtc::DecodedImageCallback { | 243 : public webrtc::DecodedImageCallback { |
244 public: | 244 public: |
245 explicit VideoProcessorDecodeCompleteCallback(VideoProcessorImpl* vp) | 245 explicit VideoProcessorDecodeCompleteCallback(VideoProcessorImpl* vp) |
246 : video_processor_(vp) {} | 246 : video_processor_(vp) {} |
247 int32_t Decoded(webrtc::VideoFrame& image) override; | 247 int32_t Decoded(webrtc::VideoFrame& image) override; |
248 int32_t Decoded(webrtc::VideoFrame& image, | 248 int32_t Decoded(webrtc::VideoFrame& image, |
249 int64_t decode_time_ms) override { | 249 int64_t decode_time_ms) override { |
250 RTC_NOTREACHED(); | 250 RTC_NOTREACHED(); |
251 return -1; | 251 return -1; |
252 } | 252 } |
| 253 int32_t DecodedWithQp(VideoFrame& frame, int qp) override { |
| 254 RTC_NOTREACHED(); |
| 255 return -1; |
| 256 } |
| 257 int32_t DecodedWithQp(VideoFrame& frame, |
| 258 int64_t decode_time_ms, |
| 259 int qp) override { |
| 260 RTC_NOTREACHED(); |
| 261 return -1; |
| 262 } |
253 | 263 |
254 private: | 264 private: |
255 VideoProcessorImpl* video_processor_; | 265 VideoProcessorImpl* video_processor_; |
256 }; | 266 }; |
257 }; | 267 }; |
258 | 268 |
259 } // namespace test | 269 } // namespace test |
260 } // namespace webrtc | 270 } // namespace webrtc |
261 | 271 |
262 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ | 272 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_TEST_VIDEOPROCESSOR_H_ |
OLD | NEW |