webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
rtc::AdaptedVideoTrackSource Class Reference

#include <adaptedvideotracksource.h>

Inheritance diagram for rtc::AdaptedVideoTrackSource:
webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::Notifier< webrtc::VideoTrackSourceInterface > webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface webrtc::VideoTrackSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface rtc::VideoSourceInterface< VideoFrame > webrtc::MediaSourceInterface webrtc::AndroidVideoTrackSource webrtc::AndroidVideoTrackSource

Public Member Functions

 AdaptedVideoTrackSource ()
 
 AdaptedVideoTrackSource ()
 
- Public Member Functions inherited from webrtc::Notifier< webrtc::VideoTrackSourceInterface >
 Notifier ()
 
 Notifier ()
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void RegisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
virtual void UnregisterObserver (ObserverInterface *observer)
 
void FireOnChanged ()
 
void FireOnChanged ()
 
- Public Member Functions inherited from webrtc::VideoTrackSourceInterface
virtual bool is_screencast () const =0
 
virtual rtc::Optional< bool > needs_denoising () const =0
 
virtual bool is_screencast () const =0
 
virtual rtc::Optional< bool > needs_denoising () const =0
 
- Public Member Functions inherited from webrtc::MediaSourceInterface
virtual SourceState state () const =0
 
virtual bool remote () const =0
 
virtual SourceState state () const =0
 
virtual bool remote () const =0
 
- 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
 
- Public Member Functions inherited from webrtc::NotifierInterface
virtual ~NotifierInterface ()
 
virtual ~NotifierInterface ()
 
- Public Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void AddOrUpdateSink (VideoSinkInterface< VideoFrame > *sink, const VideoSinkWants &wants)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 
virtual void RemoveSink (VideoSinkInterface< VideoFrame > *sink)=0
 

Protected Member Functions

 AdaptedVideoTrackSource (int required_alignment)
 
void OnFrame (const webrtc::VideoFrame &frame)
 
bool AdaptFrame (int width, int height, int64_t time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y)
 
bool apply_rotation ()
 
cricket::VideoAdaptervideo_adapter ()
 
 AdaptedVideoTrackSource (int required_alignment)
 
void OnFrame (const webrtc::VideoFrame &frame)
 
bool AdaptFrame (int width, int height, int64_t time_us, int *out_width, int *out_height, int *crop_width, int *crop_height, int *crop_x, int *crop_y)
 
bool apply_rotation ()
 
cricket::VideoAdaptervideo_adapter ()
 
- Protected Member Functions inherited from webrtc::VideoTrackSourceInterface
virtual ~VideoTrackSourceInterface ()
 
virtual ~VideoTrackSourceInterface ()
 
- Protected Member Functions inherited from webrtc::MediaSourceInterface
virtual ~MediaSourceInterface ()
 
virtual ~MediaSourceInterface ()
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Member Functions inherited from rtc::VideoSourceInterface< VideoFrame >
virtual ~VideoSourceInterface ()
 
virtual ~VideoSourceInterface ()
 

Additional Inherited Members

- Public Types inherited from webrtc::MediaSourceInterface
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
enum  SourceState {
  kInitializing, kLive, kEnded, kMuted,
  kInitializing, kLive, kEnded, kMuted
}
 
- Protected Attributes inherited from webrtc::Notifier< webrtc::VideoTrackSourceInterface >
std::list< ObserverInterface *> observers_
 

Constructor & Destructor Documentation

◆ AdaptedVideoTrackSource() [1/4]

rtc::AdaptedVideoTrackSource::AdaptedVideoTrackSource ( )

◆ AdaptedVideoTrackSource() [2/4]

rtc::AdaptedVideoTrackSource::AdaptedVideoTrackSource ( int  required_alignment)
protected

◆ AdaptedVideoTrackSource() [3/4]

rtc::AdaptedVideoTrackSource::AdaptedVideoTrackSource ( )

◆ AdaptedVideoTrackSource() [4/4]

rtc::AdaptedVideoTrackSource::AdaptedVideoTrackSource ( int  required_alignment)
protected

Member Function Documentation

◆ AdaptFrame() [1/2]

bool rtc::AdaptedVideoTrackSource::AdaptFrame ( int  width,
int  height,
int64_t  time_us,
int *  out_width,
int *  out_height,
int *  crop_width,
int *  crop_height,
int *  crop_x,
int *  crop_y 
)
protected

◆ AdaptFrame() [2/2]

bool rtc::AdaptedVideoTrackSource::AdaptFrame ( int  width,
int  height,
int64_t  time_us,
int *  out_width,
int *  out_height,
int *  crop_width,
int *  crop_height,
int *  crop_x,
int *  crop_y 
)
protected

◆ apply_rotation() [1/2]

bool rtc::AdaptedVideoTrackSource::apply_rotation ( )
protected

◆ apply_rotation() [2/2]

bool rtc::AdaptedVideoTrackSource::apply_rotation ( )
protected

◆ OnFrame() [1/2]

void rtc::AdaptedVideoTrackSource::OnFrame ( const webrtc::VideoFrame frame)
protected

◆ OnFrame() [2/2]

void rtc::AdaptedVideoTrackSource::OnFrame ( const webrtc::VideoFrame frame)
protected

◆ video_adapter() [1/2]

cricket::VideoAdapter* rtc::AdaptedVideoTrackSource::video_adapter ( )
inlineprotected

◆ video_adapter() [2/2]

cricket::VideoAdapter* rtc::AdaptedVideoTrackSource::video_adapter ( )
inlineprotected

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