ADTF
|
Namespace for all functionality of the ADTF Streaming SDK provided since v3.11. More...
Classes | |
class | cActiveRunner |
Base class for implementing Active Runner. More... | |
struct | tStreamAudioFormat |
Structure for Audio Format. More... | |
struct | stream_meta_type_image |
Use this Stream Meta Type for describing a video stream with single frames and there format and set the values with set_stream_type_image_format. More... | |
Functions | |
bool | operator== (const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight) |
is equal operator to compare tStreamAudioFormat More... | |
bool | operator!= (const tStreamAudioFormat &oLeft, const tStreamAudioFormat &oRight) |
is not equal operator to compare tStreamAudioFormat More... | |
tResult | set_stream_type_audio_format (IStreamType &oType, const tStreamAudioFormat &sFormat) |
sets the audio format properties within the stream type if meta type "adtf/audio" is set More... | |
tResult | get_stream_type_audio_format (tStreamAudioFormat &sFormat, const IStreamType &oType) |
retrievs the audio format from the properties of the stream type if meta type "adtf/audio" is set. More... | |
ucom::ant::object_ptr< ant::IStreamType > | create_adtf_audio_stream_type () |
Convinience functionality to create a stream type audio - see Stream Meta Type "adtf/audio". More... | |
ucom::ant::object_ptr< ant::IStreamType > | create_adtf_audio_stream_type (const tStreamAudioFormat &sFormat) |
Convinience functionality to create a stream type audio with audio description - see Stream Meta Type "adtf/audio". More... | |
ucom::ant::object_ptr< ant::IStreamType > | create_adtf_image_stream_type () |
Convenience functionality to create a stream type image - see sec_stream_type_image. More... | |
ucom::ant::object_ptr< ant::IStreamType > | create_adtf_image_stream_type (const ant::tStreamImageFormat &oFormat) |
Convenience functionality to create a stream type image with predefined image format - see sec_stream_type_image. More... | |
template<typename T > | |
ucom::ant::object_ptr< ant::IStreamType > | create_adtf_plain_stream_type () |
Convenience functionality to create a stream type plain - see Stream Meta Type "adtf/plaintype". More... | |
Namespace for all functionality of the ADTF Streaming SDK provided since v3.11.
|
inline |
Convinience functionality to create a stream type audio - see Stream Meta Type "adtf/audio".
Definition at line 195 of file streammetatypeaudio.h.
|
inline |
Convinience functionality to create a stream type audio with audio description - see Stream Meta Type "adtf/audio".
sFormat | The audio format to immediatelly initialize the properties |
Definition at line 207 of file streammetatypeaudio.h.
References set_stream_type_audio_format(), and THROW_IF_FAILED.
|
inline |
Convenience functionality to create a stream type image - see sec_stream_type_image.
Definition at line 145 of file streammetatypeimage.h.
|
inline |
Convenience functionality to create a stream type image with predefined image format - see sec_stream_type_image.
oFormat | Format to set |
Definition at line 157 of file streammetatypeimage.h.
References adtf::streaming::ant::set_stream_type_image_format(), and THROW_IF_FAILED.
ucom::ant::object_ptr<ant::IStreamType> adtf::streaming::lucky::create_adtf_plain_stream_type | ( | ) |
Convenience functionality to create a stream type plain - see Stream Meta Type "adtf/plaintype".
T | type for the stream_type_plain generator template |
Definition at line 212 of file streammetatypeplain.h.
|
inline |
retrievs the audio format from the properties of the stream type if meta type "adtf/audio" is set.
sFormat | The Audio format |
oType | The Stream Type where to retrieve the properties from |
ERR_NOERROR | Everything went fine |
ERR_INVALID_TYPE | the given oType is not a instance of stream meta type "adtf/audio" |
Definition at line 171 of file streammetatypeaudio.h.
References adtf_string_intf, stream_meta_type_audio::BitsPerSample, stream_meta_type_audio::ChannelCount, stream_meta_type_audio::FormatName, IStreamType::GetMetaTypeName(), tStreamAudioFormat::m_strFormatName, tStreamAudioFormat::m_ui32BitsPerSample, tStreamAudioFormat::m_ui32ChannelCount, tStreamAudioFormat::m_ui32SampleCount, tStreamAudioFormat::m_ui32SampleRateHz, stream_meta_type_audio::MetaTypeName, RETURN_ERROR, RETURN_NOERROR, stream_meta_type_audio::SampleCount, and stream_meta_type_audio::SampleRateHz.
|
inline |
is not equal operator to compare tStreamAudioFormat
oLeft | [in] left value |
oRight | [in] right value |
true | is not equal |
false | is equal |
Definition at line 130 of file streammetatypeaudio.h.
|
inline |
is equal operator to compare tStreamAudioFormat
oLeft | [in] left value |
oRight | [in] right value |
true | is equal |
false | is not equal |
Definition at line 114 of file streammetatypeaudio.h.
References tStreamAudioFormat::m_strFormatName, tStreamAudioFormat::m_ui32BitsPerSample, tStreamAudioFormat::m_ui32ChannelCount, tStreamAudioFormat::m_ui32SampleCount, and tStreamAudioFormat::m_ui32SampleRateHz.
|
inline |
sets the audio format properties within the stream type if meta type "adtf/audio" is set
sFormat | The Audio format |
oType | The Stream Type where to set the properties to |
ERR_NOERROR | Everything went fine |
ERR_INVALID_TYPE | the given oType is not a instance of stream meta type "adtf/audio" |
Definition at line 144 of file streammetatypeaudio.h.
References adtf_string_intf, stream_meta_type_audio::BitsPerSample, stream_meta_type_audio::ChannelCount, stream_meta_type_audio::FormatName, IStreamType::GetMetaTypeName(), tStreamAudioFormat::m_strFormatName, tStreamAudioFormat::m_ui32BitsPerSample, tStreamAudioFormat::m_ui32ChannelCount, tStreamAudioFormat::m_ui32SampleCount, tStreamAudioFormat::m_ui32SampleRateHz, stream_meta_type_audio::MetaTypeName, RETURN_ERROR, RETURN_NOERROR, stream_meta_type_audio::SampleCount, and stream_meta_type_audio::SampleRateHz.
Referenced by create_adtf_audio_stream_type().