comparison libpostproc/postprocess.h @ 98:eaae16507d9b libavcodec

final changes to convert to C
author michael
date Thu, 11 Oct 2001 23:28:58 +0000
parents e57b1d38d71f
children 4f072fa99ccf
comparison
equal deleted inserted replaced
97:e57b1d38d71f 98:eaae16507d9b
62 #define PAVGB(a,b) "pavgb " #a ", " #b " \n\t" 62 #define PAVGB(a,b) "pavgb " #a ", " #b " \n\t"
63 #elif defined (HAVE_3DNOW) 63 #elif defined (HAVE_3DNOW)
64 #define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t" 64 #define PAVGB(a,b) "pavgusb " #a ", " #b " \n\t"
65 #endif 65 #endif
66 66
67 #ifdef __cplusplus 67 //#ifdef __cplusplus
68 //#include <inttypes.h> 68 //#include <inttypes.h>
69 69
70 void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, 70 void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
71 QP_STORE_T QPs[], int QPStride, int isColor, int mode); 71 QP_STORE_T QPs[], int QPStride, int isColor, int mode);
72 #endif 72 //#endif
73 73
74 #ifdef __cplusplus 74 //#ifdef __cplusplus
75 extern "C" 75 //extern "C"
76 { 76 //{
77 #endif 77 //#endif
78 void postprocess(unsigned char * src[], int src_stride, 78 void postprocess(unsigned char * src[], int src_stride,
79 unsigned char * dst[], int dst_stride, 79 unsigned char * dst[], int dst_stride,
80 int horizontal_size, int vertical_size, 80 int horizontal_size, int vertical_size,
81 QP_STORE_T *QP_store, int QP_stride, 81 QP_STORE_T *QP_store, int QP_stride,
82 int mode); 82 int mode);
83 83
84 int getModeForQuality(int quality); 84 int getModeForQuality(int quality);
85 #ifdef __cplusplus 85 //#ifdef __cplusplus
86 } 86 //}
87 #endif 87 //#endif
88 88
89 89
90 #endif 90 #endif