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:
parent
58e7088628
commit
5f0816eac0
|
@ -151,6 +151,8 @@ struct pipe_picture_desc
|
||||||
{
|
{
|
||||||
enum pipe_video_profile profile;
|
enum pipe_video_profile profile;
|
||||||
enum pipe_video_entrypoint entry_point;
|
enum pipe_video_entrypoint entry_point;
|
||||||
|
bool protected_playback;
|
||||||
|
uint8_t *decrypt_key;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct pipe_quant_matrix
|
struct pipe_quant_matrix
|
||||||
|
|
Loading…
Reference in New Issue