mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
hwcontext_vulkan: enable support for YCbCr samplers
This commit is contained in:
parent
59707cc485
commit
fddfb0ebf8
2 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue