1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

swscale/swscale: Improve *ColorspaceDetails() doxy

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2021-10-23 10:06:09 +02:00
parent 5f3a160b42
commit 8316b2a15f

View File

@ -318,14 +318,22 @@ unsigned int sws_receive_slice_alignment(const struct SwsContext *c);
* @param brightness 16.16 fixed point brightness correction * @param brightness 16.16 fixed point brightness correction
* @param contrast 16.16 fixed point contrast correction * @param contrast 16.16 fixed point contrast correction
* @param saturation 16.16 fixed point saturation correction * @param saturation 16.16 fixed point saturation correction
#if LIBSWSCALE_VERSION_MAJOR > 6
* @return negative error code on error, non negative otherwise
#else
* @return -1 if not supported * @return -1 if not supported
#endif
*/ */
int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4], int sws_setColorspaceDetails(struct SwsContext *c, const int inv_table[4],
int srcRange, const int table[4], int dstRange, int srcRange, const int table[4], int dstRange,
int brightness, int contrast, int saturation); int brightness, int contrast, int saturation);
/** /**
#if LIBSWSCALE_VERSION_MAJOR > 6
* @return negative error code on error, non negative otherwise
#else
* @return -1 if not supported * @return -1 if not supported
#endif
*/ */
int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table, int sws_getColorspaceDetails(struct SwsContext *c, int **inv_table,
int *srcRange, int **table, int *dstRange, int *srcRange, int **table, int *dstRange,