aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-10 23:45:50 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-02-10 23:45:50 +0000
commit6d3cf67c2a287ffeea65e3f4b1ed0981bdfd293a (patch)
tree5b8f68f5a07a0eebecdddda806a491a15fb9d5c4 /libswscale
parent89b746473278094732211045062101ef06c8c716 (diff)
downloadffmpeg-6d3cf67c2a287ffeea65e3f4b1ed0981bdfd293a.tar.gz
Move sws_getGaussianVec() documentation from swscale.c to swscale.h.
Originally committed as revision 28528 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c4
-rw-r--r--libswscale/swscale.h5
2 files changed, 5 insertions, 4 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 11c2a4f681..586715eacd 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -2885,10 +2885,6 @@ SwsFilter *sws_getDefaultFilter(float lumaGBlur, float chromaGBlur,
return filter;
}
-/**
- * Returns a normalized Gaussian curve used to filter stuff
- * quality=3 is high quality, lower is lower quality.
- */
SwsVector *sws_getGaussianVec(double variance, double quality){
const int length= (int)(variance*quality + 0.5) | 1;
int i;
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index f4bbb872db..5fc5ed6e95 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -129,6 +129,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);
+
+/**
+ * Returns a normalized Gaussian curve used to filter stuff
+ * quality=3 is high quality, lower is lower quality.
+ */
SwsVector *sws_getGaussianVec(double variance, double quality);
/**