| 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 * WEBRTC VP8 wrapper interface | 10 * WEBRTC VP8 wrapper interface |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 int InitDecode(const VideoCodec* inst, int number_of_cores) override; | 129 int InitDecode(const VideoCodec* inst, int number_of_cores) override; |
| 130 | 130 |
| 131 int Decode(const EncodedImage& input_image, | 131 int Decode(const EncodedImage& input_image, |
| 132 bool missing_frames, | 132 bool missing_frames, |
| 133 const RTPFragmentationHeader* fragmentation, | 133 const RTPFragmentationHeader* fragmentation, |
| 134 const CodecSpecificInfo* codec_specific_info, | 134 const CodecSpecificInfo* codec_specific_info, |
| 135 int64_t /*render_time_ms*/) override; | 135 int64_t /*render_time_ms*/) override; |
| 136 | 136 |
| 137 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override; | 137 int RegisterDecodeCompleteCallback(DecodedImageCallback* callback) override; |
| 138 int Release() override; | 138 int Release() override; |
| 139 int Reset() override; | |
| 140 | 139 |
| 141 const char* ImplementationName() const override; | 140 const char* ImplementationName() const override; |
| 142 | 141 |
| 143 private: | 142 private: |
| 144 // Copy reference image from this _decoder to the _decoder in copyTo. Set | 143 // Copy reference image from this _decoder to the _decoder in copyTo. Set |
| 145 // which frame type to copy in _refFrame->frame_type before the call to | 144 // which frame type to copy in _refFrame->frame_type before the call to |
| 146 // this function. | 145 // this function. |
| 147 int CopyReference(VP8DecoderImpl* copy); | 146 int CopyReference(VP8DecoderImpl* copy); |
| 148 | 147 |
| 149 int DecodePartitions(const EncodedImage& input_image, | 148 int DecodePartitions(const EncodedImage& input_image, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 163 int image_format_; | 162 int image_format_; |
| 164 vpx_ref_frame_t* ref_frame_; | 163 vpx_ref_frame_t* ref_frame_; |
| 165 int propagation_cnt_; | 164 int propagation_cnt_; |
| 166 int last_frame_width_; | 165 int last_frame_width_; |
| 167 int last_frame_height_; | 166 int last_frame_height_; |
| 168 bool key_frame_required_; | 167 bool key_frame_required_; |
| 169 }; // end of VP8DecoderImpl class | 168 }; // end of VP8DecoderImpl class |
| 170 } // namespace webrtc | 169 } // namespace webrtc |
| 171 | 170 |
| 172 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ | 171 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ |
| OLD | NEW |