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 {
467 VAProtectedSessionID *protected_session);
478 VAProtectedSessionID protected_session);
491 VAProtectedSessionID protected_session);
516 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
uint64_t vtag
vtag represents TEE sandbox identification for multiple playback scenario
Definition: va_prot.h:452
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:1977
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:359
VA_TEE_EXECUTE_FUNCTION_ID
TEE Execucte Function ID.
Definition: va_prot.h:405
unsigned int VAGenericID
Definition: va.h:1538
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:259