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 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 VideoCodecVP9 VideoEncoder::GetDefaultVp9Settings() { | 54 VideoCodecVP9 VideoEncoder::GetDefaultVp9Settings() { |
55 VideoCodecVP9 vp9_settings; | 55 VideoCodecVP9 vp9_settings; |
56 memset(&vp9_settings, 0, sizeof(vp9_settings)); | 56 memset(&vp9_settings, 0, sizeof(vp9_settings)); |
57 | 57 |
58 vp9_settings.resilience = 1; | 58 vp9_settings.resilience = 1; |
59 vp9_settings.numberOfTemporalLayers = 1; | 59 vp9_settings.numberOfTemporalLayers = 1; |
60 vp9_settings.denoisingOn = false; | 60 vp9_settings.denoisingOn = false; |
61 vp9_settings.frameDroppingOn = true; | 61 vp9_settings.frameDroppingOn = true; |
62 vp9_settings.keyFrameInterval = 3000; | 62 vp9_settings.keyFrameInterval = 3000; |
63 vp9_settings.adaptiveQpMode = true; | 63 vp9_settings.adaptiveQpMode = true; |
| 64 vp9_settings.automaticResizeOn = false; |
64 vp9_settings.numberOfSpatialLayers = 1; | 65 vp9_settings.numberOfSpatialLayers = 1; |
65 vp9_settings.flexibleMode = false; | 66 vp9_settings.flexibleMode = false; |
66 return vp9_settings; | 67 return vp9_settings; |
67 } | 68 } |
68 | 69 |
69 VideoCodecH264 VideoEncoder::GetDefaultH264Settings() { | 70 VideoCodecH264 VideoEncoder::GetDefaultH264Settings() { |
70 VideoCodecH264 h264_settings; | 71 VideoCodecH264 h264_settings; |
71 memset(&h264_settings, 0, sizeof(h264_settings)); | 72 memset(&h264_settings, 0, sizeof(h264_settings)); |
72 | 73 |
73 h264_settings.profile = kProfileBase; | 74 h264_settings.profile = kProfileBase; |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 | 732 |
732 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( | 733 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( |
733 uint8_t payload_type) const { | 734 uint8_t payload_type) const { |
734 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); | 735 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); |
735 if (it != dec_external_map_.end()) { | 736 if (it != dec_external_map_.end()) { |
736 return (*it).second; | 737 return (*it).second; |
737 } | 738 } |
738 return NULL; | 739 return NULL; |
739 } | 740 } |
740 } // namespace webrtc | 741 } // namespace webrtc |
OLD | NEW |