vl: add flag and definition for protected playback

Add a flag to indicate if playback is protected/encrypted.
Add a pointer to decryption key for later decryption use.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7006>
This commit is contained in:
Boyuan Zhang 2020-02-10 14:37:36 -05:00 committed by Pierre-Eric Pelloux-Prayer
parent 58e7088628
commit 5f0816eac0
1 changed files with 2 additions and 0 deletions

View File

@ -151,6 +151,8 @@ struct pipe_picture_desc
{
enum pipe_video_profile profile;
enum pipe_video_entrypoint entry_point;
bool protected_playback;
uint8_t *decrypt_key;
};
struct pipe_quant_matrix