FFmpeg
Functions
utils.h File Reference
#include <Metal/Metal.h>
#include <AvailabilityMacros.h>
#include <CoreVideo/CoreVideo.h>

Go to the source code of this file.

Functions

void ff_metal_compute_encoder_dispatch (id< MTLDevice > device, id< MTLComputePipelineState > pipeline, id< MTLComputeCommandEncoder > encoder, NSUInteger width, NSUInteger height) API_AVAILABLE(macos(10.11)
 
void ios (8.0))
 
CVMetalTextureRef ff_metal_texture_from_pixbuf (void *avclass, CVMetalTextureCacheRef textureCache, CVPixelBufferRef pixbuf, int plane, MTLPixelFormat format) API_AVAILABLE(macos(10.11)
 

Function Documentation

◆ ff_metal_compute_encoder_dispatch()

void ff_metal_compute_encoder_dispatch ( id< MTLDevice >  device,
id< MTLComputePipelineState >  pipeline,
id< MTLComputeCommandEncoder >  encoder,
NSUInteger  width,
NSUInteger  height 
)

◆ ios()

CVMetalTextureRef ios ( 8.  0)

◆ ff_metal_texture_from_pixbuf()

CVMetalTextureRef ff_metal_texture_from_pixbuf ( void *  avclass,
CVMetalTextureCacheRef  textureCache,
CVPixelBufferRef  pixbuf,
int  plane,
MTLPixelFormat  format 
)