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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 int ReturnFrame(const vpx_image_t* img, | 151 int ReturnFrame(const vpx_image_t* img, |
152 uint32_t timeStamp, | 152 uint32_t timeStamp, |
153 int64_t ntp_time_ms); | 153 int64_t ntp_time_ms); |
154 | 154 |
155 I420BufferPool buffer_pool_; | 155 I420BufferPool buffer_pool_; |
156 DecodedImageCallback* decode_complete_callback_; | 156 DecodedImageCallback* decode_complete_callback_; |
157 bool inited_; | 157 bool inited_; |
158 bool feedback_mode_; | 158 bool feedback_mode_; |
159 vpx_codec_ctx_t* decoder_; | 159 vpx_codec_ctx_t* decoder_; |
160 VideoCodec codec_; | 160 VideoCodec codec_; |
161 EncodedImage last_keyframe_; | |
162 int image_format_; | 161 int image_format_; |
163 vpx_ref_frame_t* ref_frame_; | 162 vpx_ref_frame_t* ref_frame_; |
164 int propagation_cnt_; | 163 int propagation_cnt_; |
165 int last_frame_width_; | 164 int last_frame_width_; |
166 int last_frame_height_; | 165 int last_frame_height_; |
167 bool key_frame_required_; | 166 bool key_frame_required_; |
168 }; // end of VP8DecoderImpl class | 167 }; // end of VP8DecoderImpl class |
169 } // namespace webrtc | 168 } // namespace webrtc |
170 | 169 |
171 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ | 170 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ |
OLD | NEW |