blob: a078b0adedd31565d9f4409f10b4477ac61ea264 [file] [log] [blame]
Steve Antond295e402017-07-14 16:06:41 -07001/*
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
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020011#import "base/RTCEncodedImage.h"
Steve Antond295e402017-07-14 16:06:41 -070012
Niels Möller4dc66c52018-10-05 14:17:58 +020013#include "api/video/encoded_image.h"
Steve Antond295e402017-07-14 16:06:41 -070014
15NS_ASSUME_NONNULL_BEGIN
16
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020017/* Interfaces for converting to/from internal C++ formats. */
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020018@interface RTC_OBJC_TYPE (RTCEncodedImage)
19(Private)
Steve Antond295e402017-07-14 16:06:41 -070020
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020021 - (instancetype)initWithNativeEncodedImage : (const webrtc::EncodedImage &)encodedImage;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020022- (webrtc::EncodedImage)nativeEncodedImage;
Steve Antond295e402017-07-14 16:06:41 -070023
24@end
25
26NS_ASSUME_NONNULL_END