# HG changeset patch # User stefano # Date 1234640233 0 # Node ID c86a4810a0f393d4d144a4c19476bee5a69289a8 # Parent 382a28dbafc679dadf28e9e0dde744b05666fa1d Document sws_normalizeVec(). diff -r 382a28dbafc6 -r c86a4810a0f3 libswscale/swscale.h --- a/libswscale/swscale.h Sat Feb 14 19:17:08 2009 +0000 +++ b/libswscale/swscale.h Sat Feb 14 19:37:13 2009 +0000 @@ -165,6 +165,11 @@ * 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);