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

postproc: Deprecate QP_STORE_T, it lacks a PP/AV/FF prefix

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-08-09 23:44:59 +02:00
parent 0eb896b38d
commit 8c75a33812
2 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,9 @@ const char *postproc_license(void);
#define PP_QUALITY_MAX 6
#define QP_STORE_T int8_t
#if FF_API_QP_TYPE
#define QP_STORE_T int8_t //deprecated
#endif
#include <inttypes.h>
@ -69,7 +71,7 @@ extern const char pp_help[]; ///< a simple help text
void pp_postprocess(const uint8_t * src[3], const int srcStride[3],
uint8_t * dst[3], const int dstStride[3],
int horizontalSize, int verticalSize,
const QP_STORE_T *QP_store, int QP_stride,
const int8_t *QP_store, int QP_stride,
pp_mode *mode, pp_context *ppContext, int pict_type);

View File

@ -42,4 +42,8 @@
#define LIBPOSTPROC_IDENT "postproc" AV_STRINGIFY(LIBPOSTPROC_VERSION)
#ifndef FF_API_QP_TYPE
#define FF_API_QP_TYPE (LIBPOSTPROC_VERSION_MAJOR < 55)
#endif
#endif /* POSTPROC_POSTPROCESS_VERSION_H */