Browse Source

Implement postproc_version().

Originally committed as revision 15148 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini 16 years ago
parent
commit
2a4a62bffc
2 changed files with 11 additions and 1 deletions
  1. +5
    -0
      libpostproc/postprocess.c
  2. +6
    -1
      libpostproc/postprocess.h

+ 5
- 0
libpostproc/postprocess.c View File

@@ -90,6 +90,11 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#include "postprocess.h"
#include "postprocess_internal.h"

unsigned postproc_version(void)
{
return LIBPOSTPROC_VERSION_INT;
}

#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif


+ 6
- 1
libpostproc/postprocess.h View File

@@ -30,7 +30,7 @@
#include "libavutil/avutil.h"

#define LIBPOSTPROC_VERSION_MAJOR 51
#define LIBPOSTPROC_VERSION_MINOR 1
#define LIBPOSTPROC_VERSION_MINOR 2
#define LIBPOSTPROC_VERSION_MICRO 0

#define LIBPOSTPROC_VERSION_INT AV_VERSION_INT(LIBPOSTPROC_VERSION_MAJOR, \
@@ -43,6 +43,11 @@

#define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)

/**
* Returns the LIBPOSTPROC_VERSION_INT constant.
*/
unsigned postproc_version(void);

#define PP_QUALITY_MAX 6

#define QP_STORE_T int8_t


Loading…
Cancel
Save