21 #ifndef POSTPROC_POSTPROCESS_H
22 #define POSTPROC_POSTPROCESS_H
35 #include "libpostproc/version.h"
52 #define PP_QUALITY_MAX 6
54 #define QP_STORE_T int8_t
61 #if LIBPOSTPROC_VERSION_INT < (52<<16)
64 extern const char *
const pp_help;
70 uint8_t * dst[3],
const int dstStride[3],
71 int horizontalSize,
int verticalSize,
88 #define PP_CPU_CAPS_MMX 0x80000000
89 #define PP_CPU_CAPS_MMX2 0x20000000
90 #define PP_CPU_CAPS_3DNOW 0x40000000
91 #define PP_CPU_CAPS_ALTIVEC 0x10000000
92 #define PP_CPU_CAPS_AUTO 0x00080000
94 #define PP_FORMAT 0x00000008
95 #define PP_FORMAT_420 (0x00000011|PP_FORMAT)
96 #define PP_FORMAT_422 (0x00000001|PP_FORMAT)
97 #define PP_FORMAT_411 (0x00000002|PP_FORMAT)
98 #define PP_FORMAT_444 (0x00000000|PP_FORMAT)
100 #define PP_PICT_TYPE_QP2 0x00000010
void pp_free_context(pp_context *ppContext)
pp_context * pp_get_context(int width, int height, int flags)
unsigned postproc_version(void)
Return the LIBPOSTPROC_VERSION_INT constant.
const char *const pp_help
a simple help text
pp_mode * pp_get_mode_by_name_and_quality(const char *name, int quality)
Return a pp_mode or NULL if an error occurred.
const char * postproc_license(void)
Return the libpostproc license.
void pp_free_mode(pp_mode *mode)
BYTE int const BYTE int int int height
const char * postproc_configuration(void)
Return the libpostproc build-time configuration.
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, pp_mode *mode, pp_context *ppContext, int pict_type)