webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
webrtc_jni::MediaCodecVideoEncoder Class Reference
Inheritance diagram for webrtc_jni::MediaCodecVideoEncoder:
webrtc::VideoEncoder

Public Member Functions

virtual ~MediaCodecVideoEncoder ()
 
 MediaCodecVideoEncoder (JNIEnv *jni, const cricket::VideoCodec &codec, jobject egl_context)
 
int32_t InitEncode (const webrtc::VideoCodec *codec_settings, int32_t, size_t) override
 
int32_t Encode (const webrtc::VideoFrame &input_image, const webrtc::CodecSpecificInfo *, const std::vector< webrtc::FrameType > *frame_types) override
 
int32_t RegisterEncodeCompleteCallback (webrtc::EncodedImageCallback *callback) override
 
int32_t Release () override
 
int32_t SetChannelParameters (uint32_t, int64_t) override
 
int32_t SetRateAllocation (const webrtc::BitrateAllocation &rate_allocation, uint32_t frame_rate) override
 
bool SupportsNativeHandle () const override
 
const char * ImplementationName () const override
 
- Public Member Functions inherited from webrtc::VideoEncoder
virtual ~VideoEncoder ()
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 
virtual ~VideoEncoder ()
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 

Additional Inherited Members

- Public Types inherited from webrtc::VideoEncoder
enum  EncoderType {
  kH264, kVp8, kVp9, kUnsupportedCodec,
  kH264, kVp8, kVp9, kUnsupportedCodec
}
 
enum  EncoderType {
  kH264, kVp8, kVp9, kUnsupportedCodec,
  kH264, kVp8, kVp9, kUnsupportedCodec
}
 
- Static Public Member Functions inherited from webrtc::VideoEncoder
static VideoEncoderCreate (EncoderType codec_type)
 
static bool IsSupportedSoftware (EncoderType codec_type)
 
static EncoderType CodecToEncoderType (VideoCodecType codec_type)
 
static VideoCodecVP8 GetDefaultVp8Settings ()
 
static VideoCodecVP9 GetDefaultVp9Settings ()
 
static VideoCodecH264 GetDefaultH264Settings ()
 
static VideoEncoderCreate (EncoderType codec_type)
 
static bool IsSupportedSoftware (EncoderType codec_type)
 
static EncoderType CodecToEncoderType (VideoCodecType codec_type)
 
static VideoCodecVP8 GetDefaultVp8Settings ()
 
static VideoCodecVP9 GetDefaultVp9Settings ()
 
static VideoCodecH264 GetDefaultH264Settings ()
 

Constructor & Destructor Documentation

◆ ~MediaCodecVideoEncoder()

webrtc_jni::MediaCodecVideoEncoder::~MediaCodecVideoEncoder ( )
virtual

◆ MediaCodecVideoEncoder()

webrtc_jni::MediaCodecVideoEncoder::MediaCodecVideoEncoder ( JNIEnv *  jni,
const cricket::VideoCodec codec,
jobject  egl_context 
)

Member Function Documentation

◆ Encode()

int32_t webrtc_jni::MediaCodecVideoEncoder::Encode ( const webrtc::VideoFrame input_image,
const webrtc::CodecSpecificInfo ,
const std::vector< webrtc::FrameType > *  frame_types 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ ImplementationName()

const char * webrtc_jni::MediaCodecVideoEncoder::ImplementationName ( ) const
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ InitEncode()

int32_t webrtc_jni::MediaCodecVideoEncoder::InitEncode ( const webrtc::VideoCodec codec_settings,
int32_t  ,
size_t   
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ RegisterEncodeCompleteCallback()

int32_t webrtc_jni::MediaCodecVideoEncoder::RegisterEncodeCompleteCallback ( webrtc::EncodedImageCallback callback)
overridevirtual

Implements webrtc::VideoEncoder.

◆ Release()

int32_t webrtc_jni::MediaCodecVideoEncoder::Release ( )
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetChannelParameters()

int32_t webrtc_jni::MediaCodecVideoEncoder::SetChannelParameters ( uint32_t  ,
int64_t   
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetRateAllocation()

int32_t webrtc_jni::MediaCodecVideoEncoder::SetRateAllocation ( const webrtc::BitrateAllocation rate_allocation,
uint32_t  frame_rate 
)
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ SupportsNativeHandle()

bool webrtc_jni::MediaCodecVideoEncoder::SupportsNativeHandle ( ) const
inlineoverridevirtual

Reimplemented from webrtc::VideoEncoder.


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