public VideoDecoderBeginFrameCryptoSession
        (
            ID3D11CryptoSession *pCryptoSession = null,
            uint?blobSize        = null,
            void *pBlob          = null,
            Guid *pKeyInfoId     = null,
            uint?privateDataSize = null,
            void *pPrivateData   = null
        ) : this()
        {
            if (pCryptoSession is not null)
            {
                PCryptoSession = pCryptoSession;
            }

            if (blobSize is not null)
            {
                BlobSize = blobSize.Value;
            }

            if (pBlob is not null)
            {
                PBlob = pBlob;
            }

            if (pKeyInfoId is not null)
            {
                PKeyInfoId = pKeyInfoId;
            }

            if (privateDataSize is not null)
            {
                PrivateDataSize = privateDataSize.Value;
            }

            if (pPrivateData is not null)
            {
                PPrivateData = pPrivateData;
            }
        }
Exemple #2
0
 public int CheckCryptoSessionStatus([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("D3D11_CRYPTO_SESSION_STATUS *")] D3D11_CRYPTO_SESSION_STATUS *pStatus)
 {
     return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, D3D11_CRYPTO_SESSION_STATUS *, int>)(lpVtbl[67]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, pStatus));
 }
Exemple #3
0
 public int GetDataForNewHardwareKey([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("UINT")] uint PrivateInputSize, [NativeTypeName("const void *")] void *pPrivatInputData, [NativeTypeName("UINT64 *")] ulong *pPrivateOutputData)
 {
     return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, uint, void *, ulong *, int>)(lpVtbl[66]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, PrivateInputSize, pPrivatInputData, pPrivateOutputData));
 }
Exemple #4
0
 public int GetEncryptionBltKey([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("UINT")] uint KeySize, [NativeTypeName("void *")] void *pReadbackKey)
 {
     return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, uint, void *, int>)(lpVtbl[59]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, KeySize, pReadbackKey));
 }
Exemple #5
0
 public void FinishSessionKeyRefresh([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, void>)(lpVtbl[58]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession);
 }
Exemple #6
0
 public void StartSessionKeyRefresh([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("UINT")] uint RandomNumberSize, [NativeTypeName("void *")] void *pRandomNumber)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, uint, void *, void>)(lpVtbl[57]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, RandomNumberSize, pRandomNumber);
 }
Exemple #7
0
 public void DecryptionBlt([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("ID3D11Texture2D *")] ID3D11Texture2D *pSrcSurface, [NativeTypeName("ID3D11Texture2D *")] ID3D11Texture2D *pDstSurface, [NativeTypeName("D3D11_ENCRYPTED_BLOCK_INFO *")] D3D11_ENCRYPTED_BLOCK_INFO *pEncryptedBlockInfo, [NativeTypeName("UINT")] uint ContentKeySize, [NativeTypeName("const void *")] void *pContentKey, [NativeTypeName("UINT")] uint IVSize, [NativeTypeName("void *")] void *pIV)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, ID3D11Texture2D *, ID3D11Texture2D *, D3D11_ENCRYPTED_BLOCK_INFO *, uint, void *, uint, void *, void>)(lpVtbl[56]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, pEncryptedBlockInfo, ContentKeySize, pContentKey, IVSize, pIV);
 }
Exemple #8
0
 public void EncryptionBlt([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("ID3D11Texture2D *")] ID3D11Texture2D *pSrcSurface, [NativeTypeName("ID3D11Texture2D *")] ID3D11Texture2D *pDstSurface, [NativeTypeName("UINT")] uint IVSize, [NativeTypeName("void *")] void *pIV)
 {
     ((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, ID3D11Texture2D *, ID3D11Texture2D *, uint, void *, void>)(lpVtbl[55]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, pSrcSurface, pDstSurface, IVSize, pIV);
 }
Exemple #9
0
 public int NegotiateCryptoSessionKeyExchange([NativeTypeName("ID3D11CryptoSession *")] ID3D11CryptoSession *pCryptoSession, [NativeTypeName("UINT")] uint DataSize, [NativeTypeName("void *")] void *pData)
 {
     return(((delegate * unmanaged <ID3D11VideoContext2 *, ID3D11CryptoSession *, uint, void *, int>)(lpVtbl[54]))((ID3D11VideoContext2 *)Unsafe.AsPointer(ref this), pCryptoSession, DataSize, pData));
 }
 public int NegotiateCryptoSessionKeyExchangeMT(ID3D11CryptoSession *pCryptoSession, D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS flags, [NativeTypeName("UINT")] uint DataSize, void *pData)
 {
     return(((delegate * unmanaged <ID3D11VideoDevice2 *, ID3D11CryptoSession *, D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS, uint, void *, int>)(lpVtbl[25]))((ID3D11VideoDevice2 *)Unsafe.AsPointer(ref this), pCryptoSession, flags, DataSize, pData));
 }