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

#include <native_handle_impl.h>

Inheritance diagram for webrtc_jni::AndroidTextureBuffer:
webrtc::NativeHandleBuffer webrtc::NativeHandleBuffer webrtc::VideoFrameBuffer webrtc::VideoFrameBuffer webrtc::VideoFrameBuffer webrtc::VideoFrameBuffer rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface rtc::RefCountInterface

Public Member Functions

 AndroidTextureBuffer (int width, int height, const NativeHandleImpl &native_handle, jobject surface_texture_helper, const rtc::Callback0< void > &no_longer_used)
 
 ~AndroidTextureBuffer ()
 
rtc::scoped_refptr< VideoFrameBuffer > NativeToI420Buffer () override
 
rtc::scoped_refptr< AndroidTextureBufferCropScaleAndRotate (int cropped_width, int cropped_height, int crop_x, int crop_y, int dst_width, int dst_height, webrtc::VideoRotation rotation)
 
 AndroidTextureBuffer (int width, int height, const NativeHandleImpl &native_handle, jobject surface_texture_helper, const rtc::Callback0< void > &no_longer_used)
 
 ~AndroidTextureBuffer ()
 
rtc::scoped_refptr< VideoFrameBuffer > NativeToI420Buffer () override
 
rtc::scoped_refptr< AndroidTextureBufferCropScaleAndRotate (int cropped_width, int cropped_height, int crop_x, int crop_y, int dst_width, int dst_height, webrtc::VideoRotation rotation)
 
- Public Member Functions inherited from webrtc::NativeHandleBuffer
 NativeHandleBuffer (void *native_handle, int width, int height)
 
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
 
 NativeHandleBuffer (void *native_handle, int width, int height)
 
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
 
- 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
 

Additional Inherited Members

- Protected Member Functions inherited from webrtc::VideoFrameBuffer
 ~VideoFrameBuffer () override
 
 ~VideoFrameBuffer () override
 
- Protected Member Functions inherited from rtc::RefCountInterface
virtual ~RefCountInterface ()
 
virtual ~RefCountInterface ()
 
- Protected Attributes inherited from webrtc::NativeHandleBuffer
voidnative_handle_
 
const int width_
 
const int height_
 

Constructor & Destructor Documentation

◆ AndroidTextureBuffer() [1/2]

webrtc_jni::AndroidTextureBuffer::AndroidTextureBuffer ( int  width,
int  height,
const NativeHandleImpl native_handle,
jobject  surface_texture_helper,
const rtc::Callback0< void > &  no_longer_used 
)

◆ ~AndroidTextureBuffer() [1/2]

webrtc_jni::AndroidTextureBuffer::~AndroidTextureBuffer ( )

◆ AndroidTextureBuffer() [2/2]

webrtc_jni::AndroidTextureBuffer::AndroidTextureBuffer ( int  width,
int  height,
const NativeHandleImpl native_handle,
jobject  surface_texture_helper,
const rtc::Callback0< void > &  no_longer_used 
)

◆ ~AndroidTextureBuffer() [2/2]

webrtc_jni::AndroidTextureBuffer::~AndroidTextureBuffer ( )

Member Function Documentation

◆ CropScaleAndRotate() [1/2]

rtc::scoped_refptr< AndroidTextureBuffer > webrtc_jni::AndroidTextureBuffer::CropScaleAndRotate ( int  cropped_width,
int  cropped_height,
int  crop_x,
int  crop_y,
int  dst_width,
int  dst_height,
webrtc::VideoRotation  rotation 
)

◆ CropScaleAndRotate() [2/2]

rtc::scoped_refptr<AndroidTextureBuffer> webrtc_jni::AndroidTextureBuffer::CropScaleAndRotate ( int  cropped_width,
int  cropped_height,
int  crop_x,
int  crop_y,
int  dst_width,
int  dst_height,
webrtc::VideoRotation  rotation 
)

◆ NativeToI420Buffer() [1/2]

rtc::scoped_refptr<VideoFrameBuffer> webrtc_jni::AndroidTextureBuffer::NativeToI420Buffer ( )
overridevirtual

◆ NativeToI420Buffer() [2/2]

rtc::scoped_refptr< webrtc::VideoFrameBuffer > webrtc_jni::AndroidTextureBuffer::NativeToI420Buffer ( )
overridevirtual

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