Atlas - testffmpeg_vulkan.h

Home / ext / SDL / test Lines: 1 | Size: 1224 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)]
[FILE BEGIN]
1/* 2 Copyright (C) 1997-2025 Sam Lantinga <[email protected]> 3 4 This software is provided 'as-is', without any express or implied 5 warranty. In no event will the authors be held liable for any damages 6 arising from the use of this software. 7 8 Permission is granted to anyone to use this software for any purpose, 9 including commercial applications, and to alter it and redistribute it 10 freely. 11*/ 12 13#include <libavutil/hwcontext.h> 14#include <libavutil/hwcontext_vulkan.h> 15 16 17typedef struct VulkanVideoContext VulkanVideoContext; 18 19extern VulkanVideoContext *CreateVulkanVideoContext(SDL_Window *window); 20extern void SetupVulkanRenderProperties(VulkanVideoContext *context, SDL_PropertiesID props); 21extern void SetupVulkanDeviceContextData(VulkanVideoContext *context, AVVulkanDeviceContext *ctx); 22extern SDL_Texture *CreateVulkanVideoTexture(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer, SDL_PropertiesID props); 23extern int BeginVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer); 24extern int FinishVulkanFrameRendering(VulkanVideoContext *context, AVFrame *frame, SDL_Renderer *renderer); 25extern void DestroyVulkanVideoContext(VulkanVideoContext *context); 26
[FILE END]
(C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.