From a26b51cd4a6261f2244a06f975df954f4d5def68 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 14 Feb 2009 19:37:13 +0000 Subject: [PATCH] Document sws_normalizeVec(). Originally committed as revision 28565 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.h | 5 +++++ 1 file changed, 5 insertions(+) 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);