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
+1 -1
View File
@@ -94,7 +94,7 @@ get_render_device(vk::raii::PhysicalDevice & physical_device)
return path;
}
av_buffer_ptr make_drm_hw_ctx(vk::raii::PhysicalDevice & physical_device, const std::optional<std::string>& device)
av_buffer_ptr make_drm_hw_ctx(vk::raii::PhysicalDevice & physical_device, const std::optional<std::string> & device)
{
const auto render_device = device ? *device : get_render_device(physical_device);
AVBufferRef * hw_ctx;
+2 -2
View File
@@ -19,9 +19,9 @@
#pragma once
#include "video_encoder_ffmpeg.h"
#include "ffmpeg_helper.h"
#include "utils/wivrn_vk_bundle.h"
#include "video_encoder_ffmpeg.h"
#include <vulkan/vulkan_raii.hpp>
namespace xrt::drivers::wivrn
@@ -40,7 +40,7 @@ class video_encoder_va : public VideoEncoderFFMPEG
std::vector<vk::raii::DeviceMemory> mem;
public:
video_encoder_va(wivrn_vk_bundle&, xrt::drivers::wivrn::encoder_settings & settings, float fps);
video_encoder_va(wivrn_vk_bundle &, xrt::drivers::wivrn::encoder_settings & settings, float fps);
void PresentImage(yuv_converter & src_yuv, vk::raii::CommandBuffer & cmd_buf) override;