Integrate YCbCr conversion in monado
Hacks monado's distortion shader to write into Y and CbCr planes, eliminating the intermediate RGBA image Note: change monado's version to enforce patch application
This commit is contained in:
@@ -59,7 +59,7 @@ class VideoEncoderX264 : public VideoEncoder
|
||||
public:
|
||||
VideoEncoderX264(wivrn_vk_bundle & vk, encoder_settings & settings, float fps);
|
||||
|
||||
void PresentImage(yuv_converter & src_yuv, vk::raii::CommandBuffer & cmd_buf) override;
|
||||
void PresentImage(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf) override;
|
||||
|
||||
std::optional<data> encode(bool idr, std::chrono::steady_clock::time_point pts) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user