| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 19 matching lines...) Expand all Loading... |
| 30 int32_t Decode(const EncodedImage& input, | 30 int32_t Decode(const EncodedImage& input, |
| 31 bool missing_frames, | 31 bool missing_frames, |
| 32 const RTPFragmentationHeader* fragmentation, | 32 const RTPFragmentationHeader* fragmentation, |
| 33 const CodecSpecificInfo* codec_specific_info, | 33 const CodecSpecificInfo* codec_specific_info, |
| 34 int64_t render_time_ms) override; | 34 int64_t render_time_ms) override; |
| 35 | 35 |
| 36 int32_t RegisterDecodeCompleteCallback( | 36 int32_t RegisterDecodeCompleteCallback( |
| 37 DecodedImageCallback* callback) override; | 37 DecodedImageCallback* callback) override; |
| 38 | 38 |
| 39 int32_t Release() override; | 39 int32_t Release() override; |
| 40 int32_t Reset() override; | |
| 41 | 40 |
| 42 const char* ImplementationName() const override; | 41 const char* ImplementationName() const override; |
| 43 | 42 |
| 44 static const char* kImplementationName; | 43 static const char* kImplementationName; |
| 45 | 44 |
| 46 private: | 45 private: |
| 47 VideoCodec config_; | 46 VideoCodec config_; |
| 48 VideoFrame frame_; | 47 VideoFrame frame_; |
| 49 DecodedImageCallback* callback_; | 48 DecodedImageCallback* callback_; |
| 50 }; | 49 }; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 69 const RTPFragmentationHeader* fragmentation, | 68 const RTPFragmentationHeader* fragmentation, |
| 70 const CodecSpecificInfo* codec_specific_info, | 69 const CodecSpecificInfo* codec_specific_info, |
| 71 int64_t render_time_ms) override { | 70 int64_t render_time_ms) override { |
| 72 return 0; | 71 return 0; |
| 73 } | 72 } |
| 74 }; | 73 }; |
| 75 } // namespace test | 74 } // namespace test |
| 76 } // namespace webrtc | 75 } // namespace webrtc |
| 77 | 76 |
| 78 #endif // WEBRTC_TEST_FAKE_DECODER_H_ | 77 #endif // WEBRTC_TEST_FAKE_DECODER_H_ |
| OLD | NEW |