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/codec_database.h" | 11 #include "webrtc/modules/video_coding/main/source/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/engine_configurations.h" | 16 #include "webrtc/engine_configurations.h" |
17 #ifdef VIDEOCODEC_H264 | 17 #ifdef VIDEOCODEC_H264 |
18 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" | 18 #include "webrtc/modules/video_coding/codecs/h264/include/h264.h" |
19 #endif | 19 #endif |
20 #ifdef VIDEOCODEC_I420 | 20 #ifdef VIDEOCODEC_I420 |
21 #include "webrtc/modules/video_coding/codecs/i420/main/interface/i420.h" | 21 #include "webrtc/modules/video_coding/codecs/i420/include/i420.h" |
22 #endif | 22 #endif |
23 #ifdef VIDEOCODEC_VP8 | 23 #ifdef VIDEOCODEC_VP8 |
24 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 24 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
25 #endif | 25 #endif |
26 #ifdef VIDEOCODEC_VP9 | 26 #ifdef VIDEOCODEC_VP9 |
27 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" | 27 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" |
28 #endif | 28 #endif |
29 #include "webrtc/modules/video_coding/main/source/internal_defines.h" | 29 #include "webrtc/modules/video_coding/main/source/internal_defines.h" |
30 #include "webrtc/system_wrappers/interface/logging.h" | 30 #include "webrtc/system_wrappers/interface/logging.h" |
31 | 31 |
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
685 | 685 |
686 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( | 686 const VCMExtDecoderMapItem* VCMCodecDataBase::FindExternalDecoderItem( |
687 uint8_t payload_type) const { | 687 uint8_t payload_type) const { |
688 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); | 688 ExternalDecoderMap::const_iterator it = dec_external_map_.find(payload_type); |
689 if (it != dec_external_map_.end()) { | 689 if (it != dec_external_map_.end()) { |
690 return (*it).second; | 690 return (*it).second; |
691 } | 691 } |
692 return NULL; | 692 return NULL; |
693 } | 693 } |
694 } // namespace webrtc | 694 } // namespace webrtc |
OLD | NEW |