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

Unified Diff: media/mojo/interfaces/media_types.mojom

Issue 2905823002: Add Mojo interfaces for GpuJpegDecodeAccelerator and GpuJpegDecodeAcceleratorHost (Closed)
Patch Set: updated comments Created 3 years, 7 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
« media/gpu/mojo/jpeg_decoder.mojom ('K') | « media/gpu/mojo/jpeg_decoder.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/media_types.mojom
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
index 16612b5dcf68a8e5a7e423257f0c85cf74f80303..f823eeb5bdd861dfe9e011b679ca21313b2353a3 100644
--- a/media/mojo/interfaces/media_types.mojom
+++ b/media/mojo/interfaces/media_types.mojom
@@ -172,6 +172,18 @@ struct DecoderBuffer {
mojo.common.mojom.TimeDelta back_discard;
};
+// This defines a mojo transport format for media::BitstreamBuffer.
+struct BitstreamBuffer {
+ int32 id;
+ handle<shared_buffer> shared_memory_handle;
+ uint32 size;
+ uint64 offset;
+ mojo.common.mojom.TimeDelta timestamp;
+ string key_id;
+ string iv;
+ array<SubsampleEntry> subsamples;
+};
+
// This defines a mojo transport format for media::AudioBuffer.
struct AudioBuffer {
// Format of the audio.
« media/gpu/mojo/jpeg_decoder.mojom ('K') | « media/gpu/mojo/jpeg_decoder.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698