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

Unified Diff: ppapi/proxy/ppb_video_decoder_proxy.h

Issue 10408003: Plumb extra_data() to VideoDecodeAccelerator (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rev interface versino Created 8 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 | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_video_decoder_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_video_decoder_proxy.h
diff --git a/ppapi/proxy/ppb_video_decoder_proxy.h b/ppapi/proxy/ppb_video_decoder_proxy.h
index 7461a1fdfc324bbc299513c86dd13f0715c6980f..1eeab469038ce6b1e9ade4af47692991ef2e89ab 100644
--- a/ppapi/proxy/ppb_video_decoder_proxy.h
+++ b/ppapi/proxy/ppb_video_decoder_proxy.h
@@ -24,7 +24,10 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
static PP_Resource CreateProxyResource(
PP_Instance instance,
PP_Resource graphics_context,
- PP_VideoDecoder_Profile profile);
+ PP_VideoDecoder_Profile profile,
+ PP_Size frame_size,
+ const uint8_t* extra_data,
+ uint32_t extra_data_size);
// InterfaceProxy implementation.
virtual bool OnMessageReceived(const IPC::Message& msg);
@@ -37,6 +40,8 @@ class PPB_VideoDecoder_Proxy : public InterfaceProxy {
void OnMsgCreate(PP_Instance instance,
const ppapi::HostResource& graphics_context,
PP_VideoDecoder_Profile profile,
+ const PP_Size& frame_size,
+ const std::vector<uint8_t>& extra_data,
ppapi::HostResource* result);
void OnMsgDecode(
const ppapi::HostResource& decoder,
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/proxy/ppb_video_decoder_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698