| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | //
 | 
					
						
							|  |  |  | //  FrameProcessorContext.h
 | 
					
						
							|  |  |  | //  VisionCamera
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | //  Created by Marc Rousavy on 13.07.23.
 | 
					
						
							|  |  |  | //  Copyright © 2023 mrousavy. All rights reserved.
 | 
					
						
							|  |  |  | //
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #import "Frame.h"
 | 
					
						
							| 
									
										
										
										
											2023-09-01 12:58:32 +02:00
										 |  |  | #import <AVFoundation/AVFoundation.h>
 | 
					
						
							|  |  |  | #import <Foundation/Foundation.h>
 | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | #ifdef __cplusplus
 | 
					
						
							| 
									
										
										
										
											2023-09-01 12:58:32 +02:00
										 |  |  | #import "FrameHostObject.h"
 | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | #import "WKTJsiWorklet.h"
 | 
					
						
							|  |  |  | #import <jsi/jsi.h>
 | 
					
						
							|  |  |  | #import <memory.h>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-16 20:02:03 +01:00
										 |  |  | NS_ASSUME_NONNULL_BEGIN | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | @interface FrameProcessor : NSObject | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-12 16:00:36 +01:00
										 |  |  | - (instancetype)init NS_UNAVAILABLE; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | #ifdef __cplusplus
 | 
					
						
							| 
									
										
										
										
											2023-07-21 17:52:30 +02:00
										 |  |  | - (instancetype _Nonnull)initWithWorklet:(std::shared_ptr<RNWorklet::JsiWorklet>)worklet | 
					
						
							|  |  |  |                                  context:(std::shared_ptr<RNWorklet::JsiWorkletContext>)context; | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | - (void)callWithFrameHostObject:(std::shared_ptr<FrameHostObject>)frameHostObject; | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-01-16 20:02:03 +01:00
										 |  |  | - (void)call:(Frame*)frame; | 
					
						
							| 
									
										
										
										
											2023-07-20 15:30:04 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | @end | 
					
						
							| 
									
										
										
										
											2024-01-16 20:02:03 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | NS_ASSUME_NONNULL_END |