Mercurial > libavcodec.hg
diff libpostproc/postprocess.h @ 957:8a95bda80fdc libavcodec
YUV 411/422/444 support for pp
author | michael |
---|---|
date | Sun, 05 Jan 2003 19:10:42 +0000 |
parents | 0a1fbae9f6e1 |
children | 6ce55cd04783 |
line wrap: on
line diff
--- a/libpostproc/postprocess.h Sun Jan 05 17:59:26 2003 +0000 +++ b/libpostproc/postprocess.h Sun Jan 05 19:10:42 2003 +0000 @@ -43,11 +43,17 @@ pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality); void pp_free_mode(pp_mode_t *mode); -pp_context_t *pp_get_context(int width, int height, int cpuCaps); +pp_context_t *pp_get_context(int width, int height, int flags); void pp_free_context(pp_context_t *ppContext); #define PP_CPU_CAPS_MMX 0x80000000 #define PP_CPU_CAPS_MMX2 0x20000000 #define PP_CPU_CAPS_3DNOW 0x40000000 +#define PP_FORMAT 0x00000008 +#define PP_FORMAT_420 (0x00000011|PP_FORMAT) +#define PP_FORMAT_422 (0x00000001|PP_FORMAT) +#define PP_FORMAT_411 (0x00000002|PP_FORMAT) +#define PP_FORMAT_444 (0x00000000|PP_FORMAT) + #endif