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

Unified Diff: ppapi/thunk/ppb_video_decoder_api.h

Issue 1207043002: Introduce a client minimum picture pool size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved constant to shared header, validate min_picture_size now in resource proxy as well as host co… Created 5 years, 4 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/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_video_decoder_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/thunk/ppb_video_decoder_api.h
diff --git a/ppapi/thunk/ppb_video_decoder_api.h b/ppapi/thunk/ppb_video_decoder_api.h
index 5acceaac9a4229501968b9b426b7ec463cab1bf1..1a132d2864b415128d205533e31630a6e6c78292 100644
--- a/ppapi/thunk/ppb_video_decoder_api.h
+++ b/ppapi/thunk/ppb_video_decoder_api.h
@@ -23,9 +23,14 @@ class PPAPI_THUNK_EXPORT PPB_VideoDecoder_API {
PP_VideoProfile profile,
PP_Bool allow_software_fallback,
scoped_refptr<TrackedCallback> callback) = 0;
+ virtual int32_t Initialize0_2(PP_Resource graphics3d_context,
+ PP_VideoProfile profile,
+ PP_HardwareAcceleration acceleration,
+ scoped_refptr<TrackedCallback> callback) = 0;
virtual int32_t Initialize(PP_Resource graphics3d_context,
PP_VideoProfile profile,
PP_HardwareAcceleration acceleration,
+ uint32_t min_picture_count,
scoped_refptr<TrackedCallback> callback) = 0;
virtual int32_t Decode(uint32_t decode_id,
uint32_t size,
« no previous file with comments | « ppapi/thunk/interfaces_ppb_public_dev_channel.h ('k') | ppapi/thunk/ppb_video_decoder_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698