X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ycbcr_conversion_effect.h;h=ce456ceda7ebe06b0653bbbd341ad245be5865b4;hb=39b6975420669958ed9f4013440aea415134a902;hp=f57e5fa5f399a0457227838ebe43ffd23864fba4;hpb=720873f02e01c2aba9ce53bb5c6bcbe887af27ce;p=movit diff --git a/ycbcr_conversion_effect.h b/ycbcr_conversion_effect.h index f57e5fa..ce456ce 100644 --- a/ycbcr_conversion_effect.h +++ b/ycbcr_conversion_effect.h @@ -22,11 +22,11 @@ private: friend class EffectChain; public: - virtual std::string effect_type_id() const { return "YCbCrConversionEffect"; } - std::string output_fragment_shader(); - void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num); - virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; } - virtual bool one_to_one_sampling() const { return true; } + std::string effect_type_id() const override { return "YCbCrConversionEffect"; } + std::string output_fragment_shader() override; + void set_gl_state(GLuint glsl_program_num, const std::string &prefix, unsigned *sampler_num) override; + AlphaHandling alpha_handling() const override { return DONT_CARE_ALPHA_TYPE; } + bool one_to_one_sampling() const override { return true; } // Should not be called by end users; call // EffectChain::change_ycbcr_output_format() instead.