class H323_H261Capability: public H323VideoCapability

This class is a H261 video capability

Inheritance:


Public Methods

[more]virtual BOOL EncodeFrame ( BYTE * buffer, unsigned & length )
Encode a sample block into the buffer specified.
[more]virtual BOOL DecodeFrame ( const BYTE * buffer, unsigned length, unsigned & written )
Decode a sample block from the buffer specified.
[more]virtual BOOL EncodeFrame ( BYTE * buffer, unsigned & length )
Encode a sample block into the buffer specified.
[more]virtual BOOL DecodeFrame ( const BYTE * buffer, unsigned length, unsigned & written )
Decode a sample block from the buffer specified.

Public

[more] Construction
[more] Construction
[more] Overrides from class PObject
[more] Overrides from class PObject
[more] Identification functions
[more] Protocol manipulation


Inherited from H323VideoCapability:

Public

Operations


Inherited from H323RealTimeCapability:


Inherited from H323Capability:

Public

Member variable access

Protected Fields

oCapabilityDirection capabilityDirection


Documentation

This class is a H261 video capability
o Construction

o MicrosoftGSMCodec( Direction direction )
Create a new GSM 0610 codec for ALaw.
Parameters:
direction - Direction in which this instance runs

ovirtual BOOL EncodeFrame( BYTE * buffer, unsigned & length )
Encode a sample block into the buffer specified. The samples have been read and are waiting in the readBuffer member variable. it is expected this function will encode exactly encodedBlockSize bytes.
Parameters:
buffer - Buffer into which encoded bytes are placed
length - Actual length of encoded data buffer

ovirtual BOOL DecodeFrame( const BYTE * buffer, unsigned length, unsigned & written )
Decode a sample block from the buffer specified. The samples must be placed into the writeBuffer member variable. It is expected that no more than frameSamples is decoded. The return value is the number of samples decoded. Zero indicates an error.
Parameters:
buffer - Buffer from which encoded data is found
length - Length of encoded data buffer
written - Number of bytes used from data buffer

o Construction

o MicrosoftIMACodec( Direction direction )
Create a new IMA codec for ALaw.
Parameters:
direction - Direction in which this instance runs

ovirtual BOOL EncodeFrame( BYTE * buffer, unsigned & length )
Encode a sample block into the buffer specified. The samples have been read and are waiting in the readBuffer member variable. it is expected this function will encode exactly encodedBlockSize bytes.
Parameters:
buffer - Buffer into which encoded bytes are placed
length - Actual length of encoded data buffer

ovirtual BOOL DecodeFrame( const BYTE * buffer, unsigned length, unsigned & written )
Decode a sample block from the buffer specified. The samples must be placed into the writeBuffer member variable. It is expected that no more than frameSamples is decoded. The return value is the number of samples decoded. Zero indicates an error.
Parameters:
buffer - Buffer from which encoded data is found
length - Length of encoded data buffer
written - Number of bytes used from data buffer

o Overrides from class PObject

ovirtual PObject* Clone() const
Create a copy of the object

o Overrides from class PObject

oComparison Compare(const PObject & obj) const
Compare object

o Identification functions

ovirtual unsigned GetSubType() const
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.

ovirtual PString GetFormatName() const
Get the name of the media data format this class represents

o Protocol manipulation

ovirtual BOOL OnSendingPDU( H245_VideoCapability & pdu ) const
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

ovirtual BOOL OnReceivedPDU( const H245_VideoCapability & pdu )
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

ovirtual H323Codec* CreateCodec( H323Codec::Direction direction ) const
Create the codec instance, allocating resources as required.
Parameters:
direction - Direction in which this instance runs

oBOOL GetTemporalSpatialTradeOffCapability() const
Get temporal/spatial tradeoff capabilty

oBOOL GetStillImageTransmission() const
Get still image transmission flag

ounsigned GetMaxBitRate() const
Get maximum bit rate

ounsigned GetQCIFMPI() const
Get qcifMPI

ounsigned GetCIFMPI() const
Get cifMPI


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.