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

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

Issue 2401673002: Delete old video defines in engine config and rename file (Closed)
Patch Set: And GYP Created 4 years, 2 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
11 #include "webrtc/modules/video_coding/codec_database.h" 11 #include "webrtc/modules/video_coding/codec_database.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #include "webrtc/base/checks.h" 15 #include "webrtc/base/checks.h"
16 #include "webrtc/base/logging.h" 16 #include "webrtc/base/logging.h"
17 #include "webrtc/engine_configurations.h"
18 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" 17 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h"
19 #include "webrtc/modules/video_coding/codecs/i420/include/i420.h" 18 #include "webrtc/modules/video_coding/codecs/i420/include/i420.h"
20 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" 19 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h"
21 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" 20 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h"
22 #include "webrtc/modules/video_coding/internal_defines.h" 21 #include "webrtc/modules/video_coding/internal_defines.h"
23 22
24 namespace { 23 namespace {
25 const size_t kDefaultPayloadSize = 1440; 24 const size_t kDefaultPayloadSize = 1440;
26 const uint8_t kDefaultPayloadType = 100; 25 const uint8_t kDefaultPayloadType = 100;
27 } 26 }
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 602
604 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( 603 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem(
605 uint8_t payload_type) const { 604 uint8_t payload_type) const {
606 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); 605 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type);
607 if (it != dec_external_map_.end()) { 606 if (it != dec_external_map_.end()) {
608 return (*it).second; 607 return (*it).second;
609 } 608 }
610 return nullptr; 609 return nullptr;
611 } 610 }
612 } // namespace webrtc 611 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/utility/source/file_recorder.cc ('k') | webrtc/modules/video_coding/generic_encoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698