FFmpeg
Data Structures | Functions
ops.h File Reference
#include "libavutil/vulkan.h"
#include "../swscale.h"

Go to the source code of this file.

Data Structures

struct  FFVulkanOpsCtx
 Copyright (C) 2026 Lynne. More...
 

Functions

int ff_sws_vk_init (SwsContext *sws, AVBufferRef *dev_ref)
 
AVBufferRefff_sws_vk_device_ref (SwsContext *sws)
 Returns the Vulkan device reference associated with sws, or NULL if Vulkan has not been initialized for this context. More...
 

Function Documentation

◆ ff_sws_vk_init()

int ff_sws_vk_init ( SwsContext sws,
AVBufferRef dev_ref 
)

Definition at line 44 of file ops.c.

Referenced by sws_frame_setup().

◆ ff_sws_vk_device_ref()

AVBufferRef* ff_sws_vk_device_ref ( SwsContext sws)

Returns the Vulkan device reference associated with sws, or NULL if Vulkan has not been initialized for this context.

Definition at line 85 of file ops.c.

Referenced by pass_alloc_output().