aboutsummaryrefslogtreecommitdiffstats
path: root/postproc/postprocess.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-02 14:20:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-02 14:20:05 +0000
commit326d40af06bab832aea01ed2e12e8a869939eec8 (patch)
tree36b5ec045ef076cbd92904caa8500d6a82b5750b /postproc/postprocess.h
parentc41d972d9cb1bc7f256570734798b469c7139d77 (diff)
downloadffmpeg-326d40af06bab832aea01ed2e12e8a869939eec8.tar.gz
cleanup
Originally committed as revision 8041 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r--postproc/postprocess.h9
1 files changed, 7 insertions, 2 deletions
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);