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

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

Issue 2862543002: Split iOS sdk in to separate targets (Closed)
Patch Set: rebase and minor fixes Created 3 years, 7 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/videotoolboxvideocodecfactory.h" 10 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/videocodecfactory.h"
11 11
12 #include "webrtc/base/logging.h" 12 #include "webrtc/base/logging.h"
13 #include "webrtc/common_video/h264/profile_level_id.h" 13 #include "webrtc/common_video/h264/profile_level_id.h"
14 #include "webrtc/media/base/codec.h" 14 #include "webrtc/media/base/codec.h"
15 #include "webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.h" 15 #include "webrtc/sdk/objc/Framework/Classes/VideoToolbox/decoder.h"
16 #include "webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_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() {
25 return field_trial::IsEnabled(kHighProfileExperiment); 25 return field_trial::IsEnabled(kHighProfileExperiment);
26 } 26 }
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 return nullptr; 106 return nullptr;
107 } 107 }
108 108
109 void VideoToolboxVideoDecoderFactory::DestroyVideoDecoder( 109 void VideoToolboxVideoDecoderFactory::DestroyVideoDecoder(
110 VideoDecoder* decoder) { 110 VideoDecoder* decoder) {
111 delete decoder; 111 delete decoder;
112 decoder = nullptr; 112 decoder = nullptr;
113 } 113 }
114 114
115 } // namespace webrtc 115 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698