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

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

Issue 1016773002: MJPEG acceleration for video capture using VAAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reuse VASurface Created 5 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: 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 fbff47b5b9c2f6a58d74fbd8628703bd55742019..6d38b5d83c8358899ebb52895a5b87214d9ef2c8 100644
--- a/content/common/gpu/client/gpu_channel_host.h
+++ b/content/common/gpu/client/gpu_channel_host.h
@@ -44,6 +44,7 @@ class SyncMessageFilter;
}
namespace media {
+class JpegDecodeAccelerator;
class VideoDecodeAccelerator;
class VideoEncodeAccelerator;
}
@@ -55,6 +56,7 @@ class GpuMemoryBufferManager;
namespace content {
class CommandBufferProxyImpl;
class GpuChannelHost;
+class GpuJpegDecodeAcceleratorHost;
struct GpuListenerInfo {
GpuListenerInfo();
@@ -148,6 +150,9 @@ class GpuChannelHost : public IPC::Sender,
scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder(
int command_buffer_route_id);
wuchengli 2015/05/06 07:59:18 // Creates a JPEG decoder in the GPU process. Also
kcwu 2015/05/08 14:42:42 Acknowledged. Revised to use jpeg thread and no re
+ scoped_ptr<media::JpegDecodeAccelerator> CreateJpegDecoder(
+ scoped_refptr<base::MessageLoopProxy> reply_loop);
+
// Destroy a command buffer created by this channel.
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer);

Powered by Google App Engine
This is Rietveld 408576698