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

Public Member Functions

 DetailFfmpeg (MotionVectorExtractorProps props, std::function< frame_sp(size_t size, string &pinId)> _makeFrameWithPinId, std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> _makeframe)
 
 ~DetailFfmpeg ()
 
void getMotionVectors (frame_container &frames, frame_sp &outFrame, frame_sp &decodedFrame)
 
void initDecoder ()
 
int decodeAndGetMotionVectors (AVPacket *pkt, frame_container &frames, frame_sp &outFrame, frame_sp &decodedFrame)
 
- Public Member Functions inherited from MvExtractDetailAbs
 MvExtractDetailAbs (MotionVectorExtractorProps props, std::function< frame_sp(size_t size, string &pinId)> _makeFrameWithPinId, std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> _makeframe)
 
 ~MvExtractDetailAbs ()
 
virtual void setProps (MotionVectorExtractorProps props)
 

Private Attributes

AVFrame * avFrame = NULL
 
AVCodecContext * decoderContext = NULL
 

Additional Inherited Members

- Public Attributes inherited from MvExtractDetailAbs
int mWidth = 0
 
int mHeight = 0
 
std::string rawFramePinId
 
std::string motionVectorPinId
 
std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> makeframe
 
std::function< frame_sp(size_t size, string &pinId)> makeFrameWithPinId
 
bool sendDecodedFrame = false
 
int threshold
 
cv::Mat bgrImg
 

Constructor & Destructor Documentation

◆ DetailFfmpeg()

DetailFfmpeg::DetailFfmpeg ( MotionVectorExtractorProps props,
std::function< frame_sp(size_t size, string &pinId)> _makeFrameWithPinId,
std::function< frame_sp(frame_sp &bigFrame, size_t &size, string &pinId)> _makeframe )
inline

◆ ~DetailFfmpeg()

DetailFfmpeg::~DetailFfmpeg ( )
inline

Member Function Documentation

◆ decodeAndGetMotionVectors()

int DetailFfmpeg::decodeAndGetMotionVectors ( AVPacket * pkt,
frame_container & frames,
frame_sp & outFrame,
frame_sp & decodedFrame )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMotionVectors()

void DetailFfmpeg::getMotionVectors ( frame_container & frames,
frame_sp & outFrame,
frame_sp & decodedFrame )
virtual

Implements MvExtractDetailAbs.

Here is the call graph for this function:

◆ initDecoder()

void DetailFfmpeg::initDecoder ( )
virtual

Implements MvExtractDetailAbs.

Member Data Documentation

◆ avFrame

AVFrame* DetailFfmpeg::avFrame = NULL
private

◆ decoderContext

AVCodecContext* DetailFfmpeg::decoderContext = NULL
private

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