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