#include <transcoders.h>
This class described an OpalTranscoder in terms of a pair of OpalMediaFormat instances, for input and output.
Create a new transcoder implementation.
- Parameters
-
inputMediaFormat | Input media format |
outputMediaFormat | Output media format |
virtual Comparison OpalMediaFormatPair::Compare |
( |
const PObject & |
obj | ) |
const |
|
virtual |
Compare the two objects and return their relative rank. This function is usually overridden by descendent classes to yield the ranking according to the semantics of the object.
The default function is to use the CompareObjectMemoryDirect()
function to do a byte wise memory comparison of the two objects.
- Returns
LessThan
, EqualTo
or GreaterThan
according to the relative rank of the objects.
- Parameters
-
obj | Object to compare against. |
void OpalMediaFormatPair::PrintOn |
( |
ostream & |
strm | ) |
const |
Standard stream print function. The PObject class has a << operator defined that calls this function polymorphically.
- Parameters
-
strm | Stream to output text representation |
The documentation for this class was generated from the following file: