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

Unified Diff: ppapi/shared_impl/video_frame.h

Issue 122383002: [WIP][PPAPI] Implement MediaStreamVideoTrackResource. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@io_stream_cl
Patch Set: Update Created 6 years, 12 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 | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/video_frame.h
diff --git a/ppapi/shared_impl/video_frame.h b/ppapi/shared_impl/video_frame.h
new file mode 100644
index 0000000000000000000000000000000000000000..49fbccfcbcfc1094d9a864446f0b4e1baf2937cc
--- /dev/null
+++ b/ppapi/shared_impl/video_frame.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PPAPI_SHARED_IMPL_VIDEO_FRAME_H_
+#define PPAPI_SHARED_IMPL_VIDEO_FRAME_H_
+
+#include <string>
+
+#include "ppapi/c/ppb_video_frame.h"
+
+namespace ppapi {
+
+struct VideoFrame {
+ PP_TimeDelta timestamp;
+ PP_VideoFrame_Format format;
+ PP_Size size;
+ uint32_t data_size;
+ uint8_t data[0];
+};
+
+} // namespace ppapi
+
+#endif // PPAPI_SHARED_IMPL_VIDEO_FRAME_H_
« no previous file with comments | « ppapi/shared_impl/resource.h ('k') | ppapi/thunk/interfaces_ppb_public_stable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698