diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-31 17:20:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-03-31 20:21:14 +0200 |
commit | 3b905b9fe611efb3282aa4c5c659e1870d91a83b (patch) | |
tree | 3554987ecd39985cc9a38c71a048f11428baf7ac /libswscale/swscale.h | |
parent | a677121cc568db7c101ebf3a797a779a983fc668 (diff) | |
download | ffmpeg-3b905b9fe611efb3282aa4c5c659e1870d91a83b.tar.gz |
swscale: Deprecate vector functions which are unused outside swscale
There are no known users of these functions within debian
It should be thus possible to remove these functions without recommandition of a
replacement
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 37 |
1 files changed, 10 insertions, 27 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h index da9dd2ea8f..8449948931 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -248,18 +248,6 @@ SwsVector *sws_allocVec(int length); SwsVector *sws_getGaussianVec(double variance, double quality); /** - * Allocate and return a vector with length coefficients, all - * with the same value c. - */ -SwsVector *sws_getConstVec(double c, int length); - -/** - * Allocate and return a vector with just one coefficient, with - * value 1.0. - */ -SwsVector *sws_getIdentityVec(void); - -/** * Scale all the coefficients of a by the scalar value. */ void sws_scaleVec(SwsVector *a, double scalar); @@ -268,22 +256,17 @@ void sws_scaleVec(SwsVector *a, double scalar); * Scale all the coefficients of a so that their sum equals height. */ void sws_normalizeVec(SwsVector *a, double height); -void sws_convVec(SwsVector *a, SwsVector *b); -void sws_addVec(SwsVector *a, SwsVector *b); -void sws_subVec(SwsVector *a, SwsVector *b); -void sws_shiftVec(SwsVector *a, int shift); -/** - * Allocate and return a clone of the vector a, that is a vector - * with the same coefficients as a. - */ -SwsVector *sws_cloneVec(SwsVector *a); - -/** - * Print with av_log() a textual representation of the vector a - * if log_level <= av_log_level. - */ -void sws_printVec2(SwsVector *a, AVClass *log_ctx, int log_level); +#if FF_API_SWS_VECTOR +attribute_deprecated SwsVector *sws_getConstVec(double c, int length); +attribute_deprecated SwsVector *sws_getIdentityVec(void); +attribute_deprecated void sws_convVec(SwsVector *a, SwsVector *b); +attribute_deprecated void sws_addVec(SwsVector *a, SwsVector *b); +attribute_deprecated void sws_subVec(SwsVector *a, SwsVector *b); +attribute_deprecated void sws_shiftVec(SwsVector *a, int shift); +attribute_deprecated SwsVector *sws_cloneVec(SwsVector *a); +attribute_deprecated void sws_printVec2(SwsVector *a, AVClass *log_ctx, int log_level); +#endif void sws_freeVec(SwsVector *a); |