]> git.sesse.net Git - movit/blobdiff - util.h
Add an effect for 4:2:2 interleaved YCbCr input (UYVY).
[movit] / util.h
diff --git a/util.h b/util.h
index f57af77691befa0afa80bb943f7d11a6e54aeadd..e102f2115612ede741798f86e58fec3a718622a4 100644 (file)
--- a/util.h
+++ b/util.h
@@ -38,7 +38,8 @@ void print_3x3_matrix(const Eigen::Matrix3d &m);
 // Output a GLSL 3x3 matrix declaration.
 std::string output_glsl_mat3(const std::string &name, const Eigen::Matrix3d &m);
 
-// Output GLSL 2-length and 3-length vector declarations.
+// Output GLSL scalar, 2-length and 3-length vector declarations.
+std::string output_glsl_float(const std::string &name, float x);
 std::string output_glsl_vec2(const std::string &name, float x, float y);
 std::string output_glsl_vec3(const std::string &name, float x, float y, float z);