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

Unified Diff: content/common/gpu/client/gpu_channel_host.h

Issue 1124423008: MJPEG acceleration for video capture using VAAPI, the GPU and IPC part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mjpeg-1-media
Patch Set: Created 5 years, 7 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: content/common/gpu/client/gpu_channel_host.h
diff --git a/content/common/gpu/client/gpu_channel_host.h b/content/common/gpu/client/gpu_channel_host.h
index 4ec2e06d2bdad744da832c4d4f674128192835ca..caf7beba7c76fb863166af645375195f1ee2e495 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -43,6 +43,7 @@ class SyncMessageFilter;
}
namespace media {
+class JpegDecodeAccelerator;
class VideoDecodeAccelerator;
class VideoEncodeAccelerator;
}
@@ -54,6 +55,7 @@ class GpuMemoryBufferManager;
namespace content {
class CommandBufferProxyImpl;
class GpuChannelHost;
+class GpuJpegDecodeAcceleratorHost;
struct GpuListenerInfo {
GpuListenerInfo();
@@ -147,6 +149,9 @@ class GpuChannelHost : public IPC::Sender,
scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder(
int command_buffer_route_id);
+ // Creates a JPEG decoder in the GPU process.
+ scoped_ptr<media::JpegDecodeAccelerator> CreateJpegDecoder();
+
// Destroy a command buffer created by this channel.
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer);

Powered by Google App Engine
This is Rietveld 408576698