Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Side by Side Diff: webrtc/modules/video_coding/main/source/codec_database.cc

Issue 1211353002: Integration of VP9 packetization. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: set ss data if not set Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 64 vp9_settings.numberOfSpatialLayers = 1;
65 vp9_settings.flexibleMode = false;
65 return vp9_settings; 66 return vp9_settings;
66 } 67 }
67 68
68 VideoCodecH264 VideoEncoder::GetDefaultH264Settings() { 69 VideoCodecH264 VideoEncoder::GetDefaultH264Settings() {
69 VideoCodecH264 h264_settings; 70 VideoCodecH264 h264_settings;
70 memset(&h264_settings, 0, sizeof(h264_settings)); 71 memset(&h264_settings, 0, sizeof(h264_settings));
71 72
72 h264_settings.profile = kProfileBase; 73 h264_settings.profile = kProfileBase;
73 h264_settings.frameDroppingOn = true; 74 h264_settings.frameDroppingOn = true;
74 h264_settings.keyFrameInterval = 3000; 75 h264_settings.keyFrameInterval = 3000;
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 731
731 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( 732 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem(
732 uint8_t payload_type) const { 733 uint8_t payload_type) const {
733 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); 734 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type);
734 if (it != dec_external_map_.end()) { 735 if (it != dec_external_map_.end()) {
735 return (*it).second; 736 return (*it).second;
736 } 737 }
737 return NULL; 738 return NULL;
738 } 739 }
739 } // namespace webrtc 740 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/codecs/vp9/vp9_impl.cc ('k') | webrtc/modules/video_coding/main/source/encoded_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698