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

#include <i420_buffer.h>

Inheritance diagram for webrtc::I420Buffer:
webrtc::VideoFrameBuffer webrtc::VideoFrameBuffer rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface

Public Member Functions

void InitializeData ()
 
void SetToBlack ()
 
int width () const override
 
int height () const override
 
const uint8_tDataY () const override
 
const uint8_tDataU () const override
 
const uint8_tDataV () const override
 
int StrideY () const override
 
int StrideU () const override
 
int StrideV () const override
 
voidnative_handle () const override
 
rtc::scoped_refptr< VideoFrameBufferNativeToI420Buffer () override
 
uint8_tMutableDataY ()
 
uint8_tMutableDataU ()
 
uint8_tMutableDataV ()
 
void CropAndScaleFrom (const VideoFrameBuffer &src, int offset_x, int offset_y, int crop_width, int crop_height)
 
void CropAndScaleFrom (const VideoFrameBuffer &src)
 
void ScaleFrom (const VideoFrameBuffer &src)
 
void InitializeData ()
 
void SetToBlack ()
 
int width () const override
 
int height () const override
 
const uint8_tDataY () const override
 
const uint8_tDataU () const override
 
const uint8_tDataV () const override
 
int StrideY () const override
 
int StrideU () const override
 
int StrideV () const override
 
voidnative_handle () const override
 
rtc::scoped_refptr< VideoFrameBufferNativeToI420Buffer () override
 
uint8_tMutableDataY ()
 
uint8_tMutableDataU ()
 
uint8_tMutableDataV ()
 
void CropAndScaleFrom (const VideoFrameBuffer &src, int offset_x, int offset_y, int crop_width, int crop_height)
 
void CropAndScaleFrom (const VideoFrameBuffer &src)
 
void ScaleFrom (const VideoFrameBuffer &src)
 
- 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< I420BufferCreate (int width, int height)
 
static rtc::scoped_refptr< I420BufferCreate (int width, int height, int stride_y, int stride_u, int stride_v)
 
static rtc::scoped_refptr< I420BufferCopy (const VideoFrameBuffer &buffer)
 
static rtc::scoped_refptr< I420BufferCopy (int width, int height, const uint8_t *data_y, int stride_y, const uint8_t *data_u, int stride_u, const uint8_t *data_v, int stride_v)
 
static rtc::scoped_refptr< I420BufferRotate (const VideoFrameBuffer &src, VideoRotation rotation)
 
static WEBRTC_DYLIB_EXPORT void SetBlack (I420Buffer *buffer)
 
static rtc::scoped_refptr< VideoFrameBufferRotate (rtc::scoped_refptr< VideoFrameBuffer > src, VideoRotation rotation)
 
static rtc::scoped_refptr< I420BufferCreate (int width, int height)
 
static rtc::scoped_refptr< I420BufferCreate (int width, int height, int stride_y, int stride_u, int stride_v)
 
static rtc::scoped_refptr< I420BufferCopy (const VideoFrameBuffer &buffer)
 
static rtc::scoped_refptr< I420BufferCopy (int width, int height, const uint8_t *data_y, int stride_y, const uint8_t *data_u, int stride_u, const uint8_t *data_v, int stride_v)
 
static rtc::scoped_refptr< I420BufferRotate (const VideoFrameBuffer &src, VideoRotation rotation)
 
static WEBRTC_DYLIB_EXPORT void SetBlack (I420Buffer *buffer)
 
static rtc::scoped_refptr< VideoFrameBufferRotate (rtc::scoped_refptr< VideoFrameBuffer > src, VideoRotation rotation)
 

Protected Member Functions

 I420Buffer (int width, int height)
 
 I420Buffer (int width, int height, int stride_y, int stride_u, int stride_v)
 
 ~I420Buffer () override
 
 I420Buffer (int width, int height)
 
 I420Buffer (int width, int height, int stride_y, int stride_u, int stride_v)
 
 ~I420Buffer () override
 
- Protected Member Functions inherited from webrtc::VideoFrameBuffer
 ~VideoFrameBuffer () override
 
 ~VideoFrameBuffer () override
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 

Constructor & Destructor Documentation

◆ I420Buffer() [1/4]

webrtc::I420Buffer::I420Buffer ( int  width,
int  height 
)
protected

◆ I420Buffer() [2/4]

webrtc::I420Buffer::I420Buffer ( int  width,
int  height,
int  stride_y,
int  stride_u,
int  stride_v 
)
protected

◆ ~I420Buffer() [1/2]

webrtc::I420Buffer::~I420Buffer ( )
overrideprotected

◆ I420Buffer() [3/4]

webrtc::I420Buffer::I420Buffer ( int  width,
int  height 
)
protected

◆ I420Buffer() [4/4]

webrtc::I420Buffer::I420Buffer ( int  width,
int  height,
int  stride_y,
int  stride_u,
int  stride_v 
)
protected

◆ ~I420Buffer() [2/2]

webrtc::I420Buffer::~I420Buffer ( )
overrideprotected

Member Function Documentation

◆ Copy() [1/4]

rtc::scoped_refptr< I420Buffer > webrtc::I420Buffer::Copy ( const VideoFrameBuffer buffer)
static

◆ Copy() [2/4]

static rtc::scoped_refptr<I420Buffer> webrtc::I420Buffer::Copy ( const VideoFrameBuffer buffer)
static

◆ Copy() [3/4]

rtc::scoped_refptr< I420Buffer > webrtc::I420Buffer::Copy ( int  width,
int  height,
const uint8_t data_y,
int  stride_y,
const uint8_t data_u,
int  stride_u,
const uint8_t data_v,
int  stride_v 
)
static

◆ Copy() [4/4]

static rtc::scoped_refptr<I420Buffer> webrtc::I420Buffer::Copy ( int  width,
int  height,
const uint8_t data_y,
int  stride_y,
const uint8_t data_u,
int  stride_u,
const uint8_t data_v,
int  stride_v 
)
static

◆ Create() [1/4]

static rtc::scoped_refptr<I420Buffer> webrtc::I420Buffer::Create ( int  width,
int  height 
)
static

◆ Create() [2/4]

rtc::scoped_refptr< I420Buffer > webrtc::I420Buffer::Create ( int  width,
int  height 
)
static

◆ Create() [3/4]

rtc::scoped_refptr< I420Buffer > webrtc::I420Buffer::Create ( int  width,
int  height,
int  stride_y,
int  stride_u,
int  stride_v 
)
static

◆ Create() [4/4]

static rtc::scoped_refptr<I420Buffer> webrtc::I420Buffer::Create ( int  width,
int  height,
int  stride_y,
int  stride_u,
int  stride_v 
)
static

◆ CropAndScaleFrom() [1/4]

void webrtc::I420Buffer::CropAndScaleFrom ( const VideoFrameBuffer src,
int  offset_x,
int  offset_y,
int  crop_width,
int  crop_height 
)

◆ CropAndScaleFrom() [2/4]

void webrtc::I420Buffer::CropAndScaleFrom ( const VideoFrameBuffer src,
int  offset_x,
int  offset_y,
int  crop_width,
int  crop_height 
)

◆ CropAndScaleFrom() [3/4]

void webrtc::I420Buffer::CropAndScaleFrom ( const VideoFrameBuffer src)

◆ CropAndScaleFrom() [4/4]

void webrtc::I420Buffer::CropAndScaleFrom ( const VideoFrameBuffer src)

◆ DataU() [1/2]

const uint8_t* webrtc::I420Buffer::DataU ( ) const
overridevirtual

◆ DataU() [2/2]

const uint8_t * webrtc::I420Buffer::DataU ( ) const
overridevirtual

◆ DataV() [1/2]

const uint8_t* webrtc::I420Buffer::DataV ( ) const
overridevirtual

◆ DataV() [2/2]

const uint8_t * webrtc::I420Buffer::DataV ( ) const
overridevirtual

◆ DataY() [1/2]

const uint8_t* webrtc::I420Buffer::DataY ( ) const
overridevirtual

◆ DataY() [2/2]

const uint8_t * webrtc::I420Buffer::DataY ( ) const
overridevirtual

◆ height() [1/2]

int webrtc::I420Buffer::height ( ) const
overridevirtual

◆ height() [2/2]

int webrtc::I420Buffer::height ( ) const
overridevirtual

◆ InitializeData() [1/2]

void webrtc::I420Buffer::InitializeData ( )

◆ InitializeData() [2/2]

void webrtc::I420Buffer::InitializeData ( )

◆ MutableDataU() [1/2]

uint8_t * webrtc::I420Buffer::MutableDataU ( )

◆ MutableDataU() [2/2]

uint8_t* webrtc::I420Buffer::MutableDataU ( )

◆ MutableDataV() [1/2]

uint8_t * webrtc::I420Buffer::MutableDataV ( )

◆ MutableDataV() [2/2]

uint8_t* webrtc::I420Buffer::MutableDataV ( )

◆ MutableDataY() [1/2]

uint8_t * webrtc::I420Buffer::MutableDataY ( )

◆ MutableDataY() [2/2]

uint8_t* webrtc::I420Buffer::MutableDataY ( )

◆ native_handle() [1/2]

void * webrtc::I420Buffer::native_handle ( ) const
overridevirtual

◆ native_handle() [2/2]

void* webrtc::I420Buffer::native_handle ( ) const
overridevirtual

◆ NativeToI420Buffer() [1/2]

rtc::scoped_refptr< VideoFrameBuffer > webrtc::I420Buffer::NativeToI420Buffer ( )
overridevirtual

◆ NativeToI420Buffer() [2/2]

rtc::scoped_refptr<VideoFrameBuffer> webrtc::I420Buffer::NativeToI420Buffer ( )
overridevirtual

◆ Rotate() [1/4]

rtc::scoped_refptr< I420Buffer > webrtc::I420Buffer::Rotate ( const VideoFrameBuffer src,
VideoRotation  rotation 
)
static

◆ Rotate() [2/4]

static rtc::scoped_refptr<I420Buffer> webrtc::I420Buffer::Rotate ( const VideoFrameBuffer src,
VideoRotation  rotation 
)
static

◆ Rotate() [3/4]

rtc::scoped_refptr< VideoFrameBuffer > webrtc::I420Buffer::Rotate ( rtc::scoped_refptr< VideoFrameBuffer src,
VideoRotation  rotation 
)
static

◆ Rotate() [4/4]

static rtc::scoped_refptr<VideoFrameBuffer> webrtc::I420Buffer::Rotate ( rtc::scoped_refptr< VideoFrameBuffer src,
VideoRotation  rotation 
)
static

◆ ScaleFrom() [1/2]

void webrtc::I420Buffer::ScaleFrom ( const VideoFrameBuffer src)

◆ ScaleFrom() [2/2]

void webrtc::I420Buffer::ScaleFrom ( const VideoFrameBuffer src)

◆ SetBlack() [1/2]

void webrtc::I420Buffer::SetBlack ( I420Buffer buffer)
static

◆ SetBlack() [2/2]

static WEBRTC_DYLIB_EXPORT void webrtc::I420Buffer::SetBlack ( I420Buffer buffer)
static

◆ SetToBlack() [1/2]

void webrtc::I420Buffer::SetToBlack ( )
inline

◆ SetToBlack() [2/2]

void webrtc::I420Buffer::SetToBlack ( )
inline

◆ StrideU() [1/2]

int webrtc::I420Buffer::StrideU ( ) const
overridevirtual

◆ StrideU() [2/2]

int webrtc::I420Buffer::StrideU ( ) const
overridevirtual

◆ StrideV() [1/2]

int webrtc::I420Buffer::StrideV ( ) const
overridevirtual

◆ StrideV() [2/2]

int webrtc::I420Buffer::StrideV ( ) const
overridevirtual

◆ StrideY() [1/2]

int webrtc::I420Buffer::StrideY ( ) const
overridevirtual

◆ StrideY() [2/2]

int webrtc::I420Buffer::StrideY ( ) const
overridevirtual

◆ width() [1/2]

int webrtc::I420Buffer::width ( ) const
overridevirtual

◆ width() [2/2]

int webrtc::I420Buffer::width ( ) const
overridevirtual

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