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

#include <h264.h>

Inheritance diagram for webrtc::H264Encoder:
webrtc::VideoEncoder webrtc::VideoEncoder webrtc::H264EncoderImpl webrtc::H264EncoderImpl webrtc::H264VideoToolboxEncoder webrtc::H264VideoToolboxEncoder

Public Member Functions

 ~H264Encoder () override
 
 ~H264Encoder () override
 
- 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 RegisterEncodeCompleteCallback (EncodedImageCallback *callback)=0
 
virtual int32_t Release ()=0
 
virtual int32_t Encode (const VideoFrame &frame, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types)=0
 
virtual int32_t SetChannelParameters (uint32_t packet_loss, int64_t rtt)=0
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetRateAllocation (const BitrateAllocation &allocation, uint32_t framerate)
 
virtual ScalingSettings GetScalingSettings () const
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 
virtual bool SupportsNativeHandle () const
 
virtual const char * ImplementationName () 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 RegisterEncodeCompleteCallback (EncodedImageCallback *callback)=0
 
virtual int32_t Release ()=0
 
virtual int32_t Encode (const VideoFrame &frame, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types)=0
 
virtual int32_t SetChannelParameters (uint32_t packet_loss, int64_t rtt)=0
 
virtual int32_t SetRates (uint32_t bitrate, uint32_t framerate)
 
virtual int32_t SetRateAllocation (const BitrateAllocation &allocation, uint32_t framerate)
 
virtual ScalingSettings GetScalingSettings () const
 
virtual int32_t SetPeriodicKeyFrames (bool enable)
 
virtual bool SupportsNativeHandle () const
 
virtual const char * ImplementationName () const
 

Static Public Member Functions

static H264EncoderCreate (const cricket::VideoCodec &codec)
 
static bool IsSupported ()
 
static H264EncoderCreate (const cricket::VideoCodec &codec)
 
static bool IsSupported ()
 
- 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 ()
 

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
}
 

Constructor & Destructor Documentation

◆ ~H264Encoder() [1/2]

webrtc::H264Encoder::~H264Encoder ( )
inlineoverride

◆ ~H264Encoder() [2/2]

webrtc::H264Encoder::~H264Encoder ( )
inlineoverride

Member Function Documentation

◆ Create() [1/2]

H264Encoder * webrtc::H264Encoder::Create ( const cricket::VideoCodec codec)
static

◆ Create() [2/2]

static H264Encoder* webrtc::H264Encoder::Create ( const cricket::VideoCodec codec)
static

◆ IsSupported() [1/2]

static bool webrtc::H264Encoder::IsSupported ( )
static

◆ IsSupported() [2/2]

bool webrtc::H264Encoder::IsSupported ( )
static

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