From: Boyuan Zhang Date: Mon, 10 Feb 2020 19:37:36 +0000 (-0500) Subject: vl: add flag and definition for protected playback X-Git-Tag: upstream/21.0.0~2970 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5f0816eac0908bb7671231d483b7f7af1f474661;p=platform%2Fupstream%2Fmesa.git 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 Part-of: --- diff --git a/src/gallium/include/pipe/p_video_state.h b/src/gallium/include/pipe/p_video_state.h index 9b10acd..43320c2 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