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

Public Member Functions

 DetailH264 (Mp4WriterSinkProps &_props)
 
bool write (frame_container &frames)
 
void modifyFrameOnNewSPSPPS (short naluType, frame_sp frame, uint8_t *&spsPpsdata, size_t &spsPpsSize, uint8_t *&frameData, size_t &frameSize)
 
bool set_video_decoder_config ()
 
- Public Member Functions inherited from DetailAbs
 DetailAbs (Mp4WriterSinkProps &_props)
 
void setProps (Mp4WriterSinkProps &_props)
 
 ~DetailAbs ()
 
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

frame_sp m_headerFrame
 
const_buffer spsBuffer
 
const_buffer ppsBuffer
 
const_buffer spsBuff
 
const_buffer ppsBuff
 
- Public Attributes inherited from DetailAbs
boost::shared_ptr< Mp4WriterSinkPropsmProps
 
bool mMetadataEnabled = false
 
bool isKeyFrame
 
struct mp4_mux * mux
 
bool syncFlag = false
 

Additional Inherited Members

- Protected Attributes inherited from DetailAbs
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

◆ DetailH264()

DetailH264::DetailH264 ( Mp4WriterSinkProps & _props)
inline

Member Function Documentation

◆ modifyFrameOnNewSPSPPS()

void DetailH264::modifyFrameOnNewSPSPPS ( short naluType,
frame_sp frame,
uint8_t *& spsPpsdata,
size_t & spsPpsSize,
uint8_t *& frameData,
size_t & frameSize )
Here is the caller graph for this function:

◆ set_video_decoder_config()

bool DetailH264::set_video_decoder_config ( )
inlinevirtual

Implements DetailAbs.

◆ write()

bool DetailH264::write ( frame_container & frames)
virtual

Implements DetailAbs.

Here is the call graph for this function:

Member Data Documentation

◆ m_headerFrame

frame_sp DetailH264::m_headerFrame

◆ ppsBuff

const_buffer DetailH264::ppsBuff

◆ ppsBuffer

const_buffer DetailH264::ppsBuffer

◆ spsBuff

const_buffer DetailH264::spsBuff

◆ spsBuffer

const_buffer DetailH264::spsBuffer

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