2017-07-14 16:06:41 -07:00
|
|
|
/*
|
|
|
|
|
* Copyright 2017 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
#import "base/RTCEncodedImage.h"
|
2017-07-14 16:06:41 -07:00
|
|
|
|
2018-10-05 14:17:58 +02:00
|
|
|
#include "api/video/encoded_image.h"
|
2017-07-14 16:06:41 -07:00
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
2018-08-30 09:30:29 +02:00
|
|
|
/* Interfaces for converting to/from internal C++ formats. */
|
2020-05-04 16:14:32 +02:00
|
|
|
@interface RTC_OBJC_TYPE (RTCEncodedImage)
|
|
|
|
|
(Private)
|
2017-07-14 16:06:41 -07:00
|
|
|
|
2025-01-08 05:45:56 -08:00
|
|
|
- (instancetype)initWithNativeEncodedImage
|
|
|
|
|
: (const webrtc::EncodedImage &)encodedImage;
|
2018-08-30 09:30:29 +02:00
|
|
|
- (webrtc::EncodedImage)nativeEncodedImage;
|
2017-07-14 16:06:41 -07:00
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|