summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libswscale/swscale.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 35db84cdef..026146ef41 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -165,6 +165,11 @@ SwsVector *sws_getIdentityVec(void);
* Scales all the coefficients of \p a by the \p scalar value.
*/
void sws_scaleVec(SwsVector *a, double scalar);
+
+/**
+ * Scales all the coefficients of \p a so that their sum equals \p
+ * height."
+ */
void sws_normalizeVec(SwsVector *a, double height);
void sws_convVec(SwsVector *a, SwsVector *b);
void sws_addVec(SwsVector *a, SwsVector *b);