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

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: 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 | « ppapi/api/ppb_video_decoder.idl ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/pp_codecs.h
diff --git a/ppapi/c/pp_codecs.h b/ppapi/c/pp_codecs.h
index 5e5bce7f74408d44f1dcfaff226f0930c8e0878c..f10a4807457660fbf72c1f3a19910a439e0fbce7 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 13:39:56 2014. */
#ifndef PPAPI_C_PP_CODECS_H_
#define PPAPI_C_PP_CODECS_H_
@@ -38,6 +38,22 @@ 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_LAST = PP_HARDWAREACCELERATION_NONE
+} PP_HardwareAcceleration;
/**
* @}
*/
« no previous file with comments | « ppapi/api/ppb_video_decoder.idl ('k') | ppapi/c/pp_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698