|
int32_t | InitEncode (const VideoCodec *codecSettings, int32_t numberOfCores, size_t maxPayloadSize) |
|
| MOCK_METHOD3 (Encode, int32_t(const VideoFrame &inputImage, const CodecSpecificInfo *codecSpecificInfo, const std::vector< FrameType > *frame_types)) |
|
int32_t | RegisterEncodeCompleteCallback (EncodedImageCallback *callback) |
|
int32_t | Release () |
|
int32_t | SetRateAllocation (const BitrateAllocation &bitrate_allocation, uint32_t framerate) |
|
| MOCK_METHOD2 (SetChannelParameters, int32_t(uint32_t packetLoss, int64_t rtt)) |
|
bool | SupportsNativeHandle () const |
|
virtual | ~MockVideoEncoder () |
|
const VideoCodec & | codec () const |
|
void | SendEncodedImage (int width, int height) |
|
void | set_supports_native_handle (bool enabled) |
|
void | set_init_encode_return_value (int32_t value) |
|
BitrateAllocation | last_set_bitrate () const |
|
| MOCK_CONST_METHOD0 (ImplementationName, const char *()) |
|
virtual | ~VideoEncoder () |
|
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 ScalingSettings | GetScalingSettings () const |
|
virtual int32_t | SetPeriodicKeyFrames (bool enable) |
|
virtual const char * | ImplementationName () const |
|
virtual | ~VideoEncoder () |
|
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 ScalingSettings | GetScalingSettings () const |
|
virtual int32_t | SetPeriodicKeyFrames (bool enable) |
|
virtual const char * | ImplementationName () 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 () |
|
◆ ~MockVideoEncoder()
virtual webrtc::testing::MockVideoEncoder::~MockVideoEncoder |
( |
| ) |
|
|
inlinevirtual |
◆ codec()
const VideoCodec& webrtc::testing::MockVideoEncoder::codec |
( |
| ) |
const |
|
inline |
◆ InitEncode()
◆ last_set_bitrate()
◆ MOCK_CONST_METHOD0()
webrtc::testing::MockVideoEncoder::MOCK_CONST_METHOD0 |
( |
ImplementationName |
, |
|
|
const char * |
() |
|
) |
| |
◆ MOCK_METHOD2()
◆ MOCK_METHOD3()
◆ RegisterEncodeCompleteCallback()
◆ Release()
int32_t webrtc::testing::MockVideoEncoder::Release |
( |
| ) |
|
|
inlinevirtual |
◆ SendEncodedImage()
void webrtc::testing::MockVideoEncoder::SendEncodedImage |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ set_init_encode_return_value()
void webrtc::testing::MockVideoEncoder::set_init_encode_return_value |
( |
int32_t |
value | ) |
|
|
inline |
◆ set_supports_native_handle()
void webrtc::testing::MockVideoEncoder::set_supports_native_handle |
( |
bool |
enabled | ) |
|
|
inline |
◆ SetRateAllocation()
◆ SupportsNativeHandle()
bool webrtc::testing::MockVideoEncoder::SupportsNativeHandle |
( |
| ) |
const |
|
inlinevirtual |
The documentation for this class was generated from the following file: