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

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

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove CHECKs on GPU side. Created 4 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
Index: media/mojo/interfaces/media_types.mojom
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom
index cf78d2af6160afc2fe779dbd729b0ec9a24eae61..d40288c0a21a7b15ff268610a4a8fdd83ebf6b4b 100644
--- a/media/mojo/interfaces/media_types.mojom
+++ b/media/mojo/interfaces/media_types.mojom
@@ -13,6 +13,14 @@ enum BufferingState {
HAVE_ENOUGH,
};
+// See media/base/decode_status.h for descriptions.
+// Kept in sync with media::DecodeStatus via static_asserts.
+enum DecodeStatus {
+ OK,
+ ABORTED,
+ DECODE_ERROR,
+};
+
// See media/base/audio_decoder_config.h for descriptions.
// Kept in sync with media::AudioCodec via static_asserts.
enum AudioCodec {
@@ -256,7 +264,6 @@ struct DecoderBuffer {
// This is backed by an std::vector and results in a few copies.
// Into the vector, onto and off the MessagePipe, back into a vector.
array<uint8>? side_data;
- uint32 side_data_size;
// DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted.
DecryptConfig? decrypt_config;

Powered by Google App Engine
This is Rietveld 408576698