Description of media data transformation This structure can specify input, output or both media descriptions. Also it can contain string with name of transformation.
More...
#include <r5data.h>
Description of media data transformation This structure can specify input, output or both media descriptions. Also it can contain string with name of transformation.
◆ MediaTransform() [1/5]
r5::common::MediaTransform::MediaTransform |
( |
DataType |
t = DataType::Unknown | ) |
|
|
inline |
Default constructor.
- Parameters
-
t | optional media transform description |
◆ MediaTransform() [2/5]
r5::common::MediaTransform::MediaTransform |
( |
const MediaTransform & |
other | ) |
|
|
inline |
Copying constructor.
- Parameters
-
other | original object to copy |
◆ MediaTransform() [3/5]
r5::common::MediaTransform::MediaTransform |
( |
VideoFmt |
fmtIn, |
|
|
VideoFmt |
fmtOut, |
|
|
std::string |
name = "" |
|
) |
| |
|
inline |
Overriden constructor to create video transform description Contructs object with types set to Video.
- Parameters
-
fmtIn | data type of transformation input |
fmtOut | data type of transformation output |
name | name of transformation |
◆ MediaTransform() [4/5]
r5::common::MediaTransform::MediaTransform |
( |
AudioFmt |
fmtIn, |
|
|
AudioFmt |
fmtOut, |
|
|
std::string |
name = "" |
|
) |
| |
|
inline |
Overriden constructor to create audio transform description Contructs object with types set to Ausio.
- Parameters
-
fmtIn | data type of transformation input |
fmtOut | data type of transformation output |
name | name of transformation |
◆ MediaTransform() [5/5]
r5::common::MediaTransform::MediaTransform |
( |
MediaDesc |
descIn, |
|
|
MediaDesc |
descOut, |
|
|
std::string |
name = "" |
|
) |
| |
|
inline |
Overriden constructor to create transform description based on provided media descriptions Note: Transformation will be based on data type of INPUT media description If fields like width, height, fps, sample rate and number of channels set only in one description they will be copied into other.
- Parameters
-
descIn | media description of transformation input |
descOut | media description of transformation output |
name | name of transfromation |
◆ operator=()
Assign MediaTransform value.
- Parameters
-
other | original object to copy |
- Returns
- *this
The documentation for this struct was generated from the following file: