sbGStreamerPipeline Class Reference

#include <sbGStreamerPipeline.h>

Inheritance diagram for sbGStreamerPipeline:
[legend]
Collaboration diagram for sbGStreamerPipeline:
[legend]

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_SBIMEDIACOREEVENTTARGET
NS_DECL_SBIGSTREAMERPIPELINE 
sbGStreamerPipeline ()
 
virtual ~sbGStreamerPipeline ()
 
virtual void HandleMessage (GstMessage *message)
 
virtual PRBool HandleSynchronousMessage (GstMessage *message)
 
nsresult InitGStreamer ()
 
- Public Member Functions inherited from sbGStreamerMessageHandler
virtual ~sbGStreamerMessageHandler ()
 
- Public Member Functions inherited from sbIGStreamerPipeline
void stopPipeline ()
 
void pausePipeline ()
 
void playPipeline ()
 
- Public Member Functions inherited from sbIMediacoreEventTarget
void addListener (in sbIMediacoreEventListener aListener)
 
void removeListener (in sbIMediacoreEventListener aListener)
 
boolean dispatchEvent (in sbIMediacoreEvent aEvent, [optional] in boolean aAsync)
 

Protected Member Functions

virtual void HandleEOSMessage (GstMessage *message)
 
virtual void HandleErrorMessage (GstMessage *message)
 
virtual void HandleWarningMessage (GstMessage *message)
 
virtual void HandleStateChangeMessage (GstMessage *message)
 
virtual void HandleTagMessage (GstMessage *message)
 
virtual void HandleBufferingMessage (GstMessage *message)
 
virtual nsresult OnDestroyPipeline (GstElement *pipeline)
 
virtual nsresult BuildPipeline ()
 
virtual nsresult SetupPipeline ()
 
virtual nsresult DestroyPipeline ()
 
void SetPipelineOp (GStreamer::pipelineOp_t aPipelineOp)
 
GStreamer::pipelineOp_t GetPipelineOp ()
 
void DispatchMediacoreEvent (unsigned long type, nsIVariant *aData=NULL, sbIMediacoreError *aError=NULL)
 
GstClockTime GetRunningTime ()
 

Protected Attributes

GstElement * mPipeline
 
nsString mResourceDisplayName
 
GstClockTime mTimeRunning
 
PRIntervalTime mTimeStarted
 
PRMonitor * mMonitor
 
GStreamer::pipelineOp_t mPipelineOp
 
nsAutoPtr
< sbBaseMediacoreEventTarget
mBaseEventTarget
 

Detailed Description

Definition at line 49 of file sbGStreamerPipeline.h.

Constructor & Destructor Documentation

sbIMediacoreEventTarget sbGStreamerPipeline::sbGStreamerPipeline ( )

Definition at line 66 of file sbGStreamerPipeline.cpp.

sbGStreamerPipeline::~sbGStreamerPipeline ( )
virtual

Definition at line 76 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Member Function Documentation

nsresult sbGStreamerPipeline::BuildPipeline ( )
protectedvirtual

Reimplemented in sbGStreamerVideoTranscoder, sbGStreamerTranscode, and sbGStreamerRTPStreamer.

Definition at line 113 of file sbGStreamerPipeline.cpp.

Here is the caller graph for this function:

nsresult sbGStreamerPipeline::DestroyPipeline ( )
protectedvirtual

Definition at line 151 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbGStreamerPipeline::DispatchMediacoreEvent ( unsigned long  type,
nsIVariant *  aData = NULL,
sbIMediacoreError aError = NULL 
)
protected

Definition at line 392 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

GStreamer::pipelineOp_t sbGStreamerPipeline::GetPipelineOp ( )
protected

Definition at line 265 of file sbGStreamerPipeline.cpp.

Here is the caller graph for this function:

GstClockTime sbGStreamerPipeline::GetRunningTime ( )
protected

Definition at line 409 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbGStreamerPipeline::HandleBufferingMessage ( GstMessage *  message)
protectedvirtual

Definition at line 350 of file sbGStreamerPipeline.cpp.

void sbGStreamerPipeline::HandleEOSMessage ( GstMessage *  message)
protectedvirtual

Definition at line 338 of file sbGStreamerPipeline.cpp.

Here is the caller graph for this function:

void sbGStreamerPipeline::HandleErrorMessage ( GstMessage *  message)
protectedvirtual

Definition at line 295 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void sbGStreamerPipeline::HandleMessage ( GstMessage *  message)
virtual

Implements sbGStreamerMessageHandler.

Definition at line 271 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

void sbGStreamerPipeline::HandleStateChangeMessage ( GstMessage *  message)
protectedvirtual

Definition at line 354 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

PRBool sbGStreamerPipeline::HandleSynchronousMessage ( GstMessage *  message)
virtual

Implements sbGStreamerMessageHandler.

Definition at line 187 of file sbGStreamerPipeline.cpp.

void sbGStreamerPipeline::HandleTagMessage ( GstMessage *  message)
protectedvirtual

Definition at line 346 of file sbGStreamerPipeline.cpp.

void sbGStreamerPipeline::HandleWarningMessage ( GstMessage *  message)
protectedvirtual

Definition at line 322 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult sbGStreamerPipeline::InitGStreamer ( )

Definition at line 88 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

virtual nsresult sbGStreamerPipeline::OnDestroyPipeline ( GstElement *  pipeline)
inlineprotectedvirtual

Definition at line 78 of file sbGStreamerPipeline.h.

Here is the caller graph for this function:

void sbGStreamerPipeline::SetPipelineOp ( GStreamer::pipelineOp_t  aPipelineOp)
protected

Definition at line 258 of file sbGStreamerPipeline.cpp.

Here is the caller graph for this function:

nsresult sbGStreamerPipeline::SetupPipeline ( )
protectedvirtual

Definition at line 119 of file sbGStreamerPipeline.cpp.

Here is the call graph for this function:

Member Data Documentation

nsAutoPtr<sbBaseMediacoreEventTarget> sbGStreamerPipeline::mBaseEventTarget
protected

Definition at line 113 of file sbGStreamerPipeline.h.

PRMonitor* sbGStreamerPipeline::mMonitor
protected

Definition at line 108 of file sbGStreamerPipeline.h.

GstElement* sbGStreamerPipeline::mPipeline
protected

Definition at line 94 of file sbGStreamerPipeline.h.

GStreamer::pipelineOp_t sbGStreamerPipeline::mPipelineOp
protected

Definition at line 111 of file sbGStreamerPipeline.h.

nsString sbGStreamerPipeline::mResourceDisplayName
protected

Definition at line 98 of file sbGStreamerPipeline.h.

GstClockTime sbGStreamerPipeline::mTimeRunning
protected

Definition at line 102 of file sbGStreamerPipeline.h.

PRIntervalTime sbGStreamerPipeline::mTimeStarted
protected

Definition at line 105 of file sbGStreamerPipeline.h.


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