]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Remove C++11 dependency from ResampleEffect.
[movit] / effect_chain.h
index b753ad4de697c493fb7a4a7fa1338caf4393d8ab..cd0a19f4dcd3cbe4972f186a0f25e324bf692517 100644 (file)
@@ -294,6 +294,11 @@ public:
 
        // Set number of output bits, to scale the dither.
        // 8 is the right value for most outputs.
+       //
+       // Special note for 10- and 12-bit Y'CbCr packed into GL_UNSIGNED_SHORT:
+       // This is relative to the actual output, not the logical one, so you should
+       // specify 16 here, not 10 or 12.
+       //
        // The default, 0, is a special value that means no dither.
        void set_dither_bits(unsigned num_bits)
        {
@@ -438,7 +443,6 @@ private:
 
        // Execute one phase, ie. set up all inputs, effects and outputs, and render the quad.
        void execute_phase(Phase *phase, bool last_phase,
-                          std::set<GLint> *bound__attribute_indices,
                           std::map<Phase *, GLuint> *output_textures,
                           std::set<Phase *> *generated_mipmaps);