X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=ycbcr_conversion_effect.h;h=752eb43934d5682f00651dc8ededb5626f07432c;hb=HEAD;hp=f57e5fa5f399a0457227838ebe43ffd23864fba4;hpb=f44c81569a268efea44f1f6df03a000711b18ffc;p=movit diff --git a/ycbcr_conversion_effect.h b/ycbcr_conversion_effect.h index f57e5fa..752eb43 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 strong_one_to_one_sampling() const override { return true; } // Should not be called by end users; call // EffectChain::change_ycbcr_output_format() instead.