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 {
#define VA_PADDING_LOW
Definition: va.h:360
unsigned int VAGenericID
Definition: va.h:1557
VAGenericID VABufferID
Definition: va.h:2019
void * VADisplay
Definition: va.h:260
VAGenericID VAProtectedSessionID
Definition: va_prot.h:402
VA_TEE_EXECUTE_FUNCTION_ID
TEE Execucte Function ID.
Definition: va_prot.h:405
VAStatus vaProtectedSessionExecute(VADisplay dpy, VAProtectedSessionID protected_session, VABufferID buf_id)
Execute provides a general mechanism for TEE client tasks execution.
VAStatus vaDestroyProtectedSession(VADisplay dpy, VAProtectedSessionID protected_session)
Destroy a protected session.
VAStatus vaAttachProtectedSession(VADisplay dpy, VAGenericID id, VAProtectedSessionID protected_session)
Attach a protected content session to VA context.
VAStatus vaDetachProtectedSession(VADisplay dpy, VAGenericID id)
Detach the protected content session from the VA context.
VAStatus vaCreateProtectedSession(VADisplay dpy, VAConfigID config_id, VAProtectedSessionID *protected_session)
Create a protected session.
Input/Output buffer of VAProtectedSessionExecuteBuffer.
Definition: va_prot.h:412
Buffer for vaProtectedSessionExecute()
Definition: va_prot.h:433
uint32_t status
Return the result of this function. The status result is IHV's implementation specific.
Definition: va_prot.h:443
uint64_t vtag
vtag represents TEE sandbox identification for multiple playback scenario
Definition: va_prot.h:452
VAProtectedSessionBuffer output
Output buffer.
Definition: va_prot.h:440
VAProtectedSessionBuffer input
Input buffer.
Definition: va_prot.h:438
uint32_t function_id
Specify the function to execute. It is IHV's implementation specific.
Definition: va_prot.h:436