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

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCodecH264.h

Issue 2987413002: ObjC: Implement HW codecs in ObjC instead of C++ (Closed)
Patch Set: Rebase against https://codereview.webrtc.org/2992233002 Created 3 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 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2017 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 11 matching lines...) Expand all
22 RTC_EXPORT 22 RTC_EXPORT
23 @interface RTCCodecSpecificInfoH264 : NSObject<RTCCodecSpecificInfo> 23 @interface RTCCodecSpecificInfoH264 : NSObject<RTCCodecSpecificInfo>
24 24
25 @property(nonatomic, assign) RTCH264PacketizationMode packetizationMode; 25 @property(nonatomic, assign) RTCH264PacketizationMode packetizationMode;
26 26
27 @end 27 @end
28 28
29 /** Encoder. */ 29 /** Encoder. */
30 RTC_EXPORT 30 RTC_EXPORT
31 @interface RTCVideoEncoderH264 : NSObject<RTCVideoEncoder> 31 @interface RTCVideoEncoderH264 : NSObject<RTCVideoEncoder>
32
33 - (instancetype)initWithCodecInfo:(RTCVideoCodecInfo *)codecInfo;
34
32 @end 35 @end
33 36
34 /** Decoder. */ 37 /** Decoder. */
35 RTC_EXPORT 38 RTC_EXPORT
36 @interface RTCVideoDecoderH264 : NSObject<RTCVideoDecoder> 39 @interface RTCVideoDecoderH264 : NSObject<RTCVideoDecoder>
37 @end 40 @end
38 41
39 /** Encoder factory. */ 42 /** Encoder factory. */
40 RTC_EXPORT 43 RTC_EXPORT
41 @interface RTCVideoEncoderFactoryH264 : NSObject<RTCVideoEncoderFactory> 44 @interface RTCVideoEncoderFactoryH264 : NSObject<RTCVideoEncoderFactory>
42 @end 45 @end
43 46
44 /** Decoder factory. */ 47 /** Decoder factory. */
45 RTC_EXPORT 48 RTC_EXPORT
46 @interface RTCVideoDecoderFactoryH264 : NSObject<RTCVideoDecoderFactory> 49 @interface RTCVideoDecoderFactoryH264 : NSObject<RTCVideoDecoderFactory>
47 @end 50 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698