Commit 923238f0 authored by Austin Yuan's avatar Austin Yuan

remove VADisplayAttribCSC* which is duplicated, and add...

remove VADisplayAttribCSC* which is duplicated, and add VADisplayAttribCSCMatrix for customized CSC matrix
Signed-off-by: default avatarAustin Yuan <shengquan.yuan@gmail.com>
parent 2224d4c7
...@@ -1040,7 +1040,7 @@ VAStatus dummy_QuerySurfaceStatus( ...@@ -1040,7 +1040,7 @@ VAStatus dummy_QuerySurfaceStatus(
VAStatus dummy_PutSurface( VAStatus dummy_PutSurface(
VADriverContextP ctx, VADriverContextP ctx,
VASurfaceID surface, VASurfaceID surface,
Drawable draw, /* X Drawable */ void *draw, /* X Drawable */
short srcx, short srcx,
short srcy, short srcy,
unsigned short srcw, unsigned short srcw,
...@@ -1055,6 +1055,10 @@ VAStatus dummy_PutSurface( ...@@ -1055,6 +1055,10 @@ VAStatus dummy_PutSurface(
) )
{ {
/* TODO */ /* TODO */
Drawable drawable = (Drawable)draw;
(void)drawable;
return VA_STATUS_ERROR_UNKNOWN; return VA_STATUS_ERROR_UNKNOWN;
} }
......
...@@ -1721,6 +1721,9 @@ typedef enum ...@@ -1721,6 +1721,9 @@ typedef enum
* then the value for this attribute will be set to 1 so that the client * 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 * will not attempt to re-use the surface right after returning from a call
* to PutSurface. * to PutSurface.
*
* Don't use it, use flag VASurfaceDisplaying of vaQuerySurfaceStatus since
* driver may use overlay or GPU alternatively
*/ */
VADisplayAttribDirectSurface = 5, VADisplayAttribDirectSurface = 5,
VADisplayAttribRotation = 6, VADisplayAttribRotation = 6,
...@@ -1731,11 +1734,11 @@ typedef enum ...@@ -1731,11 +1734,11 @@ typedef enum
VADisplayAttribBLEWhiteMode = 9, VADisplayAttribBLEWhiteMode = 9,
VADisplayAttribBlueStretch = 10, VADisplayAttribBlueStretch = 10,
VADisplayAttribSkinColorCorrection = 11, VADisplayAttribSkinColorCorrection = 11,
VADisplayAttribCSCInputColorFormat = 12, /*
VADisplayAttribCSCHue = 13, * For type VADisplayAttribCSCMatrix, "value" field is a pointer to the color
VADisplayAttribCSCSaturation = 14, * conversion matrix. Each element in the matrix is float-point
VADisplayAttribCSCBrightness = 15, */
VADisplayAttribCSCContrast = 16, VADisplayAttribCSCMatrix = 12
} VADisplayAttribType; } VADisplayAttribType;
/* flags for VADisplayAttribute */ /* flags for VADisplayAttribute */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment