VA-API  2.19.0
Public Attributes | List of all members
VAEncryptionParameters Struct Reference

Encryption parameters buffer for VAEncryptionParameterBufferType. More...

#include <va.h>

Public Attributes

uint32_t encryption_type
 Encryption type, refer to VA_ENCRYPTION_TYPE_FULLSAMPLE_CTR, VA_ENCRYPTION_TYPE_FULLSAMPLE_CBC, VA_ENCRYPTION_TYPE_SUBSAMPLE_CTR, or VA_ENCRYPTION_TYPE_SUBSAMPLE_CBC.
 
uint32_t num_segments
 The number of sengments.
 
VAEncryptionSegmentInfosegment_info
 Pointer of segments.
 
uint32_t status_report_index
 The status report index reserved for CENC fullsample workload. The related structures and definitions are vendor specific.
 
uint32_t size_of_length
 CENC counter length.
 
uint8_t wrapped_decrypt_blob [64]
 Wrapped decrypt blob (Snd)kb, valid size is specified by key_blob_size.
 
uint8_t wrapped_encrypt_blob [64]
 Wrapped Key blob info (Sne)kb, valid size is specified by key_blob_size.
 
uint32_t key_blob_size
 key blob size It could be VA_PC_BLOCK_SIZE_128, VA_PC_BLOCK_SIZE_192, or VA_PC_BLOCK_SIZE_256
 
uint32_t blocks_stripe_encrypted
 Indicates the number of 16-byte BLOCKS that are encrypted in any given encrypted region of segments. If this value is zero: More...
 
uint32_t blocks_stripe_clear
 Indicates the number of 16-byte BLOCKS that are clear in any given encrypted region of segments, as defined by the CENS and CBCS schemes in the common encryption spec. If this value is zero, all bytes in encrypted region of segments are encrypted, i.e. the CENC or CBC1 scheme is being used.
 
uint32_t va_reserved [VA_PADDING_MEDIUM]
 Reserved bytes for future use, must be zero.
 

Detailed Description

Encryption parameters buffer for VAEncryptionParameterBufferType.

Member Data Documentation

◆ blocks_stripe_encrypted

uint32_t VAEncryptionParameters::blocks_stripe_encrypted

Indicates the number of 16-byte BLOCKS that are encrypted in any given encrypted region of segments. If this value is zero:

  1. All bytes in encrypted region of segments are encrypted, i.e. the CENC or CBC1 scheme is being used
  2. blocks_stripe_clear must also be zero. If this value is non-zero, blocks_stripe_clear must also be non-zero.

The documentation for this struct was generated from the following file: