summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 14:20:05 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-02 14:20:05 +0000
commit1aaf1516e8c580e7c4584e9c02746eeff1d97902 (patch)
treececa9887c48f757e94e92da29a046e6bd722a1c3 /postproc
parent5ec4e44b18688d0faae38a6b8bfaf571d70fcc36 (diff)
downloadmpv-1aaf1516e8c580e7c4584e9c02746eeff1d97902.tar.bz2
mpv-1aaf1516e8c580e7c4584e9c02746eeff1d97902.tar.xz
cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8041 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/postprocess.c7
-rw-r--r--postproc/postprocess.h9
2 files changed, 8 insertions, 8 deletions
diff --git a/postproc/postprocess.c b/postproc/postprocess.c
index 3a9d1c0e32..93604e419b 100644
--- a/postproc/postprocess.c
+++ b/postproc/postprocess.c
@@ -518,11 +518,6 @@ char *pp_help=
"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 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality)
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];
diff --git a/postproc/postprocess.h b/postproc/postprocess.h
index c473176d3e..929cf3afbe 100644
--- a/postproc/postprocess.h
+++ b/postproc/postprocess.h
@@ -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 @@ void pp_postprocess(uint8_t * src[3], int srcStride[3],
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);