Mercurial > libavcodec.hg
diff libpostproc/postprocess.h @ 830:0a1fbae9f6e1 libavcodec
cleanup
author | michael |
---|---|
date | Sat, 02 Nov 2002 14:20:05 +0000 |
parents | c39e14fc2392 |
children | 8a95bda80fdc |
line wrap: on
line diff
--- a/libpostproc/postprocess.h Sat Nov 02 13:58:14 2002 +0000 +++ b/libpostproc/postprocess.h Sat Nov 02 14:20:05 2002 +0000 @@ -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);