#include <intelvideoencoder.h>
◆ IntelVideoEncoder()
| ttv::broadcast::IntelVideoEncoder::IntelVideoEncoder |
( |
| ) |
|
◆ ~IntelVideoEncoder()
| virtual ttv::broadcast::IntelVideoEncoder::~IntelVideoEncoder |
( |
| ) |
|
|
virtual |
◆ DestroyEncodeTaskPool()
| void ttv::broadcast::IntelVideoEncoder::DestroyEncodeTaskPool |
( |
| ) |
|
|
private |
◆ FlushFrames()
| void ttv::broadcast::IntelVideoEncoder::FlushFrames |
( |
| ) |
|
|
private |
◆ GetName()
| virtual std::string ttv::broadcast::IntelVideoEncoder::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetReceiverImplementation()
◆ GetSpsPps()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::GetSpsPps |
( |
std::vector< uint8_t > & |
sps, |
|
|
std::vector< uint8_t > & |
pps |
|
) |
| |
|
overridevirtual |
◆ Initialize()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::Initialize |
( |
| ) |
|
|
overridevirtual |
◆ InternalStop()
| void ttv::broadcast::IntelVideoEncoder::InternalStop |
( |
| ) |
|
|
private |
◆ SetFrameWriter()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::SetFrameWriter |
( |
const std::shared_ptr< IFrameWriter > & |
frameWriter | ) |
|
|
overridevirtual |
◆ SetTargetBitRate()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::SetTargetBitRate |
( |
uint32_t |
kbps | ) |
|
|
overridevirtual |
Sets the desired bitrate in 1000s of bits per second. This will only have an effect if SupportsBitrateAdjustment() returns true. TTV_EC_UNSUPPORTED will be returned if not supported.
Implements ttv::broadcast::IVideoEncoder.
◆ SetupEncoderParams()
| void ttv::broadcast::IntelVideoEncoder::SetupEncoderParams |
( |
const VideoParams & |
videoParams | ) |
|
|
private |
◆ Shutdown()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ Start()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::Start |
( |
uint32_t |
streamIndex, |
|
|
const VideoParams & |
videoParams |
|
) |
| |
|
overridevirtual |
◆ Stop()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::Stop |
( |
| ) |
|
|
overridevirtual |
◆ SubmitFrame()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::SubmitFrame |
( |
const std::shared_ptr< VideoFrame > & |
videoFrame | ) |
|
|
overridevirtual |
This will be called periodically to kick off an encode of a frame. This should not block to encode the frame synchronously.
Implements ttv::broadcast::IVideoEncoder.
◆ SupportsBitRateAdjustment()
| virtual bool ttv::broadcast::IntelVideoEncoder::SupportsBitRateAdjustment |
( |
| ) |
const |
|
overridevirtual |
◆ SupportsReceiverProtocol() [1/2]
◆ SupportsReceiverProtocol() [2/2]
template<typename T >
| bool ttv::broadcast::IVideoEncoder::SupportsReceiverProtocol |
( |
| ) |
const |
|
inlineinherited |
Determines if the concrete implementation supports the given protocol. The template parameter must be known to derive from IVideoFrameReceiver.
◆ ValidateFrame()
| virtual TTV_ErrorCode ttv::broadcast::IntelVideoEncoder::ValidateFrame |
( |
const std::shared_ptr< VideoFrame > & |
videoframe | ) |
|
|
overridevirtual |
◆ ValidateVideoParams()
◆ mInternalData
| std::shared_ptr<IntelVideoEncoderInternalData> ttv::broadcast::IntelVideoEncoder::mInternalData |
|
private |
The documentation for this class was generated from the following file:
- modules/broadcast/broadcast_intel-video-encoder/include/twitchsdk/broadcast/intelvideoencoder.h