comparison postproc/postprocess.h @ 8805:e547ce712577

YUV 411/422/444 support for pp
author michael
date Sun, 05 Jan 2003 19:10:42 +0000
parents 5241f95b5ec4
children f7be067d683e
comparison
equal deleted inserted replaced
8804:b233200c3fca 8805:e547ce712577
41 * quality is a number from 0 to PP_QUALITY_MAX 41 * quality is a number from 0 to PP_QUALITY_MAX
42 */ 42 */
43 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality); 43 pp_mode_t *pp_get_mode_by_name_and_quality(char *name, int quality);
44 void pp_free_mode(pp_mode_t *mode); 44 void pp_free_mode(pp_mode_t *mode);
45 45
46 pp_context_t *pp_get_context(int width, int height, int cpuCaps); 46 pp_context_t *pp_get_context(int width, int height, int flags);
47 void pp_free_context(pp_context_t *ppContext); 47 void pp_free_context(pp_context_t *ppContext);
48 48
49 #define PP_CPU_CAPS_MMX 0x80000000 49 #define PP_CPU_CAPS_MMX 0x80000000
50 #define PP_CPU_CAPS_MMX2 0x20000000 50 #define PP_CPU_CAPS_MMX2 0x20000000
51 #define PP_CPU_CAPS_3DNOW 0x40000000 51 #define PP_CPU_CAPS_3DNOW 0x40000000
52 52
53 #define PP_FORMAT 0x00000008
54 #define PP_FORMAT_420 (0x00000011|PP_FORMAT)
55 #define PP_FORMAT_422 (0x00000001|PP_FORMAT)
56 #define PP_FORMAT_411 (0x00000002|PP_FORMAT)
57 #define PP_FORMAT_444 (0x00000000|PP_FORMAT)
58
53 #endif 59 #endif