mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00

These headers was lost in the cleanup CL for the Obj-C directories. This puts them back in the framework headers. Note that since the protocol and interface was split into two different headers, and all public framework headers are put into a flat directory structure, I had to rename the implementation files so they would not collide in the framework header directory. Bug: webrtc:9701 Change-Id: I42d4c1e02bdfa4e114575f527c4c42a19be8fb52 Reviewed-on: https://webrtc-review.googlesource.com/97330 Reviewed-by: Peter Hanspers <peterhanspers@webrtc.org> Commit-Queue: Anders Carlsson <andersc@webrtc.org> Cr-Commit-Position: refs/heads/master@{#24539}
28 lines
880 B
Objective-C
28 lines
880 B
Objective-C
/*
|
|
* 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.
|
|
*/
|
|
|
|
#import "RTCNativeI420Buffer.h"
|
|
|
|
#include "api/video/i420_buffer.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface RTCI420Buffer () {
|
|
@protected
|
|
rtc::scoped_refptr<webrtc::I420BufferInterface> _i420Buffer;
|
|
}
|
|
|
|
/** Initialize an RTCI420Buffer with its backing I420BufferInterface. */
|
|
- (instancetype)initWithFrameBuffer:(rtc::scoped_refptr<webrtc::I420BufferInterface>)i420Buffer;
|
|
- (rtc::scoped_refptr<webrtc::I420BufferInterface>)nativeI420Buffer;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|