webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <videocapturer.h>
Public Attributes | |
sigslot::signal2< VideoCapturer *, CaptureState > | SignalStateChange |
Protected Member Functions | |
virtual void | OnSinkWantsChanged (const rtc::VideoSinkWants &wants) |
bool | AdaptFrame (int width, int height, int64_t camera_time_us, int64_t system_time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y, int64_t *translated_camera_time_us) |
void | OnFrame (const webrtc::VideoFrame &frame, int orig_width, int orig_height) |
VideoAdapter * | video_adapter () |
void | SetCaptureState (CaptureState state) |
virtual bool | GetPreferredFourccs (std::vector< uint32_t > *fourccs)=0 |
void | SetId (const std::string &id) |
void | SetCaptureFormat (const VideoFormat *format) |
void | SetSupportedFormats (const std::vector< VideoFormat > &formats) |
virtual void | OnSinkWantsChanged (const rtc::VideoSinkWants &wants) |
bool | AdaptFrame (int width, int height, int64_t camera_time_us, int64_t system_time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y, int64_t *translated_camera_time_us) |
void | OnFrame (const webrtc::VideoFrame &frame, int orig_width, int orig_height) |
VideoAdapter * | video_adapter () |
void | SetCaptureState (CaptureState state) |
virtual bool | GetPreferredFourccs (std::vector< uint32_t > *fourccs)=0 |
void | SetId (const std::string &id) |
void | SetCaptureFormat (const VideoFormat *format) |
void | SetSupportedFormats (const std::vector< VideoFormat > &formats) |
Protected Member Functions inherited from sigslot::has_slots_interface | |
has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all) | |
virtual | ~has_slots_interface () |
has_slots_interface (signal_connect_t conn, signal_disconnect_t disc, disconnect_all_t disc_all) | |
virtual | ~has_slots_interface () |
Protected Member Functions inherited from rtc::VideoSourceInterface< webrtc::VideoFrame > | |
virtual | ~VideoSourceInterface () |
virtual | ~VideoSourceInterface () |
cricket::VideoCapturer::VideoCapturer | ( | ) |
|
inlinevirtual |
cricket::VideoCapturer::VideoCapturer | ( | ) |
|
inlinevirtual |
|
protected |
|
protected |
|
overridevirtual |
Implements rtc::VideoSourceInterface< webrtc::VideoFrame >.
|
overridevirtual |
Implements rtc::VideoSourceInterface< webrtc::VideoFrame >.
|
inlinevirtual |
|
inlinevirtual |
|
inline |
|
inline |
void cricket::VideoCapturer::ConstrainSupportedFormats | ( | const VideoFormat & | max_format | ) |
void cricket::VideoCapturer::ConstrainSupportedFormats | ( | const VideoFormat & | max_format | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in TestVideoCapturer, cricket::WebRtcVideoCapturer, and cricket::WebRtcVideoCapturer.
|
virtual |
Reimplemented in TestVideoCapturer, cricket::WebRtcVideoCapturer, and cricket::WebRtcVideoCapturer.
|
inline |
|
inline |
|
inline |
|
inline |
bool cricket::VideoCapturer::GetInputSize | ( | int * | width, |
int * | height | ||
) |
bool cricket::VideoCapturer::GetInputSize | ( | int * | width, |
int * | height | ||
) |
|
protectedpure virtual |
|
protectedpure virtual |
const std::vector< VideoFormat > * cricket::VideoCapturer::GetSupportedFormats | ( | ) | const |
const std::vector<VideoFormat>* cricket::VideoCapturer::GetSupportedFormats | ( | ) | const |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
protected |
|
protected |
|
protectedvirtual |
Reimplemented in cricket::WebRtcVideoCapturer, and cricket::WebRtcVideoCapturer.
|
protectedvirtual |
Reimplemented in cricket::WebRtcVideoCapturer, and cricket::WebRtcVideoCapturer.
|
overridevirtual |
Implements rtc::VideoSourceInterface< webrtc::VideoFrame >.
|
overridevirtual |
Implements rtc::VideoSourceInterface< webrtc::VideoFrame >.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
protected |
|
pure virtual |
|
pure virtual |
bool cricket::VideoCapturer::StartCapturing | ( | const VideoFormat & | capture_format | ) |
bool cricket::VideoCapturer::StartCapturing | ( | const VideoFormat & | capture_format | ) |
|
pure virtual |
|
pure virtual |
|
inlineprotected |
|
inlineprotected |
sigslot::signal2< VideoCapturer *, CaptureState > cricket::VideoCapturer::SignalStateChange |