mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
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:
1 parent
a2727d71b6
commit
3d258cbaf7
3 files changed
+44
-28
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user