Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

H323_H261Capability Class Reference

#include <h261codec.h>

Inheritance diagram for H323_H261Capability:

H323VideoCapability H323RealTimeCapability H323Capability List of all members.

Public Member Functions

Construction
 H323_H261Capability (unsigned qcifMPI, unsigned cifMPI, BOOL temporalSpatialTradeOffCapability=TRUE, BOOL stillImageTransmission=FALSE, unsigned maxBitRate=850)
Overrides from class PObject
virtual PObject * Clone () const
Overrides from class PObject
Comparison Compare (const PObject &obj) const
Identification functions
virtual unsigned GetSubType () const
virtual PString GetFormatName () const
Protocol manipulation
virtual BOOL OnSendingPDU (H245_VideoCapability &pdu) const
virtual BOOL OnSendingPDU (H245_VideoMode &pdu) const
virtual BOOL OnReceivedPDU (const H245_VideoCapability &pdu)
virtual H323CodecCreateCodec (H323Codec::Direction direction) const
BOOL GetTemporalSpatialTradeOffCapability () const
BOOL GetStillImageTransmission () const
unsigned GetMaxBitRate () const
unsigned GetQCIFMPI () const
unsigned GetCIFMPI () const

Protected Attributes

unsigned qcifMPI
unsigned cifMPI
BOOL temporalSpatialTradeOffCapability
unsigned maxBitRate
BOOL stillImageTransmission

Detailed Description

This class is a H.261 video capability.


Constructor & Destructor Documentation

H323_H261Capability::H323_H261Capability unsigned  qcifMPI,
unsigned  cifMPI,
BOOL  temporalSpatialTradeOffCapability = TRUE,
BOOL  stillImageTransmission = FALSE,
unsigned  maxBitRate = 850
 

Create a new H261 Capability


Member Function Documentation

virtual PObject* H323_H261Capability::Clone  )  const [virtual]
 

Create a copy of the object.

Comparison H323_H261Capability::Compare const PObject &  obj  )  const
 

Compare object

Reimplemented from H323Capability.

virtual H323Codec* H323_H261Capability::CreateCodec H323Codec::Direction  direction  )  const [virtual]
 

Create the codec instance, allocating resources as required.

Parameters:
direction  Direction in which this instance runs

Implements H323Capability.

unsigned H323_H261Capability::GetCIFMPI  )  const [inline]
 

Get cifMPI

virtual PString H323_H261Capability::GetFormatName  )  const [virtual]
 

Get the name of the media data format this class represents.

Implements H323Capability.

unsigned H323_H261Capability::GetMaxBitRate  )  const [inline]
 

Get maximum bit rate

unsigned H323_H261Capability::GetQCIFMPI  )  const [inline]
 

Get qcifMPI

BOOL H323_H261Capability::GetStillImageTransmission  )  const [inline]
 

Get still image transmission flag

virtual unsigned H323_H261Capability::GetSubType  )  const [virtual]
 

Get the sub-type of the capability. This is a code dependent on the main type of the capability.

This returns one of the four possible combinations of mode and speed using the enum values of the protocol ASN H245_AudioCapability class.

Implements H323Capability.

BOOL H323_H261Capability::GetTemporalSpatialTradeOffCapability  )  const [inline]
 

Get temporal/spatial tradeoff capabilty

virtual BOOL H323_H261Capability::OnReceivedPDU const H245_VideoCapability pdu  )  [virtual]
 

This function is called whenever and incoming TerminalCapabilitySet or OpenLogicalChannel PDU has been used to construct the control channel. It allows the capability to set from the PDU fields, information in members specific to the class.

The default behaviour gets the data rate field from the PDU.

Parameters:
pdu  PDU to set information on

Implements H323VideoCapability.

virtual BOOL H323_H261Capability::OnSendingPDU H245_VideoMode pdu  )  const [virtual]
 

This function is called whenever and outgoing RequestMode PDU is being constructed for the control channel. It allows the capability to set the PDU fields from information in members specific to the class.

The default behaviour sets the resolution and bit rate.

Parameters:
pdu  PDU to set information on

Implements H323VideoCapability.

virtual BOOL H323_H261Capability::OnSendingPDU H245_VideoCapability pdu  )  const [virtual]
 

This function is called whenever and outgoing TerminalCapabilitySet or OpenLogicalChannel PDU is being constructed for the control channel. It allows the capability to set the PDU fields from information in members specific to the class.

The default behaviour sets the data rate field in the PDU.

Parameters:
pdu  PDU to set information on

Implements H323VideoCapability.


Member Data Documentation

unsigned H323_H261Capability::cifMPI [protected]
 

unsigned H323_H261Capability::maxBitRate [protected]
 

unsigned H323_H261Capability::qcifMPI [protected]
 

BOOL H323_H261Capability::stillImageTransmission [protected]
 

BOOL H323_H261Capability::temporalSpatialTradeOffCapability [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Mar 5 14:59:50 2005 for OpenH323 by  doxygen 1.4.1