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=FALSE, BOOL stillImageTransmission=FALSE, unsigned maxBitRate=850)
Overrides from class PObject
virtual PObject * Clone () const
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)
BOOL GetTemporalSpatialTradeOffCapability () const
BOOL GetStillImageTransmission () const
unsigned GetMaxBitRate () const
unsigned GetQCIFMPI () const
unsigned GetCIFMPI () const
void SetTxQualityLevel (int qLevel)

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 = FALSE,
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.

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.

void H323_H261Capability::SetTxQualityLevel ( int  qLevel  ) 

Set the quality level of transmitted video data. Is irrelevant when this codec is used to receive video data. Has a value of 1 (good quality) to 31 (poor quality). Quality is improved at the expense of bit rate.


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 Mon Sep 25 16:21:27 2006 for OPAL by  doxygen 1.4.7