summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk
diff options
context:
space:
mode:
authorpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 05:49:50 +0000
committerpenghuang@chromium.org <penghuang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-16 05:49:50 +0000
commit03bf382f1176290e2eae07034aa6b497670d261f (patch)
tree7f935b56c7b1143105dad9e4bbcac165a5fb2bf8 /ppapi/thunk
parent69f4a6dc4ea415bc99fd888dcec7fc5305e9b8d3 (diff)
downloadchromium_src-03bf382f1176290e2eae07034aa6b497670d261f.zip
chromium_src-03bf382f1176290e2eae07034aa6b497670d261f.tar.gz
chromium_src-03bf382f1176290e2eae07034aa6b497670d261f.tar.bz2
[PPAPI] Implement media stream video track API
BUG=330851 Review URL: https://codereview.chromium.org/128683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245150 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk')
-rw-r--r--ppapi/thunk/ppb_video_frame_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/thunk/ppb_video_frame_api.h b/ppapi/thunk/ppb_video_frame_api.h
index 50f2247..9a08882 100644
--- a/ppapi/thunk/ppb_video_frame_api.h
+++ b/ppapi/thunk/ppb_video_frame_api.h
@@ -9,6 +9,9 @@
#include "ppapi/thunk/ppapi_thunk_export.h"
namespace ppapi {
+
+union MediaStreamFrame;
+
namespace thunk {
class PPAPI_THUNK_EXPORT PPB_VideoFrame_API {
@@ -20,6 +23,11 @@ class PPAPI_THUNK_EXPORT PPB_VideoFrame_API {
virtual PP_Bool GetSize(PP_Size* size) = 0;
virtual void* GetDataBuffer() = 0;
virtual uint32_t GetDataBufferSize() = 0;
+
+ // Private APIs:
+ virtual MediaStreamFrame* GetFrameBuffer() = 0;
+ virtual int32_t GetFrameBufferIndex() = 0;
+ virtual void Invalidate() = 0;
};
} // namespace thunk