Commit c49ed351 authored by arpi's avatar arpi

small changes for mplayer integration:

- getModeForQuality -> getPpModeForQuality renamed
- #define POSTPROCESS_H -> NEWPOSTPROCESS_H  (to avoid conflicts)


git-svn-id: file:///var/local/repositories/mplayer/trunk/postproc@2187 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 31095093
...@@ -16,9 +16,9 @@ ...@@ -16,9 +16,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/ */
// POSTPROCESS_H is defined by opendivx's postprocess.h
#ifndef POSTPROCESS_H #ifndef NEWPOSTPROCESS_H
#define POSTPROCESS_H #define NEWPOSTPROCESS_H
#define BLOCK_SIZE 8 #define BLOCK_SIZE 8
#define TEMP_STRIDE 8 #define TEMP_STRIDE 8
...@@ -66,8 +66,8 @@ ...@@ -66,8 +66,8 @@
//#ifdef __cplusplus //#ifdef __cplusplus
//#include <inttypes.h> //#include <inttypes.h>
void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height, //void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int width, int height,
QP_STORE_T QPs[], int QPStride, int isColor, int mode); // QP_STORE_T QPs[], int QPStride, int isColor, int mode);
//#endif //#endif
//#ifdef __cplusplus //#ifdef __cplusplus
...@@ -77,13 +77,12 @@ void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int ...@@ -77,13 +77,12 @@ void postProcess(uint8_t src[], int srcStride, uint8_t dst[], int dstStride, int
void postprocess(unsigned char * src[], int src_stride, void postprocess(unsigned char * src[], int src_stride,
unsigned char * dst[], int dst_stride, unsigned char * dst[], int dst_stride,
int horizontal_size, int vertical_size, int horizontal_size, int vertical_size,
QP_STORE_T *QP_store, int QP_stride, QP_STORE_T *QP_store, int QP_stride, int mode);
int mode); int getPpModeForQuality(int quality);
int getModeForQuality(int quality);
//#ifdef __cplusplus //#ifdef __cplusplus
//} //}
//#endif //#endif
#define GET_PP_QUALITY_MAX 6
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment