03b57a7d27
* Use clang-format * Create .clang-format * Update .clang-format * Update .clang-format * Update .clang-format * Only search in cpp dirs * Update clang-format.sh * Update .clang-format * Update .clang-format * Update .clang-format * Format C++ code! * Use version 16 * Update clang-format.sh * Remove Shaders.ts * fix: Lint Swift
24 lines
558 B
Objective-C
24 lines
558 B
Objective-C
//
|
|
// Frame.h
|
|
// VisionCamera
|
|
//
|
|
// Created by Marc Rousavy on 15.03.21.
|
|
// Copyright © 2021 mrousavy. All rights reserved.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#import <CoreMedia/CMSampleBuffer.h>
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIImage.h>
|
|
|
|
@interface Frame : NSObject
|
|
|
|
- (instancetype _Nonnull)initWithBuffer:(CMSampleBufferRef _Nonnull)buffer
|
|
orientation:(UIImageOrientation)orientation;
|
|
|
|
@property(nonatomic, readonly) CMSampleBufferRef _Nonnull buffer;
|
|
@property(nonatomic, readonly) UIImageOrientation orientation;
|
|
|
|
@end
|