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:
@@ -43,7 +43,7 @@ class video_encoder_va : public VideoEncoderFFMPEG
|
||||
public:
|
||||
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;
|
||||
void PresentImage(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf) override;
|
||||
|
||||
protected:
|
||||
void PushFrame(bool idr, std::chrono::steady_clock::time_point pts) override;
|
||||
|
||||
Reference in New Issue
Block a user