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

#include <vp9_impl.h>

Inheritance diagram for webrtc::VP9EncoderImpl:
webrtc::VP9Encoder webrtc::VP9Encoder webrtc::VideoEncoder webrtc::VideoEncoder webrtc::VideoEncoder webrtc::VideoEncoder

Classes

struct  LayerFrameRefSettings
 
struct  SuperFrameRefSettings
 

Public Member Functions

 VP9EncoderImpl ()
 
virtual ~VP9EncoderImpl ()
 
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_allocation, uint32_t frame_rate) override
 
const char * ImplementationName () const override
 
 VP9EncoderImpl ()
 
virtual ~VP9EncoderImpl ()
 
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_allocation, uint32_t frame_rate) override
 
const char * ImplementationName () const override
 
- Public Member Functions inherited from webrtc::VP9Encoder
virtual ~VP9Encoder ()
 
virtual ~VP9Encoder ()
 
- 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 ScalingSettings GetScalingSettings () const
 
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 ScalingSettings GetScalingSettings () const
 
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::VP9Encoder
static bool IsSupported ()
 
static VP9EncoderCreate ()
 
static bool IsSupported ()
 
static VP9EncoderCreate ()
 
- 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

◆ VP9EncoderImpl() [1/2]

webrtc::VP9EncoderImpl::VP9EncoderImpl ( )

◆ ~VP9EncoderImpl() [1/2]

webrtc::VP9EncoderImpl::~VP9EncoderImpl ( )
virtual

◆ VP9EncoderImpl() [2/2]

webrtc::VP9EncoderImpl::VP9EncoderImpl ( )

◆ ~VP9EncoderImpl() [2/2]

virtual webrtc::VP9EncoderImpl::~VP9EncoderImpl ( )
virtual

Member Function Documentation

◆ Encode() [1/2]

int webrtc::VP9EncoderImpl::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::VP9EncoderImpl::Encode ( const VideoFrame input_image,
const CodecSpecificInfo codec_specific_info,
const std::vector< FrameType > *  frame_types 
)
overridevirtual

Implements webrtc::VideoEncoder.

◆ ImplementationName() [1/2]

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

Reimplemented from webrtc::VideoEncoder.

◆ ImplementationName() [2/2]

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

Reimplemented from webrtc::VideoEncoder.

◆ InitEncode() [1/2]

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

◆ InitEncode() [2/2]

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

◆ RegisterEncodeCompleteCallback() [1/2]

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

Implements webrtc::VideoEncoder.

◆ RegisterEncodeCompleteCallback() [2/2]

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

Implements webrtc::VideoEncoder.

◆ Release() [1/2]

int webrtc::VP9EncoderImpl::Release ( )
overridevirtual

Implements webrtc::VideoEncoder.

◆ Release() [2/2]

int webrtc::VP9EncoderImpl::Release ( )
overridevirtual

Implements webrtc::VideoEncoder.

◆ SetChannelParameters() [1/2]

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

Implements webrtc::VideoEncoder.

◆ SetChannelParameters() [2/2]

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

Implements webrtc::VideoEncoder.

◆ SetRateAllocation() [1/2]

int webrtc::VP9EncoderImpl::SetRateAllocation ( const BitrateAllocation bitrate_allocation,
uint32_t  frame_rate 
)
overridevirtual

Reimplemented from webrtc::VideoEncoder.

◆ SetRateAllocation() [2/2]

int webrtc::VP9EncoderImpl::SetRateAllocation ( const BitrateAllocation bitrate_allocation,
uint32_t  frame_rate 
)
overridevirtual

Reimplemented from webrtc::VideoEncoder.


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