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
+3 -3
View File
@@ -29,7 +29,7 @@ namespace xrt::drivers::wivrn
class VideoEncoderNvenc : public VideoEncoder
{
wivrn_vk_bundle& vk;
wivrn_vk_bundle & vk;
// relevant part of the input image to encode
vk::Rect2D rect;
@@ -51,10 +51,10 @@ class VideoEncoderNvenc : public VideoEncoder
int bitrate;
public:
VideoEncoderNvenc(wivrn_vk_bundle& vk, const encoder_settings & settings, float fps);
VideoEncoderNvenc(wivrn_vk_bundle & vk, const encoder_settings & settings, float fps);
void PresentImage(yuv_converter & src_yuv, vk::raii::CommandBuffer & cmd_buf) override;
void Encode( bool idr, std::chrono::steady_clock::time_point pts) override;
void Encode(bool idr, std::chrono::steady_clock::time_point pts) override;
};
} // namespace xrt::drivers::wivrn