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

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

Issue 1656433002: Sample code: IPC Transport object for GPU Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GpuMemoryBufferService + Transport object. TODO: Eliminate ChildThreadImpl dependency Created 4 years, 10 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/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 ecc14f28e99fa4b0006889d7ca3b3f511997d4fe..53ad66ac89ba946704d2e3432f75d65912fcb9e2 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
@@ -19,15 +19,15 @@
#include "media/video/video_encode_accelerator.h"
#include "ui/gfx/geometry/size.h"
-struct AcceleratedVideoEncoderMsg_Encode_Params;
-struct AcceleratedVideoEncoderMsg_Encode_Params2;
-
namespace base {
class SharedMemory;
} // namespace base
namespace content {
+struct VideoEncodeParams;
+struct VideoEncodeParams2;
+
// This class encapsulates the GPU process view of a VideoEncodeAccelerator,
// wrapping the platform-specific VideoEncodeAccelerator instance. It handles
// IPC coming in from the renderer and passes it to the underlying VEA.
@@ -79,8 +79,8 @@ class GpuVideoEncodeAccelerator
// IPC handlers, proxying media::VideoEncodeAccelerator for the renderer
// process.
- void OnEncode(const AcceleratedVideoEncoderMsg_Encode_Params& params);
- void OnEncode2(const AcceleratedVideoEncoderMsg_Encode_Params2& params);
+ void OnEncode(const VideoEncodeParams& params);
+ void OnEncode2(const VideoEncodeParams2& params);
void OnUseOutputBitstreamBuffer(int32_t buffer_id,
base::SharedMemoryHandle buffer_handle,
uint32_t buffer_size);
« no previous file with comments | « content/common/gpu/media/gpu_video_decode_accelerator.cc ('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