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

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

Issue 20632002: Add media::VideoEncodeAccelerator with WebRTC integration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@git-svn
Patch Set: 7dec70f6 Whoops, one last linker thing I missed Created 7 years, 4 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 6decd17931bd5e6d468ad0d999b280531b317b00..9aa3673bc73728497291ba0837d58c5207a06a06 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_proxy.h"
#include "ipc/ipc_sync_channel.h"
#include "media/video/video_decode_accelerator.h"
+#include "media/video/video_encode_accelerator.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/size.h"
#include "ui/gl/gpu_preference.h"
@@ -128,6 +129,10 @@ class GpuChannelHost : public IPC::Sender,
media::VideoCodecProfile profile,
media::VideoDecodeAccelerator::Client* client);
+ // Creates a video encoder in the GPU process.
+ scoped_ptr<media::VideoEncodeAccelerator> CreateVideoEncoder(
+ media::VideoEncodeAccelerator::Client* client);
+
// Destroy a command buffer created by this channel.
void DestroyCommandBuffer(CommandBufferProxyImpl* command_buffer);

Powered by Google App Engine
This is Rietveld 408576698