// // FrameProcessorContext.h // VisionCamera // // Created by Marc Rousavy on 13.07.23. // Copyright © 2023 mrousavy. All rights reserved. // #pragma once #import "Frame.h" #import #import #ifdef __cplusplus #import "FrameHostObject.h" #import "WKTJsiWorklet.h" #import #import #endif @interface FrameProcessor : NSObject - (instancetype)init NS_UNAVAILABLE; #ifdef __cplusplus - (instancetype _Nonnull)initWithWorklet:(std::shared_ptr)worklet context:(std::shared_ptr)context; - (void)callWithFrameHostObject:(std::shared_ptr)frameHostObject; #endif - (void)call:(Frame* _Nonnull)frame; @end