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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 uint32_t MaxIntraTarget(uint32_t optimal_buffer_size); | 93 uint32_t MaxIntraTarget(uint32_t optimal_buffer_size); |
94 | 94 |
95 EncodedImageCallback* encoded_complete_callback_; | 95 EncodedImageCallback* encoded_complete_callback_; |
96 VideoCodec codec_; | 96 VideoCodec codec_; |
97 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; | 97 std::unique_ptr<SimulcastRateAllocator> rate_allocator_; |
98 bool inited_; | 98 bool inited_; |
99 int64_t timestamp_; | 99 int64_t timestamp_; |
100 bool feedback_mode_; | 100 bool feedback_mode_; |
101 int qp_max_; | 101 int qp_max_; |
102 int cpu_speed_default_; | 102 int cpu_speed_default_; |
| 103 int number_of_cores_; |
103 uint32_t rc_max_intra_target_; | 104 uint32_t rc_max_intra_target_; |
104 int token_partitions_; | 105 int token_partitions_; |
105 ReferencePictureSelection rps_; | 106 ReferencePictureSelection rps_; |
106 std::vector<TemporalLayers*> temporal_layers_; | 107 std::vector<TemporalLayers*> temporal_layers_; |
107 bool down_scale_requested_; | 108 bool down_scale_requested_; |
108 uint32_t down_scale_bitrate_; | 109 uint32_t down_scale_bitrate_; |
109 std::vector<uint16_t> picture_id_; | 110 std::vector<uint16_t> picture_id_; |
110 std::vector<int> last_key_frame_picture_id_; | 111 std::vector<int> last_key_frame_picture_id_; |
111 std::vector<bool> key_frame_request_; | 112 std::vector<bool> key_frame_request_; |
112 std::vector<bool> send_stream_; | 113 std::vector<bool> send_stream_; |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 int image_format_; | 162 int image_format_; |
162 vpx_ref_frame_t* ref_frame_; | 163 vpx_ref_frame_t* ref_frame_; |
163 int propagation_cnt_; | 164 int propagation_cnt_; |
164 int last_frame_width_; | 165 int last_frame_width_; |
165 int last_frame_height_; | 166 int last_frame_height_; |
166 bool key_frame_required_; | 167 bool key_frame_required_; |
167 }; // end of VP8DecoderImpl class | 168 }; // end of VP8DecoderImpl class |
168 } // namespace webrtc | 169 } // namespace webrtc |
169 | 170 |
170 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ | 171 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_VP8_IMPL_H_ |
OLD | NEW |