VAStatus dummy_PutSurface(
VADriverContextP ctx,
VASurfaceID surface,
- Drawable draw, /* X Drawable */
+ void *draw, /* X Drawable */
short srcx,
short srcy,
unsigned short srcw,
)
{
/* TODO */
+ Drawable drawable = (Drawable)draw;
+
+ (void)drawable;
+
return VA_STATUS_ERROR_UNKNOWN;
}
* 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,
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 */