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

Implement swscale_version().

Originally committed as revision 27492 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Stefano Sabatini 2008-08-29 18:23:54 +00:00
parent 0769649711
commit b3e03fa7b0
2 changed files with 11 additions and 1 deletions

View File

@ -73,6 +73,11 @@ untested special converters
#include "libavutil/x86_cpu.h"
#include "libavutil/bswap.h"
unsigned swscale_version(void)
{
return LIBSWSCALE_VERSION_INT;
}
#undef MOVNTQ
#undef PAVGB

View File

@ -30,7 +30,7 @@
#include "libavutil/avutil.h"
#define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 5
#define LIBSWSCALE_VERSION_MINOR 6
#define LIBSWSCALE_VERSION_MICRO 1
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
@ -43,6 +43,11 @@
#define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
/**
* Returns the LIBSWSCALE_VERSION_INT constant.
*/
unsigned swscale_version(void);
/* values for the flags, the stuff on the command line is different */
#define SWS_FAST_BILINEAR 1
#define SWS_BILINEAR 2