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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.h

Issue 1641353003: GpuArcVideoService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@arc-4-owen-ArcGpuVideoDecodeAccelerator
Patch Set: address dcheng's comments (uint32) Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/gpu/arc_gpu_video_decode_accelerator.h
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.h b/chrome/gpu/arc_gpu_video_decode_accelerator.h
index 02fb49bb55d5962cfe55c0d44a4aeebc0c828136..3128bdff94cf5a47d1297bec4d328948fbd03828 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.h
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.h
@@ -28,7 +28,7 @@ class ArcGpuVideoDecodeAccelerator
public media::VideoDecodeAccelerator::Client,
public base::SupportsWeakPtr<ArcGpuVideoDecodeAccelerator> {
public:
- ArcGpuVideoDecodeAccelerator(const gpu::GpuPreferences& gpu_preferences);
+ ArcGpuVideoDecodeAccelerator();
~ArcGpuVideoDecodeAccelerator() override;
// Implementation of the ArcVideoAccelerator interface.
@@ -37,10 +37,12 @@ class ArcGpuVideoDecodeAccelerator
void SetNumberOfOutputBuffers(size_t number) override;
void BindSharedMemory(PortType port,
uint32_t index,
- int ashmem_fd,
+ base::ScopedFD ashmem_fd,
off_t offset,
size_t length) override;
- void BindDmabuf(PortType port, uint32_t index, int dmabuf_fd) override;
+ void BindDmabuf(PortType port,
+ uint32_t index,
+ base::ScopedFD dmabuf_fd) override;
void UseBuffer(PortType port,
uint32_t index,
const BufferMetadata& metadata) override;

Powered by Google App Engine
This is Rietveld 408576698