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

Unified Diff: ppapi/proxy/ppapi_messages.h

Issue 13771020: Add Pepper VideoReader and VideoWriter plumbing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: ppapi/proxy/ppapi_messages.h
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 60018a6f3e0b371ce22e68f36604b56c778940df..6a23152ef9dcef81c5b271985f311cb5bb6bd3fa 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -1833,4 +1833,26 @@ IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
uint32_t /* buffer */)
+// VideoReader
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoReader_Create)
+IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoReader_Open,
+ std::string /* stream_id */)
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoReader_OpenReply)
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoReader_GetFrame)
+IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VideoReader_GetFrameReply,
+ ppapi::HostResource /* image_data */,
+ double /* timestamp */)
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoReader_Close)
+
+// VideoWriter
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoWriter_Create)
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoWriter_Open)
+IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoWriter_OpenReply,
+ std::string /* stream_id */)
+IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoWriter_PutFrame,
+ ppapi::HostResource /* image_data */,
+ double /* timestamp */)
+IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoWriter_PutFrameReply)
+IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoWriter_Close)
+
#endif // !defined(OS_NACL) && !defined(NACL_WIN64)

Powered by Google App Engine
This is Rietveld 408576698