blob: b4416ffabe36ae43b90e842b66068cda43e80ffe [file] [log] [blame]
Anders Carlsson9823ee42018-03-07 10:32:03 +01001/*
2 * Copyright 2018 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#ifndef SDK_OBJC_NATIVE_API_VIDEO_FRAME_H_
12#define SDK_OBJC_NATIVE_API_VIDEO_FRAME_H_
Anders Carlsson9823ee42018-03-07 10:32:03 +010013
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020014#import "base/RTCVideoFrame.h"
Anders Carlsson9823ee42018-03-07 10:32:03 +010015
16#include "api/video/video_frame.h"
17
18namespace webrtc {
19
Mirko Bonadeia81e9c82020-05-04 16:14:32 +020020RTC_OBJC_TYPE(RTCVideoFrame) * NativeToObjCVideoFrame(const VideoFrame& frame);
Anders Carlsson9823ee42018-03-07 10:32:03 +010021
22} // namespace webrtc
23
Anders Carlsson7bca8ca2018-08-30 09:30:29 +020024#endif // SDK_OBJC_NATIVE_API_VIDEO_FRAME_H_