clang-format

This commit is contained in:
Guillaume Meunier
2024-03-30 17:00:34 +01:00
parent bb660cfb3f
commit 9cceaac648
122 changed files with 2904 additions and 2783 deletions
+6 -4
View File
@@ -28,9 +28,11 @@ class yuv_converter
vk::Extent2D extent;
vk::Image rgb;
public:
image_allocation luma;
image_allocation chroma;
private:
vk::raii::ImageView view_rgb = nullptr;
vk::raii::ImageView view_luma = nullptr;
@@ -44,13 +46,13 @@ private:
std::vector<vk::raii::DeviceMemory> mem;
public:
public:
yuv_converter();
yuv_converter(vk::PhysicalDevice, vk::raii::Device& device, vk::Image rgb, vk::Format format, vk::Extent2D extent);
yuv_converter(vk::PhysicalDevice, vk::raii::Device & device, vk::Image rgb, vk::Format format, vk::Extent2D extent);
// Converts the given image to yuv, stored in luma and chroma images.
// The output images will be in transfer src optimal layout
void record_draw_commands(vk::raii::CommandBuffer& cmd_buf);
void record_draw_commands(vk::raii::CommandBuffer & cmd_buf);
void assemble_planes(vk::Rect2D, vk::raii::CommandBuffer&, vk::Image target);
void assemble_planes(vk::Rect2D, vk::raii::CommandBuffer &, vk::Image target);
};