hasvk: Gate video decode behind VIDEO_CODEC_H264DEC so we don't advertise it without the codec.

Assisted-by: Claude
This commit is contained in:
dancingmirrors authored and elwrcl committed 2026-07-21 22:25:24 +03:00
1 parent a2727d71b6
commit 3d258cbaf7
3 files changed
+44 -28

No files matched your search

+5 -1
View File
@@ -3016,12 +3016,16 @@ struct anv_format_plane {
VkImageAspectFlags aspect;
};
enum anv_format_flag {
ANV_FORMAT_FLAG_CAN_YCBCR = BITFIELD_BIT(0),
ANV_FORMAT_FLAG_CAN_VIDEO = BITFIELD_BIT(1),
};
struct anv_format {
struct anv_format_plane planes[3];
VkFormat vk_format;
uint8_t n_planes;
bool can_ycbcr;
enum anv_format_flag flags:8;
};
static inline void