Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: content/common/gpu/media/va.sigs

Issue 817023005: Reland: Refactor Vaapi video decoder/encoder in preparation of Freon support (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove refcounting on VaapiWrapper Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | content/common/gpu/media/va_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
35
36 //------------------------------------------------
37 // Functions from libva-x11 used in chromium code.
38 //------------------------------------------------
39 VADisplay vaGetDisplay(Display *dpy);
40 VAStatus vaPutSurface(VADisplay dpy, VASurfaceID surface, Drawable draw, short s rcx, short srcy, unsigned short srcw, unsigned short srch, short destx, short de sty, unsigned short destw, unsigned short desth, VARectangle *cliprects, unsigne d int number_cliprects, unsigned int flags);
OLDNEW
« no previous file with comments | « content/common/gpu/media/rendering_helper.cc ('k') | content/common/gpu/media/va_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698