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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 EncodedImageCallback* encoded_complete_callback_; | 95 EncodedImageCallback* encoded_complete_callback_; |
96 VideoCodec codec_; | 96 VideoCodec codec_; |
97 bool inited_; | 97 bool inited_; |
98 int64_t timestamp_; | 98 int64_t timestamp_; |
99 int qp_max_; | 99 int qp_max_; |
100 int cpu_speed_default_; | 100 int cpu_speed_default_; |
101 int number_of_cores_; | 101 int number_of_cores_; |
102 uint32_t rc_max_intra_target_; | 102 uint32_t rc_max_intra_target_; |
103 std::vector<TemporalLayers*> temporal_layers_; | 103 std::vector<TemporalLayers*> temporal_layers_; |
104 std::vector<uint16_t> picture_id_; | 104 std::vector<uint16_t> picture_id_; |
105 std::vector<int> last_key_frame_picture_id_; | |
106 std::vector<bool> key_frame_request_; | 105 std::vector<bool> key_frame_request_; |
107 std::vector<bool> send_stream_; | 106 std::vector<bool> send_stream_; |
108 std::vector<int> cpu_speed_; | 107 std::vector<int> cpu_speed_; |
109 std::vector<vpx_image_t> raw_images_; | 108 std::vector<vpx_image_t> raw_images_; |
110 std::vector<EncodedImage> encoded_images_; | 109 std::vector<EncodedImage> encoded_images_; |
111 std::vector<vpx_codec_ctx_t> encoders_; | 110 std::vector<vpx_codec_ctx_t> encoders_; |
112 std::vector<vpx_codec_enc_cfg_t> configurations_; | 111 std::vector<vpx_codec_enc_cfg_t> configurations_; |
113 std::vector<vpx_rational_t> downsampling_factors_; | 112 std::vector<vpx_rational_t> downsampling_factors_; |
114 }; | 113 }; |
115 | 114 |
(...skipping 29 matching lines...) Expand all Loading... |
145 bool inited_; | 144 bool inited_; |
146 vpx_codec_ctx_t* decoder_; | 145 vpx_codec_ctx_t* decoder_; |
147 int propagation_cnt_; | 146 int propagation_cnt_; |
148 int last_frame_width_; | 147 int last_frame_width_; |
149 int last_frame_height_; | 148 int last_frame_height_; |
150 bool key_frame_required_; | 149 bool key_frame_required_; |
151 }; | 150 }; |
152 } // namespace webrtc | 151 } // namespace webrtc |
153 | 152 |
154 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ | 153 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ |
OLD | NEW |