Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
H264FrameDemuxer Class Reference

#include <H264FrameDemuxer.h>

Inheritance diagram for H264FrameDemuxer:
Inheritance graph
Collaboration diagram for H264FrameDemuxer:
Collaboration graph

Public Member Functions

 H264FrameDemuxer ()
 
short getState ()
 
const_buffer getSPS ()
 
const_buffer getPPS ()
 
const_buffer getSPS_PPS ()
 
- Public Member Functions inherited from FrameContainerQueueAdapter
 FrameContainerQueueAdapter ()
 
void adapt (boost::shared_ptr< FrameContainerQueue > adaptee)
 
void push (frame_container item)
 
frame_container pop ()
 
bool try_push (frame_container item)
 
frame_container try_pop ()
 
bool isFull ()
 
void clear ()
 
void accept ()
 
size_t size ()
 
- Public Member Functions inherited from FrameContainerQueue
 FrameContainerQueue (size_t capacity)
 
virtual void push_back (frame_container item)
 
virtual void push_drop_oldest (frame_container item)
 
virtual frame_container peek ()
 
virtual void flush ()
 
- Public Member Functions inherited from bounded_buffer< frame_container >
 bounded_buffer (size_type capacity)
 
void push (typename boost::call_traits< value_type >::param_type item)
 
void push_back (typename boost::call_traits< value_type >::param_type item)
 
void push_drop_oldest (typename boost::call_traits< value_type >::param_type item)
 
bool try_push (typename boost::call_traits< value_type >::param_type item)
 
bool isFull ()
 
value_type pop ()
 
value_type peek ()
 
value_type try_pop ()
 
void clear ()
 
void flush ()
 
void accept ()
 
size_t size ()
 

Protected Member Functions

FrameContainerQueueAdapter::PushType should_push (frame_container item)
 
void on_failed_push (frame_container item)
 
void on_push_success (frame_container item)
 
frame_container on_pop_success (frame_container item)
 
- Protected Member Functions inherited from FrameContainerQueueAdapter
virtual frame_container on_failed_pop ()
 

Private Types

enum  STATE {
  INITIAL , SPS_RCVD , PPS_RCVD , WAITING_FOR_IFRAME ,
  NORMAL
}
 

Private Member Functions

const_buffer parseNALU (mutable_buffer &input, short &typeFound)
 

Private Attributes

STATE myState
 
const_buffer sps
 
const_buffer pps
 
const_buffer sps_pps
 

Additional Inherited Members

- Public Types inherited from bounded_buffer< frame_container >
typedef boost::container::deque< frame_container > container_type
 
typedef container_type::size_type size_type
 
typedef container_type::value_type value_type
 
typedef boost::call_traits< value_type >::param_type param_type
 
- Protected Types inherited from FrameContainerQueueAdapter
enum  PushType { DONT_PUSH = 0 , TRY_PUSH = 1 , MUST_PUSH = 2 }
 
- Protected Attributes inherited from FrameContainerQueueAdapter
boost::shared_ptr< FrameContainerQueuemAdaptee
 

Member Enumeration Documentation

◆ STATE

Enumerator
INITIAL 
SPS_RCVD 
PPS_RCVD 
WAITING_FOR_IFRAME 
NORMAL 

Constructor & Destructor Documentation

◆ H264FrameDemuxer()

H264FrameDemuxer::H264FrameDemuxer ( )
inline

Member Function Documentation

◆ getPPS()

const_buffer H264FrameDemuxer::getPPS ( )
inline

◆ getSPS()

const_buffer H264FrameDemuxer::getSPS ( )
inline

◆ getSPS_PPS()

const_buffer H264FrameDemuxer::getSPS_PPS ( )
inline

◆ getState()

short H264FrameDemuxer::getState ( )
inline

◆ on_failed_push()

void H264FrameDemuxer::on_failed_push ( frame_container item)
protectedvirtual

Reimplemented from FrameContainerQueueAdapter.

◆ on_pop_success()

frame_container H264FrameDemuxer::on_pop_success ( frame_container item)
protectedvirtual

Reimplemented from FrameContainerQueueAdapter.

Here is the call graph for this function:

◆ on_push_success()

void H264FrameDemuxer::on_push_success ( frame_container item)
protectedvirtual

Reimplemented from FrameContainerQueueAdapter.

◆ parseNALU()

const_buffer H264FrameDemuxer::parseNALU ( mutable_buffer & input,
short & typeFound )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ should_push()

FrameContainerQueueAdapter::PushType H264FrameDemuxer::should_push ( frame_container item)
protectedvirtual

Reimplemented from FrameContainerQueueAdapter.

Here is the call graph for this function:

Member Data Documentation

◆ myState

STATE H264FrameDemuxer::myState
private

◆ pps

const_buffer H264FrameDemuxer::pps
private

◆ sps

const_buffer H264FrameDemuxer::sps
private

◆ sps_pps

const_buffer H264FrameDemuxer::sps_pps
private

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