Skip to main content

vaAttachProtectedSession

Function vaAttachProtectedSession 

Source
pub unsafe extern "C" fn vaAttachProtectedSession(
    dpy: VADisplay,
    id: VAGenericID,
    protected_session: VAProtectedSessionID,
) -> VAStatus
Expand description

\brief Attach a protected content session to VA context

Attach a protected content session to the context to enable decryption/protection

@param[in] dpy the VA display @param[in] id the VA decode/encode/vp context @param[in] protected_session the protected session to attach