Pepper_42_C++_interfaces
|
#include <video_capture_dev.h>
Public Member Functions | |
VideoCapture_Dev (const InstanceHandle &instance) | |
VideoCapture_Dev (PP_Resource resource) | |
virtual | ~VideoCapture_Dev () |
int32_t | EnumerateDevices (const CompletionCallbackWithOutput< std::vector< DeviceRef_Dev > > &callback) |
int32_t | MonitorDeviceChange (PP_MonitorDeviceChangeCallback callback, void *user_data) |
int32_t | Open (const DeviceRef_Dev &device_ref, const PP_VideoCaptureDeviceInfo_Dev &requested_info, uint32_t buffer_count, const CompletionCallback &callback) |
int32_t | StartCapture () |
int32_t | ReuseBuffer (uint32_t buffer) |
int32_t | StopCapture () |
void | Close () |
![]() | |
Resource () | |
The default constructor. More... | |
Resource (const Resource &other) | |
virtual | ~Resource () |
Destructor. More... | |
Resource & | operator= (const Resource &other) |
bool | is_null () const |
PP_Resource | pp_resource () const |
PP_Resource | detach () |
Static Public Member Functions | |
static bool | IsAvailable () |
Additional Inherited Members | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 19 of file video_capture_dev.h.
|
explicit |
pp::VideoCapture_Dev::VideoCapture_Dev | ( | PP_Resource | resource | ) |
|
virtual |
void pp::VideoCapture_Dev::Close | ( | ) |
int32_t pp::VideoCapture_Dev::EnumerateDevices | ( | const CompletionCallbackWithOutput< std::vector< DeviceRef_Dev > > & | callback | ) |
|
static |
int32_t pp::VideoCapture_Dev::MonitorDeviceChange | ( | PP_MonitorDeviceChangeCallback | callback, |
void * | user_data | ||
) |
int32_t pp::VideoCapture_Dev::Open | ( | const DeviceRef_Dev & | device_ref, |
const PP_VideoCaptureDeviceInfo_Dev & | requested_info, | ||
uint32_t | buffer_count, | ||
const CompletionCallback & | callback | ||
) |
int32_t pp::VideoCapture_Dev::ReuseBuffer | ( | uint32_t | buffer | ) |
int32_t pp::VideoCapture_Dev::StartCapture | ( | ) |
int32_t pp::VideoCapture_Dev::StopCapture | ( | ) |