#include <fake_encoder.h>
|
| FakeEncoder (Clock *clock) |
|
virtual | ~FakeEncoder ()=default |
|
void | SetMaxBitrate (int max_kbps) |
|
int32_t | InitEncode (const VideoCodec *config, int32_t number_of_cores, size_t max_payload_size) override |
|
int32_t | Encode (const VideoFrame &input_image, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types) override |
|
int32_t | RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override |
|
int32_t | Release () override |
|
int32_t | SetChannelParameters (uint32_t packet_loss, int64_t rtt) override |
|
int32_t | SetRateAllocation (const BitrateAllocation &rate_allocation, uint32_t framerate) override |
|
const char * | ImplementationName () const override |
|
| FakeEncoder (Clock *clock) |
|
virtual | ~FakeEncoder ()=default |
|
void | SetMaxBitrate (int max_kbps) |
|
int32_t | InitEncode (const VideoCodec *config, int32_t number_of_cores, size_t max_payload_size) override |
|
int32_t | Encode (const VideoFrame &input_image, const CodecSpecificInfo *codec_specific_info, const std::vector< FrameType > *frame_types) override |
|
int32_t | RegisterEncodeCompleteCallback (EncodedImageCallback *callback) override |
|
int32_t | Release () override |
|
int32_t | SetChannelParameters (uint32_t packet_loss, int64_t rtt) override |
|
int32_t | SetRateAllocation (const BitrateAllocation &rate_allocation, uint32_t framerate) override |
|
const char * | ImplementationName () const override |
|
virtual | ~VideoEncoder () |
|
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 | SetRates (uint32_t bitrate, uint32_t framerate) |
|
virtual ScalingSettings | GetScalingSettings () const |
|
virtual int32_t | SetPeriodicKeyFrames (bool enable) |
|
virtual bool | SupportsNativeHandle () const |
|
|
enum | EncoderType {
kH264,
kVp8,
kVp9,
kUnsupportedCodec,
kH264,
kVp8,
kVp9,
kUnsupportedCodec
} |
|
enum | EncoderType {
kH264,
kVp8,
kVp9,
kUnsupportedCodec,
kH264,
kVp8,
kVp9,
kUnsupportedCodec
} |
|
static VideoEncoder * | Create (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 VideoEncoder * | Create (EncoderType codec_type) |
|
static bool | IsSupportedSoftware (EncoderType codec_type) |
|
static EncoderType | CodecToEncoderType (VideoCodecType codec_type) |
|
static VideoCodecVP8 | GetDefaultVp8Settings () |
|
static VideoCodecVP9 | GetDefaultVp9Settings () |
|
static VideoCodecH264 | GetDefaultH264Settings () |
|
◆ FakeEncoder() [1/2]
webrtc::test::FakeEncoder::FakeEncoder |
( |
Clock * |
clock | ) |
|
|
explicit |
◆ ~FakeEncoder() [1/2]
virtual webrtc::test::FakeEncoder::~FakeEncoder |
( |
| ) |
|
|
virtualdefault |
◆ FakeEncoder() [2/2]
webrtc::test::FakeEncoder::FakeEncoder |
( |
Clock * |
clock | ) |
|
|
explicit |
◆ ~FakeEncoder() [2/2]
virtual webrtc::test::FakeEncoder::~FakeEncoder |
( |
| ) |
|
|
virtualdefault |
◆ Encode() [1/2]
◆ Encode() [2/2]
◆ GUARDED_BY() [1/10]
◆ GUARDED_BY() [2/10]
◆ GUARDED_BY() [3/10]
◆ GUARDED_BY() [4/10]
◆ GUARDED_BY() [5/10]
◆ GUARDED_BY() [6/10]
◆ GUARDED_BY() [7/10]
int max_target_bitrate_kbps_ webrtc::test::FakeEncoder::GUARDED_BY |
( |
crit_sect_ |
| ) |
|
|
protected |
◆ GUARDED_BY() [8/10]
int max_target_bitrate_kbps_ webrtc::test::FakeEncoder::GUARDED_BY |
( |
crit_sect_ |
| ) |
|
|
protected |
◆ GUARDED_BY() [9/10]
◆ GUARDED_BY() [10/10]
◆ ImplementationName() [1/2]
const char * webrtc::test::FakeEncoder::ImplementationName |
( |
| ) |
const |
|
overridevirtual |
◆ ImplementationName() [2/2]
const char* webrtc::test::FakeEncoder::ImplementationName |
( |
| ) |
const |
|
overridevirtual |
◆ InitEncode() [1/2]
◆ InitEncode() [2/2]
◆ RegisterEncodeCompleteCallback() [1/2]
◆ RegisterEncodeCompleteCallback() [2/2]
◆ Release() [1/2]
int32_t webrtc::test::FakeEncoder::Release |
( |
| ) |
|
|
overridevirtual |
◆ Release() [2/2]
int32_t webrtc::test::FakeEncoder::Release |
( |
| ) |
|
|
overridevirtual |
◆ SetChannelParameters() [1/2]
◆ SetChannelParameters() [2/2]
◆ SetMaxBitrate() [1/2]
void webrtc::test::FakeEncoder::SetMaxBitrate |
( |
int |
max_kbps | ) |
|
◆ SetMaxBitrate() [2/2]
void webrtc::test::FakeEncoder::SetMaxBitrate |
( |
int |
max_kbps | ) |
|
◆ SetRateAllocation() [1/2]
◆ SetRateAllocation() [2/2]
◆ clock_
Clock *const webrtc::test::FakeEncoder::clock_ |
|
protected |
◆ crit_sect_
◆ encoded_buffer_
uint8_t webrtc::test::FakeEncoder::encoded_buffer_ |
|
protected |
◆ kImplementationName
static const char * webrtc::test::FakeEncoder::kImplementationName = "fake_encoder" |
|
static |
The documentation for this class was generated from the following files:
- DerivedData/WebKit/Build/Products/Debug/usr/local/include/webrtc/test/fake_encoder.h
- Source/ThirdParty/libwebrtc/Source/webrtc/test/fake_encoder.cc