diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2010-12-27 16:32:21 -0600 |
commit | af40e14ce335fa689d1a989feba3c02a8c71b7a7 (patch) | |
tree | 90ce1d53eb63627d90ec7f081b680a66c92e8705 /meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch | |
parent | ba8b8a99fd1598d0ce2cbaa69e9d16358d1ff5db (diff) | |
download | meta-intel-af40e14ce335fa689d1a989feba3c02a8c71b7a7.tar.gz |
meta-emenlow: move to meta-intel repo from poky repo
This is the meta-emenlow layer, moved from the poky repo in order to
keep all the meta-intel BSPs together.
This version builds against laverne (0.90) - detailed build
instruction can be found in the README file.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch')
-rw-r--r-- | meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch new file mode 100644 index 00000000..f00c52ca --- /dev/null +++ b/meta-emenlow/recipes-graphics/libva/libva-0.31.0/320_move_vaPutSurface_flags_def.patch | |||
@@ -0,0 +1,60 @@ | |||
1 | commit c682fb5ebd1964638f90590f66edf49629e7481d | ||
2 | Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | ||
3 | Date: Fri Aug 21 11:34:50 2009 +0000 | ||
4 | |||
5 | Move vaPutSurface() flags to <va/va.h> header. | ||
6 | |||
7 | diff --git a/src/va.h b/src/va.h | ||
8 | index 0519f6f..6b4bbd4 100755 | ||
9 | --- a/src/va.h | ||
10 | +++ b/src/va.h | ||
11 | @@ -127,6 +127,22 @@ typedef int VAStatus; /* Return status type from functions */ | ||
12 | #define VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED 0x00000013 | ||
13 | #define VA_STATUS_ERROR_UNKNOWN 0xFFFFFFFF | ||
14 | |||
15 | +/* De-interlacing flags for vaPutSurface() */ | ||
16 | +#define VA_FRAME_PICTURE 0x00000000 | ||
17 | +#define VA_TOP_FIELD 0x00000001 | ||
18 | +#define VA_BOTTOM_FIELD 0x00000002 | ||
19 | + | ||
20 | +/* | ||
21 | + * Clears the drawable with background color. | ||
22 | + * for hardware overlay based implementation this flag | ||
23 | + * can be used to turn off the overlay | ||
24 | + */ | ||
25 | +#define VA_CLEAR_DRAWABLE 0x00000008 | ||
26 | + | ||
27 | +/* Color space conversion flags for vaPutSurface() */ | ||
28 | +#define VA_SRC_BT601 0x00000010 | ||
29 | +#define VA_SRC_BT709 0x00000020 | ||
30 | + | ||
31 | /* | ||
32 | * Returns a short english description of error_status | ||
33 | */ | ||
34 | diff --git a/src/x11/va_x11.h b/src/x11/va_x11.h | ||
35 | index 2171ac6..5ab5200 100644 | ||
36 | --- a/src/x11/va_x11.h | ||
37 | +++ b/src/x11/va_x11.h | ||
38 | @@ -27,22 +27,6 @@ VADisplay vaGetDisplay ( | ||
39 | * color space conversion and scaling to the destination | ||
40 | * rectangle | ||
41 | */ | ||
42 | -/* de-interlacing flags for vaPutSurface */ | ||
43 | -#define VA_FRAME_PICTURE 0x00000000 | ||
44 | -#define VA_TOP_FIELD 0x00000001 | ||
45 | -#define VA_BOTTOM_FIELD 0x00000002 | ||
46 | - | ||
47 | -/* | ||
48 | - * clears the drawable with background color. | ||
49 | - * for hardware overlay based implementation this flag | ||
50 | - * can be used to turn off the overlay | ||
51 | - */ | ||
52 | -#define VA_CLEAR_DRAWABLE 0x00000008 | ||
53 | - | ||
54 | -/* color space conversion flags for vaPutSurface */ | ||
55 | -#define VA_SRC_BT601 0x00000010 | ||
56 | -#define VA_SRC_BT709 0x00000020 | ||
57 | - | ||
58 | VAStatus vaPutSurface ( | ||
59 | VADisplay dpy, | ||
60 | VASurfaceID surface, | ||