19 #ifndef AVFILTER_METAL_UTILS_H 
   20 #define AVFILTER_METAL_UTILS_H 
   22 #include <Metal/Metal.h> 
   24 #include <AvailabilityMacros.h> 
   32 #if defined(MAC_OS_X_VERSION_MIN_REQUIRED) && (MAC_OS_X_VERSION_MIN_REQUIRED < 101100) 
   33 #define ORIG_MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_MIN_REQUIRED 
   34 #undef MAC_OS_X_VERSION_MIN_REQUIRED 
   35 #define MAC_OS_X_VERSION_MIN_REQUIRED 101100 
   38 #include <CoreVideo/CoreVideo.h> 
   40 #ifdef ORIG_MAC_OS_X_VERSION_MIN_REQUIRED 
   41 #undef MAC_OS_X_VERSION_MIN_REQUIRED 
   42 #define MAC_OS_X_VERSION_MIN_REQUIRED ORIG_MAC_OS_X_VERSION_MIN_REQUIRED 
   43 #undef ORIG_MAC_OS_X_VERSION_MIN_REQUIRED 
   47                                        id<MTLComputePipelineState> pipeline,
 
   48                                        id<MTLComputeCommandEncoder> encoder,
 
   50                                        API_AVAILABLE(macos(10.11), 
ios(8.0));
 
   53                                                CVMetalTextureCacheRef textureCache,
 
   54                                                CVPixelBufferRef pixbuf,
 
   57                                                API_AVAILABLE(macos(10.11), 
ios(8.0));