webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
webrtc::videocapturemodule::VideoCaptureImpl Class Reference

#include <video_capture_impl.h>

Inheritance diagram for webrtc::videocapturemodule::VideoCaptureImpl:
webrtc::VideoCaptureModule webrtc::VideoCaptureExternal webrtc::VideoCaptureModule webrtc::VideoCaptureExternal rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface webrtc::videocapturemodule::VideoCaptureDS webrtc::videocapturemodule::VideoCaptureDS webrtc::videocapturemodule::VideoCaptureIos webrtc::videocapturemodule::VideoCaptureIos webrtc::videocapturemodule::VideoCaptureMF webrtc::videocapturemodule::VideoCaptureMF webrtc::videocapturemodule::VideoCaptureModuleV4L2 webrtc::videocapturemodule::VideoCaptureModuleV4L2

Public Member Functions

void RegisterCaptureDataCallback (rtc::VideoSinkInterface< VideoFrame > *dataCallback) override
 
void DeRegisterCaptureDataCallback () override
 
int32_t SetCaptureRotation (VideoRotation rotation) override
 
bool SetApplyRotation (bool enable) override
 
bool GetApplyRotation () override
 
const char * CurrentDeviceName () const override
 
int32_t IncomingFrame (uint8_t *videoFrame, size_t videoFrameLength, const VideoCaptureCapability &frameInfo, int64_t captureTime=0) override
 
int32_t StartCapture (const VideoCaptureCapability &capability) override
 
int32_t StopCapture () override
 
bool CaptureStarted () override
 
int32_t CaptureSettings (VideoCaptureCapability &) override
 
void RegisterCaptureDataCallback (rtc::VideoSinkInterface< VideoFrame > *dataCallback) override
 
void DeRegisterCaptureDataCallback () override
 
int32_t SetCaptureRotation (VideoRotation rotation) override
 
bool SetApplyRotation (bool enable) override
 
bool GetApplyRotation () override
 
const char * CurrentDeviceName () const override
 
int32_t IncomingFrame (uint8_t *videoFrame, size_t videoFrameLength, const VideoCaptureCapability &frameInfo, int64_t captureTime=0) override
 
int32_t StartCapture (const VideoCaptureCapability &capability) override
 
int32_t StopCapture () override
 
bool CaptureStarted () override
 
int32_t CaptureSettings (VideoCaptureCapability &) override
 
- Public Member Functions inherited from rtc::RefCountInterface
virtual int AddRef () const =0
 
virtual int Release () const =0
 
virtual int AddRef () const =0
 
virtual int Release () const =0
 

Static Public Member Functions

static rtc::scoped_refptr< VideoCaptureModuleCreate (const char *deviceUniqueIdUTF8)
 
static rtc::scoped_refptr< VideoCaptureModuleCreate (VideoCaptureExternal *&externalCapture)
 
static DeviceInfoCreateDeviceInfo ()
 
static int32_t RotationFromDegrees (int degrees, VideoRotation *rotation)
 
static int32_t RotationInDegrees (VideoRotation rotation, int *degrees)
 
static rtc::scoped_refptr< VideoCaptureModuleCreate (const char *deviceUniqueIdUTF8)
 
static rtc::scoped_refptr< VideoCaptureModuleCreate (VideoCaptureExternal *&externalCapture)
 
static DeviceInfoCreateDeviceInfo ()
 
static int32_t RotationFromDegrees (int degrees, VideoRotation *rotation)
 
static int32_t RotationInDegrees (VideoRotation rotation, int *degrees)
 

Protected Member Functions

 VideoCaptureImpl ()
 
virtual ~VideoCaptureImpl ()
 
int32_t DeliverCapturedFrame (VideoFrame &captureFrame)
 
 VideoCaptureImpl ()
 
virtual ~VideoCaptureImpl ()
 
int32_t DeliverCapturedFrame (VideoFrame &captureFrame)
 
- Protected Member Functions inherited from webrtc::VideoCaptureModule
virtual ~VideoCaptureModule ()
 
virtual ~VideoCaptureModule ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from webrtc::VideoCaptureExternal
 ~VideoCaptureExternal ()
 
 ~VideoCaptureExternal ()
 

Protected Attributes

char * _deviceUniqueId
 
CriticalSectionWrapper_apiCs
 
VideoCaptureCapability _requestedCapability
 

Constructor & Destructor Documentation

◆ VideoCaptureImpl() [1/2]

webrtc::videocapturemodule::VideoCaptureImpl::VideoCaptureImpl ( )
protected

◆ ~VideoCaptureImpl() [1/2]

webrtc::videocapturemodule::VideoCaptureImpl::~VideoCaptureImpl ( )
protectedvirtual

◆ VideoCaptureImpl() [2/2]

webrtc::videocapturemodule::VideoCaptureImpl::VideoCaptureImpl ( )
protected

◆ ~VideoCaptureImpl() [2/2]

virtual webrtc::videocapturemodule::VideoCaptureImpl::~VideoCaptureImpl ( )
protectedvirtual

Member Function Documentation

◆ CaptureSettings() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::CaptureSettings ( VideoCaptureCapability )
inlineoverridevirtual

◆ CaptureSettings() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::CaptureSettings ( VideoCaptureCapability )
inlineoverridevirtual

◆ CaptureStarted() [1/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::CaptureStarted ( )
inlineoverridevirtual

◆ CaptureStarted() [2/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::CaptureStarted ( )
inlineoverridevirtual

◆ Create() [1/4]

static rtc::scoped_refptr<VideoCaptureModule> webrtc::videocapturemodule::VideoCaptureImpl::Create ( const char *  deviceUniqueIdUTF8)
static

◆ Create() [2/4]

rtc::scoped_refptr< VideoCaptureModule > webrtc::videocapturemodule::VideoCaptureImpl::Create ( const char *  deviceUniqueIdUTF8)
static

◆ Create() [3/4]

rtc::scoped_refptr< VideoCaptureModule > webrtc::videocapturemodule::VideoCaptureImpl::Create ( VideoCaptureExternal *&  externalCapture)
static

◆ Create() [4/4]

static rtc::scoped_refptr<VideoCaptureModule> webrtc::videocapturemodule::VideoCaptureImpl::Create ( VideoCaptureExternal *&  externalCapture)
static

◆ CreateDeviceInfo() [1/2]

static DeviceInfo* webrtc::videocapturemodule::VideoCaptureImpl::CreateDeviceInfo ( )
static

◆ CreateDeviceInfo() [2/2]

VideoCaptureModule::DeviceInfo * webrtc::videocapturemodule::VideoCaptureImpl::CreateDeviceInfo ( )
static

◆ CurrentDeviceName() [1/2]

const char * webrtc::videocapturemodule::VideoCaptureImpl::CurrentDeviceName ( ) const
overridevirtual

◆ CurrentDeviceName() [2/2]

const char* webrtc::videocapturemodule::VideoCaptureImpl::CurrentDeviceName ( ) const
overridevirtual

◆ DeliverCapturedFrame() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::DeliverCapturedFrame ( VideoFrame captureFrame)
protected

◆ DeliverCapturedFrame() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::DeliverCapturedFrame ( VideoFrame captureFrame)
protected

◆ DeRegisterCaptureDataCallback() [1/2]

void webrtc::videocapturemodule::VideoCaptureImpl::DeRegisterCaptureDataCallback ( )
overridevirtual

◆ DeRegisterCaptureDataCallback() [2/2]

void webrtc::videocapturemodule::VideoCaptureImpl::DeRegisterCaptureDataCallback ( )
overridevirtual

◆ GetApplyRotation() [1/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::GetApplyRotation ( )
inlineoverridevirtual

◆ GetApplyRotation() [2/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::GetApplyRotation ( )
inlineoverridevirtual

◆ IncomingFrame() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::IncomingFrame ( uint8_t videoFrame,
size_t  videoFrameLength,
const VideoCaptureCapability frameInfo,
int64_t  captureTime = 0 
)
overridevirtual

◆ IncomingFrame() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::IncomingFrame ( uint8_t videoFrame,
size_t  videoFrameLength,
const VideoCaptureCapability frameInfo,
int64_t  captureTime = 0 
)
overridevirtual

◆ RegisterCaptureDataCallback() [1/2]

void webrtc::videocapturemodule::VideoCaptureImpl::RegisterCaptureDataCallback ( rtc::VideoSinkInterface< VideoFrame > *  dataCallback)
overridevirtual

◆ RegisterCaptureDataCallback() [2/2]

void webrtc::videocapturemodule::VideoCaptureImpl::RegisterCaptureDataCallback ( rtc::VideoSinkInterface< VideoFrame > *  dataCallback)
overridevirtual

◆ RotationFromDegrees() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::RotationFromDegrees ( int  degrees,
VideoRotation rotation 
)
static

◆ RotationFromDegrees() [2/2]

static int32_t webrtc::videocapturemodule::VideoCaptureImpl::RotationFromDegrees ( int  degrees,
VideoRotation rotation 
)
static

◆ RotationInDegrees() [1/2]

static int32_t webrtc::videocapturemodule::VideoCaptureImpl::RotationInDegrees ( VideoRotation  rotation,
int *  degrees 
)
static

◆ RotationInDegrees() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::RotationInDegrees ( VideoRotation  rotation,
int *  degrees 
)
static

◆ SetApplyRotation() [1/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::SetApplyRotation ( bool  enable)
overridevirtual

◆ SetApplyRotation() [2/2]

bool webrtc::videocapturemodule::VideoCaptureImpl::SetApplyRotation ( bool  enable)
overridevirtual

◆ SetCaptureRotation() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::SetCaptureRotation ( VideoRotation  rotation)
overridevirtual

◆ SetCaptureRotation() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::SetCaptureRotation ( VideoRotation  rotation)
overridevirtual

◆ StartCapture() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::StartCapture ( const VideoCaptureCapability capability)
inlineoverridevirtual

◆ StartCapture() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::StartCapture ( const VideoCaptureCapability capability)
inlineoverridevirtual

◆ StopCapture() [1/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::StopCapture ( )
inlineoverridevirtual

◆ StopCapture() [2/2]

int32_t webrtc::videocapturemodule::VideoCaptureImpl::StopCapture ( )
inlineoverridevirtual

Member Data Documentation

◆ _apiCs

CriticalSectionWrapper & webrtc::videocapturemodule::VideoCaptureImpl::_apiCs
protected

◆ _deviceUniqueId

char * webrtc::videocapturemodule::VideoCaptureImpl::_deviceUniqueId
protected

◆ _requestedCapability

VideoCaptureCapability webrtc::videocapturemodule::VideoCaptureImpl::_requestedCapability
protected

The documentation for this class was generated from the following files: