Mesa (master): vl: add flag and definition for protected playback

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 4 09:57:52 UTC 2020


Module: Mesa
Branch: master
Commit: 5f0816eac0908bb7671231d483b7f7af1f474661
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f0816eac0908bb7671231d483b7f7af1f474661

Author: Boyuan Zhang <boyuan.zhang at amd.com>
Date:   Mon Feb 10 14:37:36 2020 -0500

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 at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7006>

---

 src/gallium/include/pipe/p_video_state.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h
index 9b10acd81bf..43320c28496 100644
--- a/src/gallium/include/pipe/p_video_state.h
+++ b/src/gallium/include/pipe/p_video_state.h
@@ -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



More information about the mesa-commit mailing list