summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-10 23:32:16 +0000
committerstefano <stefano@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-10 23:32:16 +0000
commit6ea82ed46c3c42ae002f31c1018af41b30aecdbb (patch)
tree63c0c1586bbe652c403cc1986144e890f29e1369 /libswscale
parent2bf95acee3ba1a369522494ef6719bd777a08767 (diff)
downloadmpv-6ea82ed46c3c42ae002f31c1018af41b30aecdbb.tar.bz2
mpv-6ea82ed46c3c42ae002f31c1018af41b30aecdbb.tar.xz
Document sws_getConstVec().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28524 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to '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 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);