summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-13 15:38:19 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-13 15:38:19 +0000
commitc1e14c6cb310cccdd88da45283b51c8c4d72ec4e (patch)
treee3aca34c519cd5edd5df0f46a2b92b918ff0fdef
parent40dfa00c7db6634b86bf5a14d158808f18909a75 (diff)
downloadmpv-c1e14c6cb310cccdd88da45283b51c8c4d72ec4e.tar.bz2
mpv-c1e14c6cb310cccdd88da45283b51c8c4d72ec4e.tar.xz
small changes for mplayer integration:
- getModeForQuality -> getPpModeForQuality renamed - #define POSTPROCESS_H -> NEWPOSTPROCESS_H (to avoid conflicts) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2187 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--postproc/postprocess.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/postproc/postprocess.h b/postproc/postprocess.h
index c0798c4a90..63277e8c69 100644
--- a/postproc/postprocess.h
+++ b/postproc/postprocess.h
@@ -16,9 +16,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
-#ifndef POSTPROCESS_H
-#define POSTPROCESS_H
+// POSTPROCESS_H is defined by opendivx's postprocess.h
+#ifndef NEWPOSTPROCESS_H
+#define NEWPOSTPROCESS_H
#define BLOCK_SIZE 8
#define TEMP_STRIDE 8
@@ -66,8 +66,8 @@
//#ifdef __cplusplus
//#include <inttypes.h>
-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);
+//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);
//#endif
//#ifdef __cplusplus
@@ -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,
unsigned char * dst[], int dst_stride,
int horizontal_size, int vertical_size,
- QP_STORE_T *QP_store, int QP_stride,
- int mode);
-
-int getModeForQuality(int quality);
+ QP_STORE_T *QP_store, int QP_stride, int mode);
+int getPpModeForQuality(int quality);
//#ifdef __cplusplus
//}
//#endif
+#define GET_PP_QUALITY_MAX 6
#endif