#include <mediafmt.h>
Inheritance diagram for OpalVideoFormat:
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 |
OpalVideoFormat::OpalVideoFormat | ( | const char * | fullName, | |
RTP_DataFrame::PayloadTypes | rtpPayloadType, | |||
const char * | encodingName, | |||
unsigned | frameWidth, | |||
unsigned | frameHeight, | |||
unsigned | frameRate, | |||
unsigned | bitRate | |||
) |
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 |
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.
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] |