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

Side by Side Diff: webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.mm

Issue 2974613003: base->rtc_base: Update .c, .mm and .java files. (Closed)
Patch Set: Created 3 years, 5 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 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 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 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h" 10 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h"
11 11
12 #include "webrtc/base/logging.h"
13 #include "webrtc/common_video/h264/profile_level_id.h" 12 #include "webrtc/common_video/h264/profile_level_id.h"
14 #include "webrtc/media/base/codec.h" 13 #include "webrtc/media/base/codec.h"
14 #include "webrtc/rtc_base/logging.h"
15 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h" 15 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h"
16 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h" 16 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.h"
17 #include "webrtc/system_wrappers/include/field_trial.h" 17 #include "webrtc/system_wrappers/include/field_trial.h"
18 18
19 namespace webrtc { 19 namespace webrtc {
20 20
21 namespace { 21 namespace {
22 const char kHighProfileExperiment[] = "WebRTC-H264HighProfile"; 22 const char kHighProfileExperiment[] = "WebRTC-H264HighProfile";
23 23
24 bool IsHighProfileEnabled() { 24 bool IsHighProfileEnabled() {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 LOG(LS_INFO) << "No HW decoder found for codec " << codec.name; 97 LOG(LS_INFO) << "No HW decoder found for codec " << codec.name;
98 return nullptr; 98 return nullptr;
99 } 99 }
100 100
101 void VideoToolboxVideoDecoderFactory::DestroyVideoDecoder(VideoDecoder* decoder) { 101 void VideoToolboxVideoDecoderFactory::DestroyVideoDecoder(VideoDecoder* decoder) {
102 delete decoder; 102 delete decoder;
103 decoder = nullptr; 103 decoder = nullptr;
104 } 104 }
105 105
106 } // namespace webrtc 106 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/VideoToolbox/encoder.mm ('k') | webrtc/sdk/objc/Framework/UnitTests/RTCAudioSessionTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698