blob: e96ce7bc8e5e539ab96331c1a6ffc5a4ff226d2c [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. */
18@interface RTCEncodedImage (Private)
Steve Antond295e402017-07-14 16:06:41 -070019
Dillon Cower5963fdd2019-02-07 16:17:43 -080020- (instancetype)initWithNativeEncodedImage:(const webrtc::EncodedImage &)encodedImage;
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020021- (webrtc::EncodedImage)nativeEncodedImage;
Steve Antond295e402017-07-14 16:06:41 -070022
23@end
24
25NS_ASSUME_NONNULL_END