mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
vulkan: move format enumeration into utils functions
This commit is contained in:
parent
6646a04439
commit
50c4fa43d6
10 changed files with 264 additions and 272 deletions
11
spa/plugins/vulkan/utils.h
Normal file
11
spa/plugins/vulkan/utils.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/* Spa */
|
||||
/* SPDX-FileCopyrightText: Copyright © 2023 columbarius */
|
||||
/* SPDX-License-Identifier: MIT */
|
||||
|
||||
#include "vulkan-types.h"
|
||||
#include "spa/pod/builder.h"
|
||||
|
||||
bool find_EnumFormatInfo(struct vulkan_format_infos *fmtInfos, uint32_t index, uint32_t caps, uint32_t *fmt_idx, bool *has_modifier);
|
||||
|
||||
struct spa_pod *build_dsp_EnumFormat(const struct vulkan_format_info *fmt, bool with_modifiers, struct spa_pod_builder *builder);
|
||||
struct spa_pod *build_raw_EnumFormat(const struct vulkan_format_info *fmt, bool with_modifiers, struct spa_pod_builder *builder);
|
||||
Loading…
Add table
Add a link
Reference in a new issue