| // Copyright 2020 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| //------------------------------------------------ |
| // Functions from libva protected content interface used in chromium code. |
| //------------------------------------------------ |
| VAStatus vaCreateProtectedSession(VADisplay dpy, VAConfigID config_id, VAProtectedSessionID *protected_session); |
| VAStatus vaDestroyProtectedSession(VADisplay dpy, VAProtectedSessionID protected_session); |
| VAStatus vaAttachProtectedSession(VADisplay dpy, VAContextID reserved, VAProtectedSessionID protected_session); |
| VAStatus vaDetachProtectedSession(VADisplay dpy, VAContextID reserved); |
| VAStatus vaProtectedSessionExecute(VADisplay dpy, VAProtectedSessionID protected_session, VABufferID buf_id); |