Skip to content

Commit

Permalink
enable cbcs
Browse files Browse the repository at this point in the history
Signed-off-by: Nana Zhang <[email protected]>
  • Loading branch information
nanazhan committed Feb 14, 2025
1 parent 00dc659 commit 25f256f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions api/vpl/mfxstructures.h
Original file line number Diff line number Diff line change
Expand Up @@ -5152,12 +5152,18 @@ typedef struct {
mfxU32 cypher_bytes;
} SubsampleEntry;

typedef struct {
mfxU32 clear_byte_block;
mfxU32 cypher_byte_block;
} EncryptionPattern;

typedef struct {
mfxExtBuffer Header; /*!< Extension buffer header. Header.BufferId must be equal to MFX_EXTBUFF_DECRYPT_CONFIG. */
EncryptionScheme encryption_scheme;
mfxU8 hw_key_id[16];
mfxU8 iv[16];
mfxU32 session;
EncryptionPattern pattern;
mfxU32 num_subsamples;
SubsampleEntry *subsamples;
} mfxExtDecryptConfig;
Expand Down

0 comments on commit 25f256f

Please sign in to comment.