FFmpeg
Functions
vulkan_shaderc.c File Reference
#include <shaderc/shaderc.h>
#include "libavutil/mem.h"
#include "vulkan_spirv.h"

Go to the source code of this file.

Functions

static int shdc_shader_compile (FFVkSPIRVCompiler *ctx, void *avctx, FFVkSPIRVShader *shd, uint8_t **data, size_t *size, const char *entrypoint, void **opaque)
 
static void shdc_shader_free (FFVkSPIRVCompiler *ctx, void **opaque)
 
static void shdc_uninit (FFVkSPIRVCompiler **ctx)
 
FFVkSPIRVCompilerff_vk_shaderc_init (void)
 

Function Documentation

◆ shdc_shader_compile()

static int shdc_shader_compile ( FFVkSPIRVCompiler ctx,
void *  avctx,
FFVkSPIRVShader shd,
uint8_t **  data,
size_t *  size,
const char *  entrypoint,
void **  opaque 
)
static

Definition at line 24 of file vulkan_shaderc.c.

Referenced by ff_vk_shaderc_init().

◆ shdc_shader_free()

static void shdc_shader_free ( FFVkSPIRVCompiler ctx,
void **  opaque 
)
static

Definition at line 87 of file vulkan_shaderc.c.

Referenced by ff_vk_shaderc_init().

◆ shdc_uninit()

static void shdc_uninit ( FFVkSPIRVCompiler **  ctx)
static

Definition at line 96 of file vulkan_shaderc.c.

Referenced by ff_vk_shaderc_init().

◆ ff_vk_shaderc_init()

FFVkSPIRVCompiler* ff_vk_shaderc_init ( void  )

Definition at line 109 of file vulkan_shaderc.c.