| 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 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" | 11 #include "webrtc/modules/video_coding/main/source/media_opt_util.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <float.h> | 14 #include <float.h> |
| 15 #include <limits.h> | 15 #include <limits.h> |
| 16 #include <math.h> | 16 #include <math.h> |
| 17 | 17 |
| 18 #include "webrtc/modules/interface/module_common_types.h" | 18 #include "webrtc/modules/include/module_common_types.h" |
| 19 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" | 19 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8_common_types.h" |
| 20 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" | 20 #include "webrtc/modules/video_coding/main/interface/video_coding_defines.h" |
| 21 #include "webrtc/modules/video_coding/main/source/fec_tables_xor.h" | 21 #include "webrtc/modules/video_coding/main/source/fec_tables_xor.h" |
| 22 #include "webrtc/modules/video_coding/main/source/nack_fec_tables.h" | 22 #include "webrtc/modules/video_coding/main/source/nack_fec_tables.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 // Max value of loss rates in off-line model | 25 // Max value of loss rates in off-line model |
| 26 static const int kPacketLossMax = 129; | 26 static const int kPacketLossMax = 129; |
| 27 | 27 |
| 28 namespace media_optimization { | 28 namespace media_optimization { |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 765 _shortMaxLossPr255 = 0; | 765 _shortMaxLossPr255 = 0; |
| 766 Release(); | 766 Release(); |
| 767 } | 767 } |
| 768 | 768 |
| 769 void VCMLossProtectionLogic::Release() { | 769 void VCMLossProtectionLogic::Release() { |
| 770 _selectedMethod.reset(); | 770 _selectedMethod.reset(); |
| 771 } | 771 } |
| 772 | 772 |
| 773 } // namespace media_optimization | 773 } // namespace media_optimization |
| 774 } // namespace webrtc | 774 } // namespace webrtc |
| OLD | NEW |