Pepper_47_C_interfaces
|
#include <ppb_camera_capabilities_private.h>
Public Attributes | |
PP_Bool(* | IsCameraCapabilities )(PP_Resource resource) |
void(* | GetSupportedVideoCaptureFormats )(PP_Resource capabilities, uint32_t *array_size, struct PP_VideoCaptureFormat **formats) |
The PPB_CameraCapabilities_Private
interface contains pointers to several functions for getting the image capture capabilities within the browser.
Definition at line 41 of file ppb_camera_capabilities_private.h.
void(* PPB_CameraCapabilities_Private_0_1::GetSupportedVideoCaptureFormats)(PP_Resource capabilities, uint32_t *array_size, struct PP_VideoCaptureFormat **formats) |
GetSupportedVideoCaptureFormats() returns the supported video capture formats for the given PPB_CameraCapabilities_Private
.
[in] | capabilities | A PP_Resource corresponding to an image capture capabilities resource. |
[out] | array_size | The size of preview size array. |
[out] | formats | An array of PP_VideoCaptureFormat corresponding to the supported video capture formats. The ownership of the array belongs to PPB_CameraCapabilities_Private and the caller should not free it. When a PPB_CameraCapabilities_Private is deleted, the array returning from this is no longer valid. |
Definition at line 67 of file ppb_camera_capabilities_private.h.
PP_Bool(* PPB_CameraCapabilities_Private_0_1::IsCameraCapabilities)(PP_Resource resource) |
IsCameraCapabilities() determines if the given resource is a PPB_CameraCapabilities_Private
.
[in] | resource | A PP_Resource corresponding to an image capture capabilities resource. |
PP_Bool
containing PP_TRUE
if the given resource is an PP_CameraCapabilities_Private
resource, otherwise PP_FALSE
. Definition at line 53 of file ppb_camera_capabilities_private.h.