FFmpeg
Loading...
Searching...
No Matches
utils.m File Reference
#include "libavutil/log.h"
#include "utils.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)
 
CVMetalTextureRef ff_metal_texture_from_pixbuf (void *ctx, CVMetalTextureCacheRef textureCache, CVPixelBufferRef pixbuf, int plane, MTLPixelFormat format)
 

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 )

Definition at line 22 of file utils.m.

◆ ff_metal_texture_from_pixbuf()

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

Definition at line 51 of file utils.m.