comparison postprocess.h @ 82:f69ff6d3abe3 libpostproc

less preprocessor magic in version number macros
author mru
date Tue, 26 Feb 2008 20:37:59 +0000
parents 8d1245b4d7fb
children 7ed41146fb7e
comparison
equal deleted inserted replaced
81:8d1245b4d7fb 82:f69ff6d3abe3
27 * external api for the pp stuff 27 * external api for the pp stuff
28 */ 28 */
29 29
30 #include "libavutil/avutil.h" 30 #include "libavutil/avutil.h"
31 31
32 #define LIBPOSTPROC_VERSION_TRIPLET 51,1,0 32 #define LIBPOSTPROC_VERSION_MAJOR 51
33 #define LIBPOSTPROC_VERSION_MINOR 1
34 #define LIBPOSTPROC_VERSION_MICRO 0
33 35
34 #define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_TRIPLET) 36 #define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \
35 #define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_TRIPLET) 37 LIBPOSTPROC_VERSION_MINOR, \
38 LIBPOSTPROC_VERSION_MICRO)
39 #define LIBPOSTPROC_VERSION AV_VERSION(LIBPOSTPROC_VERSION_MAJOR, \
40 LIBPOSTPROC_VERSION_MINOR, \
41 LIBPOSTPROC_VERSION_MICRO)
36 #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT 42 #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT
37 43
38 #define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION) 44 #define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)
39 45
40 #define PP_QUALITY_MAX 6 46 #define PP_QUALITY_MAX 6