Index: ppapi/c/pp_codecs.h |
diff --git a/ppapi/c/pp_codecs.h b/ppapi/c/pp_codecs.h |
index 86d8fb5ea3dc4f04becd9bef041f4cced64d8b9b..407470dcbef33cac8f62291048547012c09e1018 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 Wed Nov 5 13:38:52 2014. */ |
+/* From pp_codecs.idl modified Fri Jan 9 16:30:13 2015. */ |
#ifndef PPAPI_C_PP_CODECS_H_ |
#define PPAPI_C_PP_CODECS_H_ |
@@ -130,6 +130,41 @@ struct PP_VideoPicture_0_1 { |
*/ |
struct PP_Size texture_size; |
}; |
+ |
+/** |
+ * Supported video profile information. See the PPB_VideoEncoder function |
+ * GetSupportedProfiles() for more details. |
+ */ |
+struct PP_SupportedVideoProfile { |
+ /* The codec profile. */ |
+ PP_VideoProfile profile; |
+ /** |
+ * Dimensions of the maximum resolution of video frames, in pixels. |
+ */ |
+ struct PP_Size max_resolution; |
+ /** |
+ * The numerator of the maximum frame rate. |
+ */ |
+ uint32_t max_framerate_numerator; |
+ /** |
+ * The denominator of the maximum frame rate. |
+ */ |
+ uint32_t max_framerate_denominator; |
+}; |
+ |
+/** |
+ * Struct describing a bitstream buffer. |
+ */ |
+struct PP_BitstreamBuffer { |
+ /** |
+ * The size, in bytes, of the bitstream buffer. |
+ */ |
+ uint32_t size; |
+ /** |
+ * The base address of the bitstream buffer. |
+ */ |
+ void* buffer; |
+}; |
/** |
* @} |
*/ |