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

#include <vp8_impl.h>

Inheritance diagram for webrtc::VP8EncoderImpl:
webrtc::VP8Encoder webrtc::VP8Encoder webrtc::VideoEncoder webrtc::VideoEncoder webrtc::VideoEncoder webrtc::VideoEncoder

Public Member Functions

 VP8EncoderImpl ()
 
virtual ~VP8EncoderImpl ()
 
int Release () override
 
int InitEncode (const VideoCodec *codec_settings, int number_of_cores, size_t max_payload_size) override
 
int Encode (const VideoFrame &input_image, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types) override
 
int RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override
 
int SetChannelParameters (uint32_t packet_loss, int64_t rtt) override
 
int SetRateAllocation (const BitrateAllocation &bitrate, uint32_t new_framerate) override
 
ScalingSettings GetScalingSettings () const override
 
const char * ImplementationName () const override
 
 VP8EncoderImpl ()
 
virtual ~VP8EncoderImpl ()
 
int Release () override
 
int InitEncode (const VideoCodec *codec_settings, int number_of_cores, size_t max_payload_size) override
 
int Encode (const VideoFrame &input_image, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types) override
 
int RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override
 
int SetChannelParameters (uint32_t packet_loss, int64_t rtt) override
 
int SetRateAllocation (const BitrateAllocation &bitrate, uint32_t new_framerate) override
 
ScalingSettings GetScalingSettings () const override
 
const char * ImplementationName () const override
 
- Public Member Functions inherited from webrtc::VP8Encoder
virtual ~VP8Encoder ()
 
virtual ~VP8Encoder ()
 
- Public Member Functions inherited from webrtc::VideoEncoder
virtual ~VideoEncoder ()
 
virtual int32_t InitEncode (const VideoCodec *codec_settings, int32_t number_of_cores, size_t max_payload_size)=0
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 
virtual bool SupportsNativeHandle () const
 
virtual ~VideoEncoder ()
 
virtual int32_t InitEncode (const VideoCodec *codec_settings, int32_t number_of_cores, size_t max_payload_size)=0
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 
virtual bool SupportsNativeHandle () const
 

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::VP8Encoder
static bool IsSupported ()
 
static VP8EncoderCreate ()
 
static bool IsSupported ()
 
static VP8EncoderCreate ()
 
- 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

◆ VP8EncoderImpl() [1/2]

webrtc::VP8EncoderImpl::VP8EncoderImpl ( )

◆ ~VP8EncoderImpl() [1/2]

webrtc::VP8EncoderImpl::~VP8EncoderImpl ( )
virtual

◆ VP8EncoderImpl() [2/2]

webrtc::VP8EncoderImpl::VP8EncoderImpl ( )

◆ ~VP8EncoderImpl() [2/2]

virtual webrtc::VP8EncoderImpl::~VP8EncoderImpl ( )
virtual

Member Function Documentation

◆ Encode() [1/2]

int webrtc::VP8EncoderImpl::Encode ( const VideoFrame input_image,
const CodecSpecificInfo codec_specific_info,
const std::vector< FrameType > *  frame_types 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ Encode() [2/2]

int webrtc::VP8EncoderImpl::Encode ( const VideoFrame input_image,
const CodecSpecificInfo codec_specific_info,
const std::vector< FrameType > *  frame_types 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ GetScalingSettings() [1/2]

VideoEncoder::ScalingSettings webrtc::VP8EncoderImpl::GetScalingSettings ( ) const
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ GetScalingSettings() [2/2]

ScalingSettings webrtc::VP8EncoderImpl::GetScalingSettings ( ) const
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ ImplementationName() [1/2]

const char* webrtc::VP8EncoderImpl::ImplementationName ( ) const
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ ImplementationName() [2/2]

const char * webrtc::VP8EncoderImpl::ImplementationName ( ) const
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ InitEncode() [1/2]

int webrtc::VP8EncoderImpl::InitEncode ( const VideoCodec codec_settings,
int  number_of_cores,
size_t  max_payload_size 
)
override

◆ InitEncode() [2/2]

int webrtc::VP8EncoderImpl::InitEncode ( const VideoCodec codec_settings,
int  number_of_cores,
size_t  max_payload_size 
)
override

◆ RegisterEncodeCompleteCallback() [1/2]

int webrtc::VP8EncoderImpl::RegisterEncodeCompleteCallback ( EncodedImageCallback callback)
overridevirtual

Implements webrtc::VideoEncoder.

◆ RegisterEncodeCompleteCallback() [2/2]

int webrtc::VP8EncoderImpl::RegisterEncodeCompleteCallback ( EncodedImageCallback callback)
overridevirtual

Implements webrtc::VideoEncoder.

◆ Release() [1/2]

int webrtc::VP8EncoderImpl::Release ( )
overridevirtual

Implements webrtc::VideoEncoder.

◆ Release() [2/2]

int webrtc::VP8EncoderImpl::Release ( )
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetChannelParameters() [1/2]

int webrtc::VP8EncoderImpl::SetChannelParameters ( uint32_t  packet_loss,
int64_t  rtt 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetChannelParameters() [2/2]

int webrtc::VP8EncoderImpl::SetChannelParameters ( uint32_t  packet_loss,
int64_t  rtt 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetRateAllocation() [1/2]

int webrtc::VP8EncoderImpl::SetRateAllocation ( const BitrateAllocation bitrate,
uint32_t  new_framerate 
)
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ SetRateAllocation() [2/2]

int webrtc::VP8EncoderImpl::SetRateAllocation ( const BitrateAllocation bitrate,
uint32_t  new_framerate 
)
overridevirtual

Reimplemented from webrtc::VideoEncoder.


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