diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-01-05 19:10:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-01-05 19:10:42 +0000 |
commit | e9effafdf929571275dfd9efd30af7806bec1704 (patch) | |
tree | ed6973adff4fd84acb54da51c2014f695d0038fa /postproc/postprocess.h | |
parent | f7b47594dca27fffed9d0314ac09ffc1316514b5 (diff) | |
download | ffmpeg-e9effafdf929571275dfd9efd30af7806bec1704.tar.gz |
YUV 411/422/444 support for pp
Originally committed as revision 8806 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/postprocess.h')
-rw-r--r-- | postproc/postprocess.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/postproc/postprocess.h b/postproc/postprocess.h index 929cf3afbe..6726fca0b2 100644 --- a/postproc/postprocess.h +++ b/postproc/postprocess.h @@ -43,11 +43,17 @@ void pp_postprocess(uint8_t * src[3], int srcStride[3], 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 |