webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Public Member Functions | Public Attributes | List of all members
webrtc::VideoAnalyzer Class Reference
Inheritance diagram for webrtc::VideoAnalyzer:
webrtc::PacketReceiver webrtc::Transport rtc::VideoSinkInterface< VideoFrame >

Public Member Functions

 VideoAnalyzer (test::LayerFilteringTransport *transport, const std::string &test_label, double avg_psnr_threshold, double avg_ssim_threshold, int duration_frames, FILE *graph_data_output_file, const std::string &graph_title, uint32_t ssrc_to_analyze, uint32_t rtx_ssrc_to_analyze, uint32_t selected_stream_width, uint32_t selected_stream_height, int selected_sl, int selected_tl, bool is_quick_test_enabled)
 
 ~VideoAnalyzer ()
 
virtual void SetReceiver (PacketReceiver *receiver)
 
void SetSendStream (VideoSendStream *stream)
 
void SetReceiveStream (VideoReceiveStream *stream)
 
rtc::VideoSinkInterface< VideoFrame > * InputInterface ()
 
rtc::VideoSourceInterface< VideoFrame > * OutputInterface ()
 
DeliveryStatus DeliverPacket (MediaType media_type, const uint8_t *packet, size_t length, const PacketTime &packet_time) override
 
void MeasuredEncodeTiming (int64_t ntp_time_ms, int encode_time_ms)
 
void PreEncodeOnFrame (const VideoFrame &video_frame)
 
void PostEncodeFrameCallback (const EncodedFrame &encoded_frame)
 
bool SendRtp (const uint8_t *packet, size_t length, const PacketOptions &options) override
 
bool SendRtcp (const uint8_t *packet, size_t length) override
 
void OnFrame (const VideoFrame &video_frame) override
 
void Wait ()
 
rtc::VideoSinkInterface< VideoFrame > * pre_encode_proxy ()
 
EncodedFrameObserverencode_timing_proxy ()
 
void StartMeasuringCpuProcessTime ()
 
void StopMeasuringCpuProcessTime ()
 
void StartExcludingCpuThreadTime ()
 
void StopExcludingCpuThreadTime ()
 
double GetCpuUsagePercent ()
 
- Public Member Functions inherited from rtc::VideoSinkInterface< VideoFrame >
virtual ~VideoSinkInterface ()
 
virtual ~VideoSinkInterface ()
 
virtual void OnFrame (const VideoFrame &frame)=0
 
virtual void OnFrame (const VideoFrame &frame)=0
 

Public Attributes

test::LayerFilteringTransport *const transport_
 
PacketReceiverreceiver_
 

Additional Inherited Members

- Public Types inherited from webrtc::PacketReceiver
enum  DeliveryStatus {
  DELIVERY_OK, DELIVERY_UNKNOWN_SSRC, DELIVERY_PACKET_ERROR, DELIVERY_OK,
  DELIVERY_UNKNOWN_SSRC, DELIVERY_PACKET_ERROR
}
 
enum  DeliveryStatus {
  DELIVERY_OK, DELIVERY_UNKNOWN_SSRC, DELIVERY_PACKET_ERROR, DELIVERY_OK,
  DELIVERY_UNKNOWN_SSRC, DELIVERY_PACKET_ERROR
}
 
- Protected Member Functions inherited from webrtc::PacketReceiver
virtual ~PacketReceiver ()
 
virtual ~PacketReceiver ()
 
- Protected Member Functions inherited from webrtc::Transport
virtual ~Transport ()
 
virtual ~Transport ()
 

Constructor & Destructor Documentation

◆ VideoAnalyzer()

webrtc::VideoAnalyzer::VideoAnalyzer ( test::LayerFilteringTransport transport,
const std::string test_label,
double  avg_psnr_threshold,
double  avg_ssim_threshold,
int  duration_frames,
FILE *  graph_data_output_file,
const std::string graph_title,
uint32_t  ssrc_to_analyze,
uint32_t  rtx_ssrc_to_analyze,
uint32_t  selected_stream_width,
uint32_t  selected_stream_height,
int  selected_sl,
int  selected_tl,
bool  is_quick_test_enabled 
)
inline

◆ ~VideoAnalyzer()

webrtc::VideoAnalyzer::~VideoAnalyzer ( )
inline

Member Function Documentation

◆ DeliverPacket()

DeliveryStatus webrtc::VideoAnalyzer::DeliverPacket ( MediaType  media_type,
const uint8_t packet,
size_t  length,
const PacketTime packet_time 
)
inlineoverridevirtual

◆ encode_timing_proxy()

EncodedFrameObserver* webrtc::VideoAnalyzer::encode_timing_proxy ( )
inline

◆ GetCpuUsagePercent()

double webrtc::VideoAnalyzer::GetCpuUsagePercent ( )
inline

◆ InputInterface()

rtc::VideoSinkInterface<VideoFrame>* webrtc::VideoAnalyzer::InputInterface ( )
inline

◆ MeasuredEncodeTiming()

void webrtc::VideoAnalyzer::MeasuredEncodeTiming ( int64_t  ntp_time_ms,
int  encode_time_ms 
)
inline

◆ OnFrame()

void webrtc::VideoAnalyzer::OnFrame ( const VideoFrame video_frame)
inlineoverride

◆ OutputInterface()

rtc::VideoSourceInterface<VideoFrame>* webrtc::VideoAnalyzer::OutputInterface ( )
inline

◆ PostEncodeFrameCallback()

void webrtc::VideoAnalyzer::PostEncodeFrameCallback ( const EncodedFrame encoded_frame)
inline

◆ pre_encode_proxy()

rtc::VideoSinkInterface<VideoFrame>* webrtc::VideoAnalyzer::pre_encode_proxy ( )
inline

◆ PreEncodeOnFrame()

void webrtc::VideoAnalyzer::PreEncodeOnFrame ( const VideoFrame video_frame)
inline

◆ SendRtcp()

bool webrtc::VideoAnalyzer::SendRtcp ( const uint8_t packet,
size_t  length 
)
inlineoverridevirtual

Implements webrtc::Transport.

◆ SendRtp()

bool webrtc::VideoAnalyzer::SendRtp ( const uint8_t packet,
size_t  length,
const PacketOptions options 
)
inlineoverridevirtual

Implements webrtc::Transport.

◆ SetReceiver()

virtual void webrtc::VideoAnalyzer::SetReceiver ( PacketReceiver receiver)
inlinevirtual

◆ SetReceiveStream()

void webrtc::VideoAnalyzer::SetReceiveStream ( VideoReceiveStream stream)
inline

◆ SetSendStream()

void webrtc::VideoAnalyzer::SetSendStream ( VideoSendStream stream)
inline

◆ StartExcludingCpuThreadTime()

void webrtc::VideoAnalyzer::StartExcludingCpuThreadTime ( )
inline

◆ StartMeasuringCpuProcessTime()

void webrtc::VideoAnalyzer::StartMeasuringCpuProcessTime ( )
inline

◆ StopExcludingCpuThreadTime()

void webrtc::VideoAnalyzer::StopExcludingCpuThreadTime ( )
inline

◆ StopMeasuringCpuProcessTime()

void webrtc::VideoAnalyzer::StopMeasuringCpuProcessTime ( )
inline

◆ Wait()

void webrtc::VideoAnalyzer::Wait ( )
inline

Member Data Documentation

◆ receiver_

PacketReceiver* webrtc::VideoAnalyzer::receiver_

◆ transport_

test::LayerFilteringTransport* const webrtc::VideoAnalyzer::transport_

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