405 typedef enum _VA_TEE_EXEC_FUNCTION_ID {
406 VA_TEE_EXECUTE_FUNCTION_ID_PASS_THROUGH = 0x00000001,
407 VA_TEE_EXECUTE_FUNCTION_ID_GET_FIRMWARE_VERSION = 0x00000002,
412 typedef struct _VAProtectedSessionBuffer {
418 uint32_t max_data_size;
433 typedef struct _VAProtectedSessionExecuteBuffer {
457 VAProtectedSessionID *protected_session);
468 VAProtectedSessionID protected_session);
481 VAProtectedSessionID protected_session);
506 VAProtectedSessionID protected_session,
uint32_t function_id
Specify the function to execute. It is IHV's implementation specific.
Definition: va_prot.h:436
Buffer for vaProtectedSessionExecute()
Definition: va_prot.h:433
VAStatus vaDetachProtectedSession(VADisplay dpy, VAGenericID id)
Detach the protected content session from the VA context.
VAProtectedSessionBuffer output
Output buffer.
Definition: va_prot.h:440
VAGenericID VAProtectedSessionID
Definition: va_prot.h:402
Input/Output buffer of VAProtectedSessionExecuteBuffer.
Definition: va_prot.h:412
VAStatus vaCreateProtectedSession(VADisplay dpy, VAConfigID config_id, VAProtectedSessionID *protected_session)
Create a protected session.
VAStatus vaAttachProtectedSession(VADisplay dpy, VAGenericID id, VAProtectedSessionID protected_session)
Attach a protected content session to VA context.
VAGenericID VABufferID
Definition: va.h:1926
VAStatus vaProtectedSessionExecute(VADisplay dpy, VAProtectedSessionID protected_session, VABufferID buf_id)
Execute provides a general mechanism for TEE client tasks execution.
VAProtectedSessionBuffer input
Input buffer.
Definition: va_prot.h:438
VAStatus vaDestroyProtectedSession(VADisplay dpy, VAProtectedSessionID protected_session)
Destroy a protected session.
#define VA_PADDING_LOW
Definition: va.h:358
VA_TEE_EXECUTE_FUNCTION_ID
TEE Execucte Function ID.
Definition: va_prot.h:405
unsigned int VAGenericID
Definition: va.h:1487
uint32_t status
Return the result of this function. The status result is IHV's implementation specific.
Definition: va_prot.h:443
void * VADisplay
Definition: va.h:258