summaryrefslogtreecommitdiff
path: root/va
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2010-07-26 10:23:34 +0800
committerAustin Yuan <shengquan.yuan@gmail.com>2010-07-26 10:23:34 +0800
commit923238f0b323ac934134a899c0907fd8674b5908 (patch)
treeab78fe5c6e448e51b2b240545a808284b456e1a2 /va
parent2224d4c74fd098d1d6c29066eb99ded8f5967d08 (diff)
downloadlibva-923238f0b323ac934134a899c0907fd8674b5908.tar.gz
remove VADisplayAttribCSC* which is duplicated, and add VADisplayAttribCSCMatrix for customized CSC matrix
Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
Diffstat (limited to 'va')
-rw-r--r--va/va.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/va/va.h b/va/va.h
index e350f74..76c5708 100644
--- a/va/va.h
+++ b/va/va.h
@@ -1721,6 +1721,9 @@ typedef enum
* then the value for this attribute will be set to 1 so that the client
* will not attempt to re-use the surface right after returning from a call
* to PutSurface.
+ *
+ * Don't use it, use flag VASurfaceDisplaying of vaQuerySurfaceStatus since
+ * driver may use overlay or GPU alternatively
*/
VADisplayAttribDirectSurface = 5,
VADisplayAttribRotation = 6,
@@ -1731,11 +1734,11 @@ typedef enum
VADisplayAttribBLEWhiteMode = 9,
VADisplayAttribBlueStretch = 10,
VADisplayAttribSkinColorCorrection = 11,
- VADisplayAttribCSCInputColorFormat = 12,
- VADisplayAttribCSCHue = 13,
- VADisplayAttribCSCSaturation = 14,
- VADisplayAttribCSCBrightness = 15,
- VADisplayAttribCSCContrast = 16,
+ /*
+ * For type VADisplayAttribCSCMatrix, "value" field is a pointer to the color
+ * conversion matrix. Each element in the matrix is float-point
+ */
+ VADisplayAttribCSCMatrix = 12
} VADisplayAttribType;
/* flags for VADisplayAttribute */