aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-02 14:47:34 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-14 04:09:49 +0200
commit96c1e6d40d389eeb628840030dfe340d762a7ac8 (patch)
treeb66be319363b96162dea4f44073eba331e652d07 /libswscale/utils.c
parent806212498ae6b333d0c85dbc9c750580da7c6838 (diff)
downloadffmpeg-96c1e6d40d389eeb628840030dfe340d762a7ac8.tar.gz
doxygen: Make sure parameter names match between .c and .h files.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r--libswscale/utils.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c
index 296c84557d..6647f68682 100644
--- a/libswscale/utils.c
+++ b/libswscale/utils.c
@@ -711,7 +711,9 @@ static void getSubSampleFactors(int *h, int *v, enum PixelFormat format)
*v = av_pix_fmt_descriptors[format].log2_chroma_h;
}
-int sws_setColorspaceDetails(SwsContext *c, const int inv_table[4], int srcRange, const int table[4], int dstRange, int brightness, int contrast, int saturation)
+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)
{
memcpy(c->srcColorspaceTable, inv_table, sizeof(int)*4);
memcpy(c->dstColorspaceTable, table, sizeof(int)*4);
@@ -734,7 +736,9 @@ int sws_setColorspaceDetails(SwsContext *c, const int inv_table[4], int srcRange
return 0;
}
-int sws_getColorspaceDetails(SwsContext *c, int **inv_table, int *srcRange, int **table, 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)
{
if (isYUV(c->dstFormat) || isGray(c->dstFormat)) return -1;