[Mplayer-cvslog] CVS: main/postproc postprocess.c,1.71,1.72 postprocess.h,1.31,1.32

Michael Niedermayer michael at mplayerhq.hu
Sat Nov 2 15:20:08 CET 2002


Update of /cvsroot/mplayer/main/postproc
In directory mail:/var/tmp.root/cvs-serv3904/postproc

Modified Files:
	postprocess.c postprocess.h 
Log Message:
cleanup


Index: postprocess.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- postprocess.c	2 Nov 2002 13:58:14 -0000	1.71
+++ postprocess.c	2 Nov 2002 14:20:05 -0000	1.72
@@ -518,11 +518,6 @@
 "fq	forceQuant	<quantizer>		Force quantizer\n"
 ;
 
-/**
- * returns a PPMode struct which will have a non 0 error variable if an error occured
- * name is the string after "-pp" on the command line
- * quality is a number from 0 to GET_PP_QUALITY_MAX
- */
 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
 {
 	char temp[GET_MODE_BUFFER_SIZE];
@@ -553,7 +548,7 @@
 
 	for(;;){
 		char *filterName;
-		int q= 1000000; //GET_PP_QUALITY_MAX;
+		int q= 1000000; //PP_QUALITY_MAX;
 		int chrom=-1;
 		char *option;
 		char *options[OPTIONS_ARRAY_SIZE];

Index: postprocess.h
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/postprocess.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- postprocess.h	2 Nov 2002 13:58:14 -0000	1.31
+++ postprocess.h	2 Nov 2002 14:20:05 -0000	1.32
@@ -19,7 +19,7 @@
 #ifndef NEWPOSTPROCESS_H
 #define NEWPOSTPROCESS_H
 
-#define GET_PP_QUALITY_MAX 6
+#define PP_QUALITY_MAX 6
 
 #define QP_STORE_T int8_t
 
@@ -34,7 +34,12 @@
                  QP_STORE_T *QP_store,  int QP_stride,
 		 pp_mode_t *mode, pp_context_t *ppContext, int pict_type);
 
-// name is the stuff after "-pp" on the command line
+
+/**
+ * returns a pp_mode_t or NULL if an error occured
+ * name is the string after "-pp" on the command line
+ * quality is a number from 0 to PP_QUALITY_MAX
+ */
 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality);
 void pp_free_mode(pp_mode_t *mode);
 




More information about the MPlayer-cvslog mailing list