Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
ExportH264 Class Reference
Inheritance diagram for ExportH264:
Inheritance graph
Collaboration diagram for ExportH264:
Collaboration graph

Public Member Functions

 ExportH264 ()
 
 ExportH264 (boost::shared_ptr< FramesQueue > queueObj, std::function< bool(frame_container &frames, bool forceBlockingPush)> _send, std::function< frame_sp(size_t size, string pinID)> _makeFrame, std::function< std::string(int type)> _getInputPinIdByType, std::string _mOutputPinId)
 
bool exportSend (frame_container &frames)
 
bool handleExport (uint64_t &queryStart, uint64_t &queryEnd, bool &timeReset, mQueueMap &queueMap, uint64_t &endTimeSaved) override
 
- Public Member Functions inherited from ExportQState
 ExportQState (State::StateType type)
 
bool handleExport (uint64_t &queryStart, uint64_t &queryEnd, bool &timeReset, mQueueMap &queueMap, uint64_t &endTimeSaved) override
 
- Public Member Functions inherited from State
 State ()
 
virtual ~State ()
 
 State (StateType type_)
 

Private Attributes

std::function< frame_sp(size_t size, string pinID)> makeFrame
 
uint64_t IFrameTS = 0
 
bool updateAllTimestamp = true
 
bool updateEndTimeSaved = true
 
const_buffer ppsBuffer
 
const_buffer spsBuff
 
const_buffer ppsBuff
 
short typeFound
 
string mOutputPinId
 
int count = 0
 

Additional Inherited Members

- Public Types inherited from State
enum  StateType { IDLE = 0 , WAITING , EXPORT }
 
typedef std::map< uint64_t, frame_container > mQueueMap
 
- Public Attributes inherited from State
float matrix [16]
 
float width
 
float height
 
float z
 
boost::shared_ptr< FramesQueuequeueObject
 
std::function< bool(frame_container &frames, bool forceBlockingPush)> send
 
std::function< std::string(int type)> getInputPinIdByType
 
bool isBFrameEnabled = true
 
bool isProcessCall = false
 
StateType Type = StateType::IDLE
 

Constructor & Destructor Documentation

◆ ExportH264() [1/2]

ExportH264::ExportH264 ( )
inline

◆ ExportH264() [2/2]

ExportH264::ExportH264 ( boost::shared_ptr< FramesQueue > queueObj,
std::function< bool(frame_container &frames, bool forceBlockingPush)> _send,
std::function< frame_sp(size_t size, string pinID)> _makeFrame,
std::function< std::string(int type)> _getInputPinIdByType,
std::string _mOutputPinId )
inline

Member Function Documentation

◆ exportSend()

bool ExportH264::exportSend ( frame_container & frames)
inlinevirtual

Reimplemented from State.

◆ handleExport()

bool ExportH264::handleExport ( uint64_t & queryStart,
uint64_t & queryEnd,
bool & timeReset,
mQueueMap & queueMap,
uint64_t & endTimeSaved )
inlineoverridevirtual

Reimplemented from State.

Here is the call graph for this function:

Member Data Documentation

◆ count

int ExportH264::count = 0
private

◆ IFrameTS

uint64_t ExportH264::IFrameTS = 0
private

◆ makeFrame

std::function<frame_sp(size_t size, string pinID)> ExportH264::makeFrame
private

◆ mOutputPinId

string ExportH264::mOutputPinId
private

◆ ppsBuff

const_buffer ExportH264::ppsBuff
private

◆ ppsBuffer

const_buffer ExportH264::ppsBuffer
private

◆ spsBuff

const_buffer ExportH264::spsBuff
private

◆ typeFound

short ExportH264::typeFound
private

◆ updateAllTimestamp

bool ExportH264::updateAllTimestamp = true
private

◆ updateEndTimeSaved

bool ExportH264::updateEndTimeSaved = true
private

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