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

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

Issue 1165943008: MJPEG acceleration for video capture using VAAPI, the GPU host part (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mjpeg-2-gpu
Patch Set: Created 5 years, 6 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..e32dd5635a9e15af9d3f82facb1d944b33474f64 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -23,6 +23,7 @@
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_sync_channel.h"
#include "ipc/message_filter.h"
+#include "media/video/jpeg_decode_accelerator.h"
#include "ui/events/latency_info.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/gpu_memory_buffer.h"
@@ -43,6 +44,7 @@ class SyncMessageFilter;
}
namespace media {
+class JpegDecodeAccelerator;
class VideoDecodeAccelerator;
class VideoEncodeAccelerator;
}
@@ -147,6 +149,10 @@ 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(
+ media::JpegDecodeAccelerator::Client* client);
+
// Destroy a command buffer created by this channel.
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer);

Powered by Google App Engine
This is Rietveld 408576698