| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 //------------------------------------------------ | 5 //------------------------------------------------ |
| 6 // Functions from libva used in chromium code. | 6 // Functions from libva used in chromium code. |
| 7 //------------------------------------------------ | 7 //------------------------------------------------ |
| 8 VAStatus vaBeginPicture(VADisplay dpy, VAContextID context, VASurfaceID render_t
arget); | 8 VAStatus vaBeginPicture(VADisplay dpy, VAContextID context, VASurfaceID render_t
arget); |
| 9 VAStatus vaCreateBuffer(VADisplay dpy, VAContextID context, VABufferType type, u
nsigned int size, unsigned int num_elements, void *data, VABufferID *buf_id); | 9 VAStatus vaCreateBuffer(VADisplay dpy, VAContextID context, VABufferType type, u
nsigned int size, unsigned int num_elements, void *data, VABufferID *buf_id); |
| 10 VAStatus vaCreateConfig(VADisplay dpy, VAProfile profile, VAEntrypoint entrypoin
t, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id); | 10 VAStatus vaCreateConfig(VADisplay dpy, VAProfile profile, VAEntrypoint entrypoin
t, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id); |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 VAStatus vaMapBuffer(VADisplay dpy, VABufferID buf_id, void **pbuf); | 24 VAStatus vaMapBuffer(VADisplay dpy, VABufferID buf_id, void **pbuf); |
| 25 int vaMaxNumEntrypoints (VADisplay dpy); | 25 int vaMaxNumEntrypoints (VADisplay dpy); |
| 26 int vaMaxNumProfiles(VADisplay dpy); | 26 int vaMaxNumProfiles(VADisplay dpy); |
| 27 VAStatus vaQueryConfigEntrypoints (VADisplay dpy, VAProfile profile, VAEntrypoin
t *entrypoint_list, int *num_entrypoints); | 27 VAStatus vaQueryConfigEntrypoints (VADisplay dpy, VAProfile profile, VAEntrypoin
t *entrypoint_list, int *num_entrypoints); |
| 28 VAStatus vaQueryConfigProfiles(VADisplay dpy, VAProfile *profile_list, int *num_
profiles); | 28 VAStatus vaQueryConfigProfiles(VADisplay dpy, VAProfile *profile_list, int *num_
profiles); |
| 29 VAStatus vaRenderPicture(VADisplay dpy, VAContextID context, VABufferID *buffers
, int num_buffers); | 29 VAStatus vaRenderPicture(VADisplay dpy, VAContextID context, VABufferID *buffers
, int num_buffers); |
| 30 VAStatus vaSetDisplayAttributes(VADisplay dpy, VADisplayAttribute *attr_list, in
t num_attributes); | 30 VAStatus vaSetDisplayAttributes(VADisplay dpy, VADisplayAttribute *attr_list, in
t num_attributes); |
| 31 VAStatus vaSyncSurface(VADisplay dpy, VASurfaceID render_target); | 31 VAStatus vaSyncSurface(VADisplay dpy, VASurfaceID render_target); |
| 32 VAStatus vaTerminate(VADisplay dpy); | 32 VAStatus vaTerminate(VADisplay dpy); |
| 33 VAStatus vaUnmapBuffer(VADisplay dpy, VABufferID buf_id); | 33 VAStatus vaUnmapBuffer(VADisplay dpy, VABufferID buf_id); |
| 34 VAStatus vaGetCodecResolution (VADisplay dpy, unsigned int *width, unsigned int
*height); |
| OLD | NEW |