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 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.

virtual PString H323_H261Capability::GetFormatName (  )  const [virtual]

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

Implements H323Capability.

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.

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::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 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.

BOOL H323_H261Capability::GetTemporalSpatialTradeOffCapability (  )  const [inline]

Get temporal/spatial tradeoff capabilty

References temporalSpatialTradeOffCapability.

BOOL H323_H261Capability::GetStillImageTransmission (  )  const [inline]

Get still image transmission flag

References stillImageTransmission.

unsigned H323_H261Capability::GetMaxBitRate (  )  const [inline]

Get maximum bit rate

References maxBitRate.

unsigned H323_H261Capability::GetQCIFMPI (  )  const [inline]

Get qcifMPI

unsigned H323_H261Capability::GetCIFMPI (  )  const [inline]

Get cifMPI


Member Data Documentation

unsigned H323_H261Capability::qcifMPI [protected]

unsigned H323_H261Capability::cifMPI [protected]

unsigned H323_H261Capability::maxBitRate [protected]

Referenced by GetMaxBitRate().


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

Generated on Mon Sep 1 12:39:55 2008 for OpenH323 by  doxygen 1.5.6