| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 // | 124 // |
| 125 // Return value : WEBRTC_VIDEO_CODEC_OK if OK. | 125 // Return value : WEBRTC_VIDEO_CODEC_OK if OK. |
| 126 // <0 - Error | 126 // <0 - Error |
| 127 int Release() override; | 127 int Release() override; |
| 128 | 128 |
| 129 private: | 129 private: |
| 130 static const uint8_t* ExtractHeader(const uint8_t* buffer, | 130 static const uint8_t* ExtractHeader(const uint8_t* buffer, |
| 131 uint16_t* width, | 131 uint16_t* width, |
| 132 uint16_t* height); | 132 uint16_t* height); |
| 133 | 133 |
| 134 VideoFrame _decodedImage; | |
| 135 int _width; | 134 int _width; |
| 136 int _height; | 135 int _height; |
| 137 bool _inited; | 136 bool _inited; |
| 138 DecodedImageCallback* _decodeCompleteCallback; | 137 DecodedImageCallback* _decodeCompleteCallback; |
| 139 }; // class I420Decoder | 138 }; // class I420Decoder |
| 140 | 139 |
| 141 } // namespace webrtc | 140 } // namespace webrtc |
| 142 | 141 |
| 143 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_ | 142 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_I420_INCLUDE_I420_H_ |
| OLD | NEW |