| 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 21 matching lines...) Expand all Loading... |
| 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; | 40 int32_t Reset() override; |
| 41 | 41 |
| 42 const char* ImplementationName() const override; |
| 43 |
| 44 static const char* kImplementationName; |
| 45 |
| 42 private: | 46 private: |
| 43 VideoCodec config_; | 47 VideoCodec config_; |
| 44 VideoFrame frame_; | 48 VideoFrame frame_; |
| 45 DecodedImageCallback* callback_; | 49 DecodedImageCallback* callback_; |
| 46 }; | 50 }; |
| 47 | 51 |
| 48 class FakeH264Decoder : public FakeDecoder { | 52 class FakeH264Decoder : public FakeDecoder { |
| 49 public: | 53 public: |
| 50 virtual ~FakeH264Decoder() {} | 54 virtual ~FakeH264Decoder() {} |
| 51 | 55 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 65 const RTPFragmentationHeader* fragmentation, | 69 const RTPFragmentationHeader* fragmentation, |
| 66 const CodecSpecificInfo* codec_specific_info, | 70 const CodecSpecificInfo* codec_specific_info, |
| 67 int64_t render_time_ms) override { | 71 int64_t render_time_ms) override { |
| 68 return 0; | 72 return 0; |
| 69 } | 73 } |
| 70 }; | 74 }; |
| 71 } // namespace test | 75 } // namespace test |
| 72 } // namespace webrtc | 76 } // namespace webrtc |
| 73 | 77 |
| 74 #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_FAKE_DECODER_H_ | 78 #endif // WEBRTC_VIDEO_ENGINE_TEST_COMMON_FAKE_DECODER_H_ |
| OLD | NEW |