class Mux;
class QSurface;
class QSurfaceFormat;
+class YCbCrConverter;
class VideoStream {
public:
std::string stream_mux_header;
bool seen_sync_markers = false;
- QSurface *gl_surface;
-
- // Effectively only converts from 4:2:2 to 4:4:4.
- // TODO: Have a separate version with ResampleEffect, for scaling?
- std::unique_ptr<movit::EffectChain> ycbcr_convert_chain;
-
- movit::YCbCrInput *ycbcr_input;
- movit::YCbCrFormat ycbcr_format;
+ std::unique_ptr<YCbCrConverter> ycbcr_converter;
// Frame interpolation.
std::unique_ptr<DISComputeFlow> compute_flow;