Go to the documentation of this file.
21 #ifndef POSTPROC_POSTPROCESS_H
22 #define POSTPROC_POSTPROCESS_H
54 #define PP_QUALITY_MAX 6
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,
72 const int8_t *QP_store,
int QP_stride,
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)
99 #define PP_FORMAT_440 (0x00000010|PP_FORMAT)
101 #define PP_PICT_TYPE_QP2 0x00000010
pp_mode * pp_get_mode_by_name_and_quality(const char *name, int quality)
Return a pp_mode or NULL if an error occurred.
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option name
unsigned postproc_version(void)
Return the LIBPOSTPROC_VERSION_INT constant.
trying all byte sequences megabyte in length and selecting the best looking sequence will yield cases to try But a word about quality
void pp_free_context(pp_context *ppContext)
void pp_free_mode(pp_mode *mode)
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 int8_t *QP_store, int QP_stride, pp_mode *mode, pp_context *ppContext, int pict_type)
pp_context * pp_get_context(int width, int height, int flags)
const char * postproc_license(void)
Return the libpostproc license.
const char *const pp_help
a simple help text
const char * postproc_configuration(void)
Return the libpostproc build-time configuration.
#define flags(name, subs,...)