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

Side by Side Diff: content/common/gpu/media/va_surface.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This file contains the definition of VASurface class, used for decoding by 5 // This file contains the definition of VASurface class, used for decoding by
6 // VaapiVideoDecodeAccelerator and VaapiH264Decoder. 6 // VaapiVideoDecodeAccelerator and VaapiH264Decoder.
7 7
8 #ifndef CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_ 8 #ifndef CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_
9 #define CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_ 9 #define CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "third_party/libva/va/va.h" 14 #include "third_party/libva/va/va.h"
15 #include "ui/gfx/size.h" 15 #include "ui/gfx/geometry/size.h"
16 16
17 namespace content { 17 namespace content {
18 18
19 // A VA-API-specific decode surface used by VaapiH264Decoder to decode into 19 // A VA-API-specific decode surface used by VaapiH264Decoder to decode into
20 // and use as reference for decoding other surfaces. It is also handed by the 20 // and use as reference for decoding other surfaces. It is also handed by the
21 // decoder to VaapiVideoDecodeAccelerator when the contents of the surface are 21 // decoder to VaapiVideoDecodeAccelerator when the contents of the surface are
22 // ready and should be displayed. VAVDA converts the surface contents into an 22 // ready and should be displayed. VAVDA converts the surface contents into an
23 // X/Drm Pixmap bound to a texture for display and releases its reference to it. 23 // X/Drm Pixmap bound to a texture for display and releases its reference to it.
24 // Decoder releases its references to the surface when it's done decoding and 24 // Decoder releases its references to the surface when it's done decoding and
25 // using it as reference. Note that a surface may still be used for reference 25 // using it as reference. Note that a surface may still be used for reference
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 const VASurfaceID va_surface_id_; 105 const VASurfaceID va_surface_id_;
106 gfx::Size size_; 106 gfx::Size size_;
107 ReleaseCB release_cb_; 107 ReleaseCB release_cb_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(VASurface); 109 DISALLOW_COPY_AND_ASSIGN(VASurface);
110 }; 110 };
111 111
112 } // namespace content 112 } // namespace content
113 113
114 #endif // CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_ 114 #endif // CONTENT_COMMON_GPU_MEDIA_VA_SURFACE_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/v4l2_video_encode_accelerator.h ('k') | content/common/gpu/media/vaapi_picture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698