swscale/swscale: Improve *ColorspaceDetails() doxy

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/373/head
Michael Niedermayer 3 years ago
parent 5f3a160b42
commit 8316b2a15f
  1. 8
      libswscale/swscale.h

@ -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,

Loading…
Cancel
Save