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

Unified Diff: ppapi/c/pp_codecs.h

Issue 496203002: Pepper: PPB_VideoDecoder software-only mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cpp 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
Index: ppapi/c/pp_codecs.h
diff --git a/ppapi/c/pp_codecs.h b/ppapi/c/pp_codecs.h
index 5e5bce7f74408d44f1dcfaff226f0930c8e0878c..7f1977ce5240f54ff27d0dbb8c4141568e6e85fe 100644
--- a/ppapi/c/pp_codecs.h
+++ b/ppapi/c/pp_codecs.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From pp_codecs.idl modified Mon Jun 30 14:36:36 2014. */
+/* From pp_codecs.idl modified Fri Aug 22 05:42:41 2014. */
#ifndef PPAPI_C_PP_CODECS_H_
#define PPAPI_C_PP_CODECS_H_
@@ -38,6 +38,21 @@ typedef enum {
PP_VIDEOPROFILE_VP9_ANY = 12,
PP_VIDEOPROFILE_MAX = PP_VIDEOPROFILE_VP9_ANY
} PP_VideoProfile;
+
+/**
+ * Hardware acceleration options.
+ */
+typedef enum {
+ /** 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;
/**
* @}
*/

Powered by Google App Engine
This is Rietveld 408576698