summaryrefslogtreecommitdiffstats
path: root/ppapi/api/private/ppb_camera_capabilities_private.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/api/private/ppb_camera_capabilities_private.idl')
-rw-r--r--ppapi/api/private/ppb_camera_capabilities_private.idl20
1 files changed, 10 insertions, 10 deletions
diff --git a/ppapi/api/private/ppb_camera_capabilities_private.idl b/ppapi/api/private/ppb_camera_capabilities_private.idl
index cb97fb1..fb480bf 100644
--- a/ppapi/api/private/ppb_camera_capabilities_private.idl
+++ b/ppapi/api/private/ppb_camera_capabilities_private.idl
@@ -36,20 +36,20 @@ interface PPB_CameraCapabilities_Private {
[in] PP_Resource resource);
/**
- * GetSupportedPreviewSizes() returns the supported preview sizes for the
- * given <code>PPB_CameraCapabilities_Private</code>.
+ * GetSupportedVideoCaptureFormats() returns the supported video capture
+ * formats for the given <code>PPB_CameraCapabilities_Private</code>.
*
* @param[in] capabilities A <code>PP_Resource</code> corresponding to an
* image capture capabilities resource.
* @param[out] array_size The size of preview size array.
- * @param[out] preview_sizes An array of <code>PP_Size</code> corresponding
- * to the supported preview sizes in pixels. The ownership of the array
- * belongs to <code>PPB_CameraCapabilities_Private</code> and the caller
- * should not free it. When a PPB_CameraCapabilities_Private is deleted,
- * the array returning from this is no longer valid.
+ * @param[out] formats An array of <code>PP_VideoCaptureFormat</code>
+ * corresponding to the supported video capture formats. The ownership of the
+ * array belongs to <code>PPB_CameraCapabilities_Private</code> and the caller
+ * should not free it. When a PPB_CameraCapabilities_Private is deleted, the
+ * array returning from this is no longer valid.
*/
- void GetSupportedPreviewSizes(
+ void GetSupportedVideoCaptureFormats(
[in] PP_Resource capabilities,
- [out] int32_t array_size,
- [out, size_is(array_size)] PP_Size[] preview_sizes);
+ [out] uint32_t array_size,
+ [out, size_is(array_size)] PP_VideoCaptureFormat[] formats);
};