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

Unified Diff: ppapi/api/pp_codecs.idl

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 6 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 | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/api/pp_codecs.idl
diff --git a/ppapi/api/pp_codecs.idl b/ppapi/api/pp_codecs.idl
index 423db9f7f43eaa4cb2cb9f81f5face5f12bb5d60..11010faa8ec19c7653579c18ae1ecf543342f0ae 100644
--- a/ppapi/api/pp_codecs.idl
+++ b/ppapi/api/pp_codecs.idl
@@ -24,6 +24,25 @@ enum PP_VideoProfile {
};
/**
+ * Hardware acceleration options.
+ */
+enum PP_HardwareAcceleration {
+ /** Create a hardware accelerated resource only. */
+ PP_HARDWAREACCELERATION_ONLY = 0,
+
+ /**
+ * Create a hardware accelerated resource if possible. Otherwise, fall back
+ * to the software implementation.
+ */
+ PP_HARDWAREACCELERATION_WITHFALLBACK = 1,
+
+ /** Create the software implementation only. */
+ PP_HARDWAREACCELERATION_NONE = 2,
+
+ PP_HARDWAREACCELERATION_LAST = PP_HARDWAREACCELERATION_NONE
+};
+
+/**
* Struct describing a decoded video picture. The decoded picture data is stored
* in the GL texture corresponding to |texture_id|. The plugin can determine
* which Decode call generated the picture using |decode_id|.
« no previous file with comments | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/api/ppb_video_decoder.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698