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/RTCEncodedImage.h> |
| 12 #import <WebRTC/RTCRtpFragmentationHeader.h> |
| 13 #import <WebRTC/RTCVideoCodec.h> |
| 14 #import <WebRTC/RTCVideoCodecH264.h> |
| 15 |
| 16 #include "webrtc/common_video/include/video_frame.h" |
| 17 #include "webrtc/media/base/codec.h" |
| 18 #include "webrtc/modules/video_coding/include/video_codec_interface.h" |
| 19 |
| 20 NS_ASSUME_NONNULL_BEGIN |
| 21 |
| 22 /* Interfaces for converting to/from internal C++ formats */ |
| 23 @interface RTCEncodedImage () |
| 24 |
| 25 - (instancetype)initWithEncodedImage:(webrtc::EncodedImage)encodedImage; |
| 26 - (webrtc::EncodedImage)toCpp; |
| 27 |
| 28 @end |
| 29 |
| 30 @interface RTCVideoEncoderSettings () |
| 31 |
| 32 - (instancetype)initWithVideoCodec:(const webrtc::VideoCodec *__nullable)videoCo
dec |
| 33 numberOfCores:(int)numberOfCores; |
| 34 - (webrtc::VideoCodec *)toCpp; |
| 35 |
| 36 @end |
| 37 |
| 38 @interface RTCCodecSpecificInfoH264 () |
| 39 |
| 40 - (webrtc::CodecSpecificInfo)toCpp; |
| 41 |
| 42 @end |
| 43 |
| 44 @interface RTCRtpFragmentationHeader () |
| 45 |
| 46 - (instancetype)initWithFragmentationHeader: |
| 47 (const webrtc::RTPFragmentationHeader *__nullable)fragmentationHeader; |
| 48 - (webrtc::RTPFragmentationHeader *)toCpp; |
| 49 |
| 50 @end |
| 51 |
| 52 @interface RTCVideoCodecInfo () |
| 53 |
| 54 - (instancetype)initWithVideoCodec:(cricket::VideoCodec)videoCodec; |
| 55 - (cricket::VideoCodec)toCpp; |
| 56 |
| 57 @end |
| 58 |
| 59 NS_ASSUME_NONNULL_END |
OLD | NEW |