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

#include <main_wnd.h>

Inheritance diagram for GtkMainWnd::VideoRenderer:
rtc::VideoSinkInterface< webrtc::VideoFrame > rtc::VideoSinkInterface< webrtc::VideoFrame >

Public Member Functions

 VideoRenderer (GtkMainWnd *main_wnd, webrtc::VideoTrackInterface *track_to_render)
 
virtual ~VideoRenderer ()
 
void OnFrame (const webrtc::VideoFrame &frame) override
 
const uint8_timage () const
 
int width () const
 
int height () const
 
 VideoRenderer (GtkMainWnd *main_wnd, webrtc::VideoTrackInterface *track_to_render)
 
virtual ~VideoRenderer ()
 
void OnFrame (const webrtc::VideoFrame &frame) override
 
const uint8_timage () const
 
int width () const
 
int height () const
 
- Public Member Functions inherited from rtc::VideoSinkInterface< webrtc::VideoFrame >
virtual ~VideoSinkInterface ()
 
virtual ~VideoSinkInterface ()
 

Protected Member Functions

void SetSize (int width, int height)
 
void SetSize (int width, int height)
 

Protected Attributes

std::unique_ptr< uint8_t[]> image_
 
int width_
 
int height_
 
GtkMainWndmain_wnd_
 
rtc::scoped_refptr< webrtc::VideoTrackInterfacerendered_track_
 

Constructor & Destructor Documentation

◆ VideoRenderer() [1/2]

GtkMainWnd::VideoRenderer::VideoRenderer ( GtkMainWnd main_wnd,
webrtc::VideoTrackInterface track_to_render 
)

◆ ~VideoRenderer() [1/2]

GtkMainWnd::VideoRenderer::~VideoRenderer ( )
virtual

◆ VideoRenderer() [2/2]

GtkMainWnd::VideoRenderer::VideoRenderer ( GtkMainWnd main_wnd,
webrtc::VideoTrackInterface track_to_render 
)

◆ ~VideoRenderer() [2/2]

virtual GtkMainWnd::VideoRenderer::~VideoRenderer ( )
virtual

Member Function Documentation

◆ height() [1/2]

int GtkMainWnd::VideoRenderer::height ( ) const
inline

◆ height() [2/2]

int GtkMainWnd::VideoRenderer::height ( ) const
inline

◆ image() [1/2]

const uint8_t* GtkMainWnd::VideoRenderer::image ( ) const
inline

◆ image() [2/2]

const uint8_t* GtkMainWnd::VideoRenderer::image ( ) const
inline

◆ OnFrame() [1/2]

void GtkMainWnd::VideoRenderer::OnFrame ( const webrtc::VideoFrame frame)
overridevirtual

◆ OnFrame() [2/2]

void GtkMainWnd::VideoRenderer::OnFrame ( const webrtc::VideoFrame frame)
overridevirtual

◆ SetSize() [1/2]

void GtkMainWnd::VideoRenderer::SetSize ( int  width,
int  height 
)
protected

◆ SetSize() [2/2]

void GtkMainWnd::VideoRenderer::SetSize ( int  width,
int  height 
)
protected

◆ width() [1/2]

int GtkMainWnd::VideoRenderer::width ( ) const
inline

◆ width() [2/2]

int GtkMainWnd::VideoRenderer::width ( ) const
inline

Member Data Documentation

◆ height_

int GtkMainWnd::VideoRenderer::height_
protected

◆ image_

std::unique_ptr< uint8_t[]> GtkMainWnd::VideoRenderer::image_
protected

◆ main_wnd_

GtkMainWnd * GtkMainWnd::VideoRenderer::main_wnd_
protected

◆ rendered_track_

rtc::scoped_refptr< webrtc::VideoTrackInterface > GtkMainWnd::VideoRenderer::rendered_track_
protected

◆ width_

int GtkMainWnd::VideoRenderer::width_
protected

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