OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2017 The WebRTC project authors. All Rights Reserved. | |
3 * | |
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 | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 */ | |
10 | |
11 #import "WebRTC/RTCVideoCodec.h" | |
12 | |
13 #import "WebRTC/RTCVideoCodecH264.h" | |
14 | |
15 #include "webrtc/common_video/include/video_frame.h" | |
16 #include "webrtc/media/base/codec.h" | |
17 #include "webrtc/modules/video_coding/include/video_codec_interface.h" | |
18 | |
19 NS_ASSUME_NONNULL_BEGIN | |
20 | |
21 /* Interfaces for converting to/from internal C++ formats. */ | |
22 @interface RTCEncodedImage () | |
23 | |
24 - (instancetype)initWithEncodedImage:(webrtc::EncodedImage)encodedImage; | |
25 - (webrtc::EncodedImage)toCpp; | |
26 | |
27 @end | |
28 | |
29 @interface RTCVideoEncoderSettings () | |
30 | |
31 - (instancetype)initWithVideoCodec:(const webrtc::VideoCodec *__nullable)videoCo
dec; | |
32 - (webrtc::VideoCodec *)toCpp; | |
33 | |
34 @end | |
35 | |
36 @interface RTCCodecSpecificInfoH264 () | |
37 | |
38 - (webrtc::CodecSpecificInfo)toCpp; | |
39 | |
40 @end | |
41 | |
42 @interface RTCRtpFragmentationHeader () | |
43 | |
44 - (instancetype)initWithFragmentationHeader: | |
45 (const webrtc::RTPFragmentationHeader *__nullable)fragmentationHeader; | |
46 - (webrtc::RTPFragmentationHeader *)toCpp; | |
47 | |
48 @end | |
49 | |
50 @interface RTCVideoCodecInfo () | |
51 | |
52 - (instancetype)initWithVideoCodec:(cricket::VideoCodec)videoCodec; | |
53 - (cricket::VideoCodec)toCpp; | |
54 | |
55 @end | |
56 | |
57 NS_ASSUME_NONNULL_END | |
OLD | NEW |