StreamerCtrlThread Class Reference

#include <streamer_ctrl.h>

Collaboration diagram for StreamerCtrlThread:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 36 of file streamer_ctrl.h.

Public Member Functions

 StreamerCtrlThread (MainFrame *main_frame_instance)
virtual ~StreamerCtrlThread ()
void Create (bool gcard_use, const wxString proto, const wxString file_path, int cam_num, int num_of_streams=1, int audio_stream=-1, const wxString sub_session=wxT("testStream"), unsigned short port_rtsp=8554, unsigned int fps=25)
void stopStreaming ()
bool isStreaming ()

Static Public Member Functions

static void onParsableImage (IplImage *image, void *buffered_image_multi_vstream_callback_data, void *callback_data)
static void fake_destroy_image_context (char *, void *)
static void fake_create_image_context (char *, void *)

Private Member Functions

void * Entry ()
void initializeOmniStuff (IplImage *image_to_parse, void *buffered_image_multi_vstream_callback_data)

Private Attributes

OmniAlgoSimpleDetection< OmniFastLookupTable,
int, IplImage, CvPoint > * 
_ctrl_lookup
OmniAlgoSimpleDetection< OmniGCardConverter,
double, IplImage, CvPoint > * 
_ctrl_gcard
OmniAlgoVRFilterDetection<
OmniFastLookupTable, int,
IplImage, CvPoint > * 
_ctrl_vr_lookup
OmniAlgoVRFilterDetection<
OmniGCardConverter, double,
IplImage, CvPoint > * 
_ctrl_vr_gcard
MainFrame_main_frame_pointer
OStreamUCast_streamerUCast
unsigned short _port_rtsp
int _fps
ostream_encoding_type _enc_proto
wxString * _sub_session
bool _streaming_status
bool _gcard_use
bool _algo_simple
bool _ctrl_initialized
char * _file_path
int _cam_num
int _num_of_streams
int _audio_num


Constructor & Destructor Documentation

StreamerCtrlThread::StreamerCtrlThread ( MainFrame main_frame_instance  ) 

Definition at line 32 of file streamer_ctrl.cpp.

StreamerCtrlThread::~StreamerCtrlThread (  )  [virtual]

Definition at line 48 of file streamer_ctrl.cpp.

References _file_path, _streamerUCast, and _sub_session.


Member Function Documentation

void StreamerCtrlThread::Create ( bool  gcard_use,
const wxString  proto,
const wxString  file_path,
int  cam_num,
int  num_of_streams = 1,
int  audio_stream = -1,
const wxString  sub_session = wxT("testStream"),
unsigned short  port_rtsp = 8554,
unsigned int  fps = 25 
)

Definition at line 63 of file streamer_ctrl.cpp.

References _audio_num, _cam_num, _ctrl_initialized, _enc_proto, _file_path, _fps, _gcard_use, _num_of_streams, _port_rtsp, _streamerUCast, _sub_session, NULL, onParsableImage(), OSTREAM_ENCODING_H263P, OSTREAM_ENCODING_MJPEG, and OSTREAM_ENCODING_NONE.

Referenced by DialogOptions::OnOptionsButtonOkClick().

Here is the call graph for this function:

Here is the caller graph for this function:

void * StreamerCtrlThread::Entry (  )  [private]

Definition at line 129 of file streamer_ctrl.cpp.

References _audio_num, _cam_num, _enc_proto, _file_path, _fps, _main_frame_pointer, _port_rtsp, _streamerUCast, _streaming_status, _sub_session, MainFrame::OnStreamerCtrlThreadEnd(), and OStreamUCast::startStreaming().

Here is the call graph for this function:

void StreamerCtrlThread::fake_create_image_context ( char *  ,
void *   
) [static]

Definition at line 342 of file streamer_ctrl.cpp.

Referenced by initializeOmniStuff().

Here is the caller graph for this function:

void StreamerCtrlThread::fake_destroy_image_context ( char *  ,
void *   
) [static]

Definition at line 338 of file streamer_ctrl.cpp.

Referenced by initializeOmniStuff().

Here is the caller graph for this function:

void StreamerCtrlThread::initializeOmniStuff ( IplImage *  image_to_parse,
void *  buffered_image_multi_vstream_callback_data 
) [private]

Definition at line 148 of file streamer_ctrl.cpp.

References _ctrl_gcard, _ctrl_initialized, _ctrl_lookup, _ctrl_vr_gcard, _ctrl_vr_lookup, _gcard_use, _main_frame_pointer, BufferedImageMultiVideoSource::add_image_by_stream_id(), DEBUG_PRINT, fake_create_image_context(), fake_destroy_image_context(), MainFrame::GetAlgoSimpleStatus(), MainFrame::GetCascadeArray(), MainFrame::GetCascadeSize(), MainFrame::GetCenterX(), MainFrame::GetCenterY(), MainFrame::GetFlippedModeStatus(), MainFrame::GetFreezeFrameBound(), MainFrame::GetMaxRadius(), MainFrame::GetMinRadius(), MainFrame::GetTrackWindowHitrate(), MainFrame::is_face_detect_options_set(), OmniGCardConverter::is_initialized(), OmniFastLookupTable::is_initialized(), NULL, OmniAlgoVRFilterDetection< ConverterT, AngleT, ImageT, PointT >::register_all_image_callbacks(), and OmniAlgoSimpleDetection< ConverterT, AngleT, ImageT, PointT >::register_all_image_callbacks().

Referenced by onParsableImage().

Here is the call graph for this function:

Here is the caller graph for this function:

bool StreamerCtrlThread::isStreaming (  ) 

Definition at line 111 of file streamer_ctrl.cpp.

References _streaming_status.

Referenced by DialogOptions::Create(), MainFrame::OnCloseWindow(), MainFrame::OnMenuitemActionsStopServerClick(), DialogOptions::OnOptionsButtonOkClick(), and MainFrame::~MainFrame().

Here is the caller graph for this function:

void StreamerCtrlThread::onParsableImage ( IplImage *  image,
void *  buffered_image_multi_vstream_callback_data,
void *  callback_data 
) [static]

Definition at line 296 of file streamer_ctrl.cpp.

References _ctrl_gcard, _ctrl_initialized, _ctrl_lookup, _ctrl_vr_gcard, _ctrl_vr_lookup, _gcard_use, _main_frame_pointer, DEBUG_PRINT, MainFrame::GetAlgoSimpleStatus(), initializeOmniStuff(), OmniAlgoVRFilterDetection< ConverterT, AngleT, ImageT, PointT >::loop_next_frame(), OmniAlgoSimpleDetection< ConverterT, AngleT, ImageT, PointT >::loop_next_frame(), and NULL.

Referenced by Create().

Here is the call graph for this function:

Here is the caller graph for this function:

void StreamerCtrlThread::stopStreaming (  ) 

Definition at line 120 of file streamer_ctrl.cpp.

References _streamerUCast, and OStreamUCast::stopStreaming().

Referenced by MainFrame::OnMenuitemActionsStopServerClick(), and MainFrame::~MainFrame().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

bool StreamerCtrlThread::_algo_simple [private]

Definition at line 83 of file streamer_ctrl.h.

int StreamerCtrlThread::_audio_num [private]

Definition at line 88 of file streamer_ctrl.h.

Referenced by Create(), and Entry().

int StreamerCtrlThread::_cam_num [private]

Definition at line 86 of file streamer_ctrl.h.

Referenced by Create(), and Entry().

OmniAlgoSimpleDetection<OmniGCardConverter, double, IplImage, CvPoint>* StreamerCtrlThread::_ctrl_gcard [private]

Definition at line 69 of file streamer_ctrl.h.

Referenced by initializeOmniStuff(), and onParsableImage().

bool StreamerCtrlThread::_ctrl_initialized [private]

Definition at line 84 of file streamer_ctrl.h.

Referenced by Create(), initializeOmniStuff(), and onParsableImage().

OmniAlgoSimpleDetection<OmniFastLookupTable, int, IplImage, CvPoint>* StreamerCtrlThread::_ctrl_lookup [private]

Definition at line 68 of file streamer_ctrl.h.

Referenced by initializeOmniStuff(), and onParsableImage().

OmniAlgoVRFilterDetection<OmniGCardConverter, double, IplImage, CvPoint>* StreamerCtrlThread::_ctrl_vr_gcard [private]

Definition at line 72 of file streamer_ctrl.h.

Referenced by initializeOmniStuff(), and onParsableImage().

OmniAlgoVRFilterDetection<OmniFastLookupTable, int, IplImage, CvPoint>* StreamerCtrlThread::_ctrl_vr_lookup [private]

Definition at line 71 of file streamer_ctrl.h.

Referenced by initializeOmniStuff(), and onParsableImage().

ostream_encoding_type StreamerCtrlThread::_enc_proto [private]

Definition at line 79 of file streamer_ctrl.h.

Referenced by Create(), and Entry().

char* StreamerCtrlThread::_file_path [private]

Definition at line 85 of file streamer_ctrl.h.

Referenced by Create(), Entry(), and ~StreamerCtrlThread().

int StreamerCtrlThread::_fps [private]

Definition at line 78 of file streamer_ctrl.h.

Referenced by Create(), and Entry().

bool StreamerCtrlThread::_gcard_use [private]

Definition at line 82 of file streamer_ctrl.h.

Referenced by Create(), initializeOmniStuff(), and onParsableImage().

MainFrame* StreamerCtrlThread::_main_frame_pointer [private]

Definition at line 74 of file streamer_ctrl.h.

Referenced by Entry(), initializeOmniStuff(), and onParsableImage().

int StreamerCtrlThread::_num_of_streams [private]

Definition at line 87 of file streamer_ctrl.h.

Referenced by Create().

unsigned short StreamerCtrlThread::_port_rtsp [private]

Definition at line 77 of file streamer_ctrl.h.

Referenced by Create(), and Entry().

OStreamUCast* StreamerCtrlThread::_streamerUCast [private]

Definition at line 75 of file streamer_ctrl.h.

Referenced by Create(), Entry(), stopStreaming(), and ~StreamerCtrlThread().

bool StreamerCtrlThread::_streaming_status [private]

Definition at line 81 of file streamer_ctrl.h.

Referenced by Entry(), and isStreaming().

wxString* StreamerCtrlThread::_sub_session [private]

Definition at line 80 of file streamer_ctrl.h.

Referenced by Create(), Entry(), and ~StreamerCtrlThread().


The documentation for this class was generated from the following files:
Generated on Tue Dec 26 10:39:30 2006 for Omnimeeting by  doxygen 1.4.7