aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-14 19:37:13 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-14 19:37:13 +0000
commita26b51cd4a6261f2244a06f975df954f4d5def68 (patch)
treee5ef341e153534464348a6f70f5e5e95da1350e7
parenta1db3b93c094a42c017d3b0e3ce3b34cb350bcbb (diff)
downloadffmpeg-a26b51cd4a6261f2244a06f975df954f4d5def68.tar.gz
Document sws_normalizeVec().
Originally committed as revision 28565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-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);