mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
hwcontext_vulkan: enable support for YCbCr samplers
This commit is contained in:
parent
59707cc485
commit
fddfb0ebf8
@ -1378,6 +1378,7 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
|
||||
goto end;
|
||||
}
|
||||
p->device_features_1_2.timelineSemaphore = 1;
|
||||
p->device_features_1_1.samplerYcbcrConversion = dev_features_1_1.samplerYcbcrConversion;
|
||||
|
||||
/* Setup queue family */
|
||||
if ((err = setup_queue_families(ctx, &dev_info)))
|
||||
|
@ -155,6 +155,8 @@ typedef enum FFVulkanExtensions {
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroyPipeline) \
|
||||
\
|
||||
/* Sampler */ \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateSamplerYcbcrConversion) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroySamplerYcbcrConversion) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateSampler) \
|
||||
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroySampler) \
|
||||
\
|
||||
|
Loading…
Reference in New Issue
Block a user