Revision 4407a3c4 postproc/postprocess.h

View differences:

postproc/postprocess.h
62 62
//filters on
63 63
//#define COMPILE_TIME_MODE 0x77
64 64

  
65
#define QP_STORE_T int
65
#define QP_STORE_T int8_t
66 66

  
67
char *pp_help;
67
typedef void pp_context;
68

  
69
extern char *pp_help;
68 70

  
69 71
//FIXME decide if this should be exported at all
70 72
typedef struct PPMode{
......
88 90
                 uint8_t * dst[3], int dstStride[3],
89 91
                 int horizontalSize, int verticalSize,
90 92
                 QP_STORE_T *QP_store,  int QP_stride,
91
		 PPMode *mode, void *ppContext, int pict_type);
93
		 PPMode *mode, pp_context *ppContext, int pict_type);
92 94

  
93 95
// name is the stuff after "-pp" on the command line
94 96
PPMode pp_get_mode_by_name_and_quality(char *name, int quality);
95 97

  
96
void *pp_get_context(int width, int height);
97
void pp_free_context(void *ppContext);
98
pp_context *pp_get_context(int width, int height);
99
void pp_free_context(pp_context *ppContext);
98 100

  
99 101
int pp_init(int cpuCaps);
100 102
#define PP_CPU_CAPS_MMX   0x80000000

Also available in: Unified diff