mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/vulkan_decode: Un-sparse extensions table
Only three of the 226 (== AV_CODEC_ID_AV1) entries have been used. Unsparsing this table is especially important given that this array lives in .data.rel.ro. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
f7b227bec3
commit
f9d35e78fe
5 changed files with 14 additions and 4 deletions
|
|
@ -19,6 +19,7 @@
|
|||
#ifndef AVCODEC_VULKAN_DECODE_H
|
||||
#define AVCODEC_VULKAN_DECODE_H
|
||||
|
||||
#include "codec_id.h"
|
||||
#include "decode.h"
|
||||
#include "hwaccel_internal.h"
|
||||
#include "internal.h"
|
||||
|
|
@ -26,6 +27,7 @@
|
|||
#include "vulkan_video.h"
|
||||
|
||||
typedef struct FFVulkanDecodeDescriptor {
|
||||
enum AVCodecID codec_id;
|
||||
FFVulkanExtensions decode_extension;
|
||||
VkVideoCodecOperationFlagBitsKHR decode_op;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue