summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFei Jiang <fei.jiang@intel.com>2010-10-18 17:30:53 +0800
committerFei Jiang <fei.jiang@intel.com>2010-10-18 17:30:53 +0800
commit825b15b3ddd74e090a87a4f9cfe2bda499db3a4f (patch)
treead7aac00d4ebaa26c83586321ff778b4e1e0d8c6
parent0477116931e16ab7b0682bebf7b0cef095114266 (diff)
downloadlibva-825b15b3ddd74e090a87a4f9cfe2bda499db3a4f.tar.gz
Add more comments for the cisco's positioning, cropping, blend and fade in/out effect.
-rw-r--r--va/va.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/va/va.h b/va/va.h
index fa69c64..f5b123f 100644
--- a/va/va.h
+++ b/va/va.h
@@ -137,6 +137,12 @@ typedef int VAStatus; /* Return status type from functions */
#define VA_TOP_FIELD 0x00000001
#define VA_BOTTOM_FIELD 0x00000002
+/*
+ * Enabled the positioning/cropping/blending feature:
+ * 1, specify the video playback position in the isurface
+ * 2, specify the cropping info for video playback
+ * 3, encoded video will blend with background color
+ */
#define VA_ENBLE_BLEND 0x00000004 /* video area blend with the constant color */
/*
@@ -144,7 +150,7 @@ typedef int VAStatus; /* Return status type from functions */
* for hardware overlay based implementation this flag
* can be used to turn off the overlay
*/
-#define VA_CLEAR_DRAWABLE 0x00000008
+#define VA_CLEAR_DRAWABLE 0x00000008
/* Color space conversion flags for vaPutSurface() */
#define VA_SRC_BT601 0x00000010
@@ -1801,7 +1807,10 @@ typedef enum
VADisplayAttribContrast = 1,
VADisplayAttribHue = 2,
VADisplayAttribSaturation = 3,
- /* client can specifiy a background color for the target window */
+ /* client can specifiy a background color for the target window
+ * the new feature of video conference,
+ * the uncovered area of the surface is filled by this color
+ * also it will blend with the decoded video color*/
VADisplayAttribBackgroundColor = 4,
/*
* this is a gettable only attribute. For some implementations that use the