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

Unified Diff: content/common/gpu/media/gpu_video_encode_accelerator.h

Issue 1128213005: Passing Native Texture backed Video Frame from Renderer to GPU process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Passing a Texture+SharedMemory video frame. 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
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/gpu_video_encode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/gpu_video_encode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h
index f535f09339c70ed236d1fb28be4b4bf461e41aec..97a9ac12114d10a85aa605e94683bacd36a94ab5 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
@@ -15,10 +15,10 @@
#include "media/video/video_encode_accelerator.h"
#include "ui/gfx/geometry/size.h"
-namespace base {
+struct AcceleratedVideoEncoderMsg_Encode_Params;
+namespace base {
class SharedMemory;
-
} // namespace base
namespace content {
@@ -74,11 +74,7 @@ class GpuVideoEncodeAccelerator
// IPC handlers, proxying media::VideoEncodeAccelerator for the renderer
// process.
- void OnEncode(int32 frame_id,
- base::SharedMemoryHandle buffer_handle,
- uint32 buffer_offset,
- uint32 buffer_size,
- bool force_keyframe);
+ void OnEncode(const AcceleratedVideoEncoderMsg_Encode_Params& params);
void OnUseOutputBitstreamBuffer(int32 buffer_id,
base::SharedMemoryHandle buffer_handle,
uint32 buffer_size);
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | content/common/gpu/media/gpu_video_encode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698