OpalVideoFormat Class Reference

#include <mediafmt.h>

Inheritance diagram for OpalVideoFormat:

OpalMediaFormat List of all members.

Public Member Functions

 OpalVideoFormat (const char *fullName, RTP_DataFrame::PayloadTypes rtpPayloadType, const char *encodingName, unsigned frameWidth, unsigned frameHeight, unsigned frameRate, unsigned bitRate)
virtual bool Merge (const OpalMediaFormat &mediaFormat)

Static Public Attributes

static const char *const FrameWidthOption
static const char *const FrameHeightOption
static const char *const EncodingQualityOption
static const char *const TargetBitRateOption
static const char *const DynamicVideoQualityOption
static const char *const AdaptivePacketDelayOption

Constructor & Destructor Documentation

OpalVideoFormat::OpalVideoFormat ( const char *  fullName,
RTP_DataFrame::PayloadTypes  rtpPayloadType,
const char *  encodingName,
unsigned  frameWidth,
unsigned  frameHeight,
unsigned  frameRate,
unsigned  bitRate 
)

Parameters:
fullName  Full name of media format
rtpPayloadType  RTP payload type code
encodingName  RTP encoding name
frameWidth  Width of video frame
frameHeight  Height of video frame
frameRate  Number of frames per second
bitRate  Maximum bits per second


Member Function Documentation

virtual bool OpalVideoFormat::Merge ( const OpalMediaFormat mediaFormat  )  [virtual]

Merge with another media format. This will alter and validate the options for this media format according to the merge rule for each option. The parameter is typically a "capability" while the current object isthe proposed channel format. This if the current object has a tx number of frames of 3, but the parameter has a value of 1, then the current object will be set to 1.

Returns FALSE if the media formats are incompatible and cannot be merged.

Reimplemented from OpalMediaFormat.


Member Data Documentation

const char* const OpalVideoFormat::AdaptivePacketDelayOption [static]

const char* const OpalVideoFormat::DynamicVideoQualityOption [static]

const char* const OpalVideoFormat::EncodingQualityOption [static]

const char* const OpalVideoFormat::FrameHeightOption [static]

const char* const OpalVideoFormat::FrameWidthOption [static]

const char* const OpalVideoFormat::TargetBitRateOption [static]


The documentation for this class was generated from the following file:
Generated on Mon Sep 25 16:21:52 2006 for OPAL by  doxygen 1.4.7