X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=ycbcr_conversion_effect.h;h=f57e5fa5f399a0457227838ebe43ffd23864fba4;hp=ab31fd67233156001e1055ca7147f7ce9e57d2a2;hb=425d68dcbdd681ad3157000360521e8f36eb6c4c;hpb=e8499e3e9892a74c7882af4be14ccdc1e3d92c2b diff --git a/ycbcr_conversion_effect.h b/ycbcr_conversion_effect.h index ab31fd6..f57e5fa 100644 --- a/ycbcr_conversion_effect.h +++ b/ycbcr_conversion_effect.h @@ -18,7 +18,7 @@ class YCbCrConversionEffect : public Effect { private: // Should not be instantiated by end users; // call EffectChain::add_ycbcr_output() instead. - YCbCrConversionEffect(const YCbCrFormat &ycbcr_format); + YCbCrConversionEffect(const YCbCrFormat &ycbcr_format, GLenum type); friend class EffectChain; public: @@ -36,6 +36,7 @@ public: private: YCbCrFormat ycbcr_format; + GLenum type; Eigen::Matrix3d uniform_ycbcr_matrix; float uniform_offset[3];