]> git.sesse.net Git - nageru/blobdiff - futatabi/ycbcr_converter.h
Fix a 1280x720 hardcoding, replacing it by another one.
[nageru] / futatabi / ycbcr_converter.h
index 459377c3f19103134db8145ed65d049b0f28e496..4618f1e9d51bee6fb0e41b4f63b75f3a6ad05567 100644 (file)
@@ -30,7 +30,7 @@ public:
        movit::EffectChain *prepare_chain_for_fade(std::shared_ptr<Frame> frame, std::shared_ptr<Frame> secondary_frame, float fade_alpha);
 
        // <tex> must be interleaved Y'CbCr.
-       movit::EffectChain *prepare_chain_for_fade_from_texture(GLuint tex, std::shared_ptr<Frame> secondary_frame, float fade_alpha);
+       movit::EffectChain *prepare_chain_for_fade_from_texture(GLuint tex, unsigned width, unsigned height, std::shared_ptr<Frame> secondary_frame, float fade_alpha);
 
 private:
        movit::YCbCrFormat ycbcr_format;