|
| TestEncoder () |
|
VideoCodec | codec_config () |
|
void | BlockNextEncode () |
|
VideoEncoder::ScalingSettings | GetScalingSettings () const override |
|
void | ContinueEncode () |
|
void | CheckLastTimeStampsMatch (int64_t ntp_time_ms, uint32_t timestamp) const |
|
void | SetQualityScaling (bool b) |
|
| 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 | 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 | 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 int32_t | SetPeriodicKeyFrames (bool enable) |
|
virtual bool | SupportsNativeHandle () const |
|
virtual | ~VideoEncoder () |
|
virtual int32_t | SetRates (uint32_t bitrate, uint32_t framerate) |
|
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 () |
|
static const char * | kImplementationName = "fake_encoder" |
|
VideoCodec config_ | GUARDED_BY (crit_sect_) |
|
EncodedImageCallback *callback_ | GUARDED_BY (crit_sect_) |
|
BitrateAllocation target_bitrate_ | GUARDED_BY (crit_sect_) |
|
int max_target_bitrate_kbps_ | GUARDED_BY (crit_sect_) |
|
int64_t last_encode_time_ms_ | GUARDED_BY (crit_sect_) |
|
VideoCodec config_ | GUARDED_BY (crit_sect_) |
|
EncodedImageCallback *callback_ | GUARDED_BY (crit_sect_) |
|
BitrateAllocation target_bitrate_ | GUARDED_BY (crit_sect_) |
|
int max_target_bitrate_kbps_ | GUARDED_BY (crit_sect_) |
|
int64_t last_encode_time_ms_ | GUARDED_BY (crit_sect_) |
|
Clock *const | clock_ |
|
rtc::CriticalSection | crit_sect_ |
|
uint8_t | encoded_buffer_ [100000] |
|
◆ TestEncoder()
webrtc::ViEEncoderTest::TestEncoder::TestEncoder |
( |
| ) |
|
|
inline |
◆ BlockNextEncode()
void webrtc::ViEEncoderTest::TestEncoder::BlockNextEncode |
( |
| ) |
|
|
inline |
◆ CheckLastTimeStampsMatch()
void webrtc::ViEEncoderTest::TestEncoder::CheckLastTimeStampsMatch |
( |
int64_t |
ntp_time_ms, |
|
|
uint32_t |
timestamp |
|
) |
| const |
|
inline |
◆ codec_config()
VideoCodec webrtc::ViEEncoderTest::TestEncoder::codec_config |
( |
| ) |
|
|
inline |
◆ ContinueEncode()
void webrtc::ViEEncoderTest::TestEncoder::ContinueEncode |
( |
| ) |
|
|
inline |
◆ GetScalingSettings()
◆ SetQualityScaling()
void webrtc::ViEEncoderTest::TestEncoder::SetQualityScaling |
( |
bool |
b | ) |
|
|
inline |
The documentation for this class was generated from the following file: