[FFmpeg-cvslog] sws: more complete doxy for sws_setColorspaceDetails()

Michael Niedermayer git at videolan.org
Wed Jul 18 21:28:52 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jul 18 21:22:05 2012 +0200| [c66978e29ad9cae2c71da83857c6a3cec11bb9cb] | committer: Michael Niedermayer

sws: more complete doxy for sws_setColorspaceDetails()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c66978e29ad9cae2c71da83857c6a3cec11bb9cb
---

 libswscale/swscale.h |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 2b3fc5c..ba78180 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -212,7 +212,13 @@ int sws_scale(struct SwsContext *c, const uint8_t *const srcSlice[],
               uint8_t *const dst[], const int dstStride[]);
 
 /**
- * @param inv_table the yuv2rgb coefficients, normally ff_yuv2rgb_coeffs[x]
+ * @param dstRange flag indicating the while-black range of the output (1=jpeg / 0=mpeg)
+ * @param srcRange flag indicating the while-black range of the input (1=jpeg / 0=mpeg)
+ * @param table the yuv2rgb coefficients describing the output yuv space, normally ff_yuv2rgb_coeffs[x]
+ * @param inv_table the yuv2rgb coefficients describing the input yuv space, normally ff_yuv2rgb_coeffs[x]
+ * @param brightness 16.16 fixed point brightness correction
+ * @param contrast 16.16 fixed point contrast correction
+ * @param saturation 16.16 fixed point saturation correction
  * @return -1 if not supported
  */
 int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],



More information about the ffmpeg-cvslog mailing list