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

Unified Diff: components/arc/common/video_accelerator.mojom

Issue 1945543002: Use explicit flush for ArcVideoAccelerator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and update version 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
« no previous file with comments | « components/arc/common/video.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/video_accelerator.mojom
diff --git a/components/arc/common/video_accelerator.mojom b/components/arc/common/video_accelerator.mojom
index d20a2360b17f10ecb74acac23d5b47be888f16dd..cfa84beae88ebeca693a81435704148840886de3 100644
--- a/components/arc/common/video_accelerator.mojom
+++ b/components/arc/common/video_accelerator.mojom
@@ -19,14 +19,8 @@ enum PortType {
PORT_OUTPUT = 1,
};
-[Extensible]
-enum BufferFlag {
- BUFFER_FLAG_EOS = 1,
-};
-
struct BufferMetadata {
int64 timestamp; // in microseconds
- uint32 flags;
uint32 bytes_used;
};
@@ -68,6 +62,8 @@ interface VideoAcceleratorService {
SetNumberOfOutputBuffers@4(uint32 number);
Reset@5();
+
+ Flush@6();
};
interface VideoAcceleratorServiceClient {
@@ -88,4 +84,6 @@ interface VideoAcceleratorServiceClient {
OnResetDone@3();
OnOutputFormatChanged@4(VideoFormat format);
+
+ OnFlushDone@5();
};
« no previous file with comments | « components/arc/common/video.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698