Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_CameraCapabilities_Private_0_1 Struct Reference

#include <ppb_camera_capabilities_private.h>

Collaboration diagram for PPB_CameraCapabilities_Private_0_1:
Collaboration graph

Public Attributes

PP_Bool(* IsCameraCapabilities )(PP_Resource resource)
 
void(* GetSupportedVideoCaptureFormats )(PP_Resource capabilities, uint32_t *array_size, struct PP_VideoCaptureFormat **formats)
 

Detailed Description

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.

Member Data Documentation

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.

Parameters
[in]capabilitiesA PP_Resource corresponding to an image capture capabilities resource.
[out]array_sizeThe size of preview size array.
[out]formatsAn 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.

Parameters
[in]resourceA PP_Resource corresponding to an image capture capabilities resource.
Returns
A 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.


The documentation for this struct was generated from the following file: