summaryrefslogtreecommitdiff
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-10 23:32:16 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-10 23:32:16 +0000
commitc326825e51d533bc7fcf3cb7279ed2be774affea (patch)
tree7474cf4ece629975f2399ca94cc8b4296204098b /libswscale/swscale.h
parentb954b34a6d601d7b2ae3ad1419cb68704095e561 (diff)
Document sws_getConstVec().
Originally committed as revision 28524 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index dbc1cd5c0e..a20b5e2159 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -130,6 +130,11 @@ int sws_scale_ordered(struct SwsContext *context, uint8_t* src[], int srcStride[
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation);
int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, int *srcRange, int **table, int *dstRange, int *brightness, int *contrast, int *saturation);
SwsVector *sws_getGaussianVec(double variance, double quality);
+
+/**
+ * Allocates and returns a vector with \p lenght coefficients, all
+ * with the same value \p c.
+ */
SwsVector *sws_getConstVec(double c, int length);
SwsVector *sws_getIdentityVec(void);
void sws_scaleVec(SwsVector *a, double scalar);