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

Unified Diff: media/mojo/services/mojo_video_decoder_service.h

Issue 2544113002: Example MojoVideoDecoder decoder using the command buffer.
Patch Set: Created 4 years 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 | « media/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/mojo_video_decoder_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/mojo_video_decoder_service.h
diff --git a/media/mojo/services/mojo_video_decoder_service.h b/media/mojo/services/mojo_video_decoder_service.h
index d975229ab03a019640c99746021f263b26523309..9a63002a85b36672ea93a194ecf49addb88d17cb 100644
--- a/media/mojo/services/mojo_video_decoder_service.h
+++ b/media/mojo/services/mojo_video_decoder_service.h
@@ -9,6 +9,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "base/optional.h"
#include "media/base/decode_status.h"
#include "media/mojo/interfaces/video_decoder.mojom.h"
@@ -28,7 +29,8 @@ class MojoVideoDecoderService : public mojom::VideoDecoder {
// mojom::VideoDecoder implementation
void Construct(mojom::VideoDecoderClientAssociatedPtrInfo client,
- mojo::ScopedDataPipeConsumerHandle decoder_buffer_pipe) final;
+ mojo::ScopedDataPipeConsumerHandle decoder_buffer_pipe,
+ mojom::CommandBufferIdPtr command_buffer_id) final;
void Initialize(mojom::VideoDecoderConfigPtr config,
bool low_delay,
const InitializeCallback& callback) final;
« no previous file with comments | « media/mojo/services/mojo_media_client.cc ('k') | media/mojo/services/mojo_video_decoder_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698