12 #ifndef _MpVideoResource_h_ 13 #define _MpVideoResource_h_ 116 #endif // _MpVideoResource_h_ int minInputs() const
Returns the minimum number of inputs required by this resource.
Definition: MpResource.cpp:363
virtual ~MpVideoResource()
Destructor.
Definition: MpVideoResource.cpp:42
int minOutputs() const
Returns the minimum number of outputs required by this resource.
Definition: MpResource.cpp:369
Abstract base class for all video processing objects.
Definition: MpVideoResource.h:35
virtual UtlBoolean doProcessFrame(MpBufPtr inBufs[], MpBufPtr outBufs[], int inBufsSize, int outBufsSize, UtlBoolean isEnabled)=0
This method does the real work for the media processing resource and must be defined in each class de...
MpVideoResource & operator=(const MpVideoResource &rhs)
Assignment operator (not implemented for this class)
MpVideoResource(const UtlString &rName, int minInputs, int maxInputs, int minOutputs, int maxOutputs)
Constructor.
Definition: MpVideoResource.cpp:34
Smart pointer to MpBuf.
Definition: MpBuf.h:160
int maxOutputs() const
Returns the maximum number of outputs supported by this resource.
Definition: MpResource.cpp:357
int maxInputs() const
Returns the maximum number of inputs supported by this resource.
Definition: MpResource.cpp:351
Abstract base class for all media processing objects.
Definition: MpResource.h:56
virtual UtlBoolean processFrame(void)
Wrapper around doProcessFrame().
Definition: MpVideoResource.cpp:54
UtlBoolean isEnabled() const
Returns TRUE is this resource is currently enabled, FALSE otherwise.
Definition: MpResource.cpp:440