| 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 |
| 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 11 #ifndef WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
| 12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 12 #define WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
| 13 | 13 |
| 14 #include <stdio.h> | 14 #include <stdio.h> |
| 15 #include <map> | 15 #include <map> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 19 #include "webrtc/modules/video_coding/include/video_coding_defines.h" | 19 #include "webrtc/modules/video_coding/include/video_coding_defines.h" |
| 20 | 20 |
| 21 #include "webrtc/base/criticalsection.h" | 21 #include "webrtc/rtc_base/criticalsection.h" |
| 22 #include "webrtc/base/race_checker.h" | 22 #include "webrtc/rtc_base/race_checker.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 | 25 |
| 26 namespace media_optimization { | 26 namespace media_optimization { |
| 27 class MediaOptimization; | 27 class MediaOptimization; |
| 28 } // namespace media_optimization | 28 } // namespace media_optimization |
| 29 | 29 |
| 30 struct EncoderParameters { | 30 struct EncoderParameters { |
| 31 BitrateAllocation target_bitrate; | 31 BitrateAllocation target_bitrate; |
| 32 uint8_t loss_rate; | 32 uint8_t loss_rate; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 const bool internal_source_; | 117 const bool internal_source_; |
| 118 rtc::CriticalSection params_lock_; | 118 rtc::CriticalSection params_lock_; |
| 119 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); | 119 EncoderParameters encoder_params_ GUARDED_BY(params_lock_); |
| 120 bool is_screenshare_; | 120 bool is_screenshare_; |
| 121 size_t streams_or_svc_num_; | 121 size_t streams_or_svc_num_; |
| 122 }; | 122 }; |
| 123 | 123 |
| 124 } // namespace webrtc | 124 } // namespace webrtc |
| 125 | 125 |
| 126 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ | 126 #endif // WEBRTC_MODULES_VIDEO_CODING_GENERIC_ENCODER_H_ |
| OLD | NEW |