Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
DetailAbs Class Referenceabstract
Inheritance diagram for DetailAbs:
Inheritance graph
Collaboration diagram for DetailAbs:
Collaboration graph

Public Member Functions

 DetailAbs (Mp4WriterSinkProps &_props)
 
void setProps (Mp4WriterSinkProps &_props)
 
 ~DetailAbs ()
 
virtual bool set_video_decoder_config ()=0
 
virtual bool write (frame_container &frames)=0
 
void setImageMetadata (framemetadata_sp &metadata)
 
bool enableMetadata (std::string &formatVersion)
 
void initNewMp4File (std::string &filename)
 
bool attemptFileClose ()
 
bool shouldTriggerSOS ()
 
void addMetadataInVideoHeader (frame_sp inFrame)
 

Public Attributes

boost::shared_ptr< Mp4WriterSinkPropsmProps
 
bool mMetadataEnabled = false
 
bool isKeyFrame
 
struct mp4_mux * mux
 
bool syncFlag = false
 

Protected Attributes

int videotrack
 
int metatrack
 
int audiotrack
 
int current_track
 
uint64_t now
 
struct mp4_mux_track_params params metatrack_params
 
struct mp4_video_decoder_config vdc
 
struct mp4_mux_sample mux_sample
 
struct mp4_mux_prepend_buffer prepend_buffer
 
struct mp4_track_sample sample
 
int mHeight
 
int mWidth
 
short mFrameType
 
Mp4WriterSinkUtils mWriterSinkUtils
 
std::string mNextFrameFileName
 
std::string mSerFormatVersion
 
framemetadata_sp mInputMetadata
 
uint64_t lastFrameTS = 0
 
boost::shared_ptr< DTSCalcStrategymDTSCalc = nullptr
 

Constructor & Destructor Documentation

◆ DetailAbs()

DetailAbs::DetailAbs ( Mp4WriterSinkProps & _props)
inline
Here is the call graph for this function:

◆ ~DetailAbs()

DetailAbs::~DetailAbs ( )
inline

Member Function Documentation

◆ addMetadataInVideoHeader()

void DetailAbs::addMetadataInVideoHeader ( frame_sp inFrame)
inline
Here is the caller graph for this function:

◆ attemptFileClose()

bool DetailAbs::attemptFileClose ( )
inline

◆ enableMetadata()

bool DetailAbs::enableMetadata ( std::string & formatVersion)
inline

◆ initNewMp4File()

void DetailAbs::initNewMp4File ( std::string & filename)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_video_decoder_config()

virtual bool DetailAbs::set_video_decoder_config ( )
pure virtual

Implemented in DetailH264, and DetailJpeg.

Here is the caller graph for this function:

◆ setImageMetadata()

void DetailAbs::setImageMetadata ( framemetadata_sp & metadata)
inline
Here is the call graph for this function:

◆ setProps()

void DetailAbs::setProps ( Mp4WriterSinkProps & _props)
inline
Here is the caller graph for this function:

◆ shouldTriggerSOS()

bool DetailAbs::shouldTriggerSOS ( )
inline

◆ write()

virtual bool DetailAbs::write ( frame_container & frames)
pure virtual

Implemented in DetailH264, and DetailJpeg.

Member Data Documentation

◆ audiotrack

int DetailAbs::audiotrack
protected

◆ current_track

int DetailAbs::current_track
protected

◆ isKeyFrame

bool DetailAbs::isKeyFrame

◆ lastFrameTS

uint64_t DetailAbs::lastFrameTS = 0
protected

◆ mDTSCalc

boost::shared_ptr<DTSCalcStrategy> DetailAbs::mDTSCalc = nullptr
protected

◆ metatrack

int DetailAbs::metatrack
protected

◆ metatrack_params

struct mp4_mux_track_params params DetailAbs::metatrack_params
protected

◆ mFrameType

short DetailAbs::mFrameType
protected

◆ mHeight

int DetailAbs::mHeight
protected

◆ mInputMetadata

framemetadata_sp DetailAbs::mInputMetadata
protected

◆ mMetadataEnabled

bool DetailAbs::mMetadataEnabled = false

◆ mNextFrameFileName

std::string DetailAbs::mNextFrameFileName
protected

◆ mProps

boost::shared_ptr<Mp4WriterSinkProps> DetailAbs::mProps

◆ mSerFormatVersion

std::string DetailAbs::mSerFormatVersion
protected

◆ mux

struct mp4_mux* DetailAbs::mux

◆ mux_sample

struct mp4_mux_sample DetailAbs::mux_sample
protected

◆ mWidth

int DetailAbs::mWidth
protected

◆ mWriterSinkUtils

Mp4WriterSinkUtils DetailAbs::mWriterSinkUtils
protected

◆ now

uint64_t DetailAbs::now
protected

◆ prepend_buffer

struct mp4_mux_prepend_buffer DetailAbs::prepend_buffer
protected

◆ sample

struct mp4_track_sample DetailAbs::sample
protected

◆ syncFlag

bool DetailAbs::syncFlag = false

◆ vdc

struct mp4_video_decoder_config DetailAbs::vdc
protected

◆ videotrack

int DetailAbs::videotrack
protected

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