| 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 // TODO(mflodman) ViEEncoder has a time check to not send key frames too often, | 11 // TODO(mflodman) ViEEncoder has a time check to not send key frames too often, |
| 12 // move the logic to this class. | 12 // move the logic to this class. |
| 13 | 13 |
| 14 #ifndef WEBRTC_VIDEO_ENGINE_ENCODER_STATE_FEEDBACK_H_ | 14 #ifndef WEBRTC_VIDEO_ENCODER_STATE_FEEDBACK_H_ |
| 15 #define WEBRTC_VIDEO_ENGINE_ENCODER_STATE_FEEDBACK_H_ | 15 #define WEBRTC_VIDEO_ENCODER_STATE_FEEDBACK_H_ |
| 16 | 16 |
| 17 #include <map> | 17 #include <map> |
| 18 #include <vector> | 18 #include <vector> |
| 19 | 19 |
| 20 #include "webrtc/base/constructormagic.h" | 20 #include "webrtc/base/constructormagic.h" |
| 21 #include "webrtc/base/scoped_ptr.h" | 21 #include "webrtc/base/scoped_ptr.h" |
| 22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 | 25 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 rtc::scoped_ptr<EncoderStateFeedbackObserver> observer_; | 61 rtc::scoped_ptr<EncoderStateFeedbackObserver> observer_; |
| 62 | 62 |
| 63 // Maps a unique ssrc to the given encoder. | 63 // Maps a unique ssrc to the given encoder. |
| 64 SsrcEncoderMap encoders_; | 64 SsrcEncoderMap encoders_; |
| 65 | 65 |
| 66 RTC_DISALLOW_COPY_AND_ASSIGN(EncoderStateFeedback); | 66 RTC_DISALLOW_COPY_AND_ASSIGN(EncoderStateFeedback); |
| 67 }; | 67 }; |
| 68 | 68 |
| 69 } // namespace webrtc | 69 } // namespace webrtc |
| 70 | 70 |
| 71 #endif // WEBRTC_VIDEO_ENGINE_ENCODER_STATE_FEEDBACK_H_ | 71 #endif // WEBRTC_VIDEO_ENCODER_STATE_FEEDBACK_H_ |
| OLD | NEW |