ADTF  3.18.2
media_description_type_legacy.h File Reference

Copyright © Audi Electronics Venture GmbH. More...

Go to the source code of this file.

Namespaces

 adtf
 Namespace for entire ADTF SDK.
 
 adtf::mediadescription
 Namespace for the ADTF Media Description SDK.
 
 adtf::mediadescription::ant
 Namespace for all functionality provided since v3.0.
 
 adtf::mediadescription::flash
 Namespace for all functionality provided since v3.5.
 
 adtf::mediadescription::hollow
 Namespace for all functionality provided since v3.7.
 

Functions

 ADTF3_DEPRECATED ("Use adtf::ucom::make_object_ptr<stream_type_default<>>(const char*, const char*, adtf_ddl::tDataRepresentation) " "instead!") tResult create_adtf_default_stream_type(const char *strStructName
 Create an instance of an ADTF default stream type. More...
 
tResult create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, cSampleCodecFactory &oFactory, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Create an instance of an ADTF default stream type. More...
 
 ADTF3_DEPRECATED ("Use adtf::ucom::make_object_ptr<stream_type_default<>>(const char*, adtf_ddl::tDataRepresentation) " "instead!") tResult create_adtf_default_stream_type_from_service(const char *strStructName
 Create an instance of an ADTF default stream type. More...
 
tResult create_adtf_default_stream_type_from_service (const char *strStructName, ucom::iobject_ptr< adtf::streaming::IStreamType > &pStreamType, cSampleCodecFactory &oFactory, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Create an instance of an ADTF default stream type. More...
 
tResult set_stream_type_media_description (adtf::streaming::IStreamType &oStreamType, const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Set the media description properties of a stream type. More...
 
tResult set_stream_type_media_description_from_service (adtf::streaming::IStreamType &oStreamType, const char *strStructName, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Set the media description properties of a stream type. More...
 
tResult get_codec_factory_from_stream_type (const adtf::streaming::IStreamType &oStreamType, cSampleCodecFactory &oFactory)
 Create a sample codec factory from a given stream type. More...
 
tResult add_stream_meta_type (const adtf::streaming::IStreamMetaType &oStreamTypeDef, adtf_ddl::cDDLDescription &oDescription)
 Add the stream meta type to an OODDL description. More...
 
template<typename WRITER >
tResult make_sample_writer (WRITER &oWriter, const char *strNameOfWriter, const char *strDDLStructType)
 Creates a new sample writer. More...
 
template<typename READER >
tResult make_sample_reader (READER &oReader, const char *strNameOfReader, const char *strDDLStructType)
 Creates a new sample reader. More...
 
template<typename WRITER >
tResult make_sample_writer (WRITER &oWriter, const char *strNameOfWriter, const char *strDDLStructType)
 Helper template to setup a sample writer with a stream type set from the media description service. More...
 
template<typename READER >
tResult make_sample_reader (READER &oReader, const char *strNameOfReader, const char *strDDLStructType)
 Helper template to setup a sample reader with a stream type set from the media description service. More...
 
ucom::ant::object_ptr< streaming::ant::IStreamType > create_adtf_default_stream_type (const cStructureType &type_definition)
 Create a stream type containing the media description of a given structure type definition. More...
 
ucom::ant::object_ptr< streaming::ant::IStreamType > create_adtf_default_stream_type (const char *strStructName, const char *strMediaDescription)
 Create a stream type continaing the given media description. More...
 
template<typename Struct >
ucom::ant::object_ptr< streaming::ant::IStreamType > create_adtf_default_stream_type ()
 Create a stream type from a generated media description. More...
 
tResult set_media_description_properties (base::ant::IProperties &oProperties, const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Adds the media description properties to a properties object. More...
 
tResult set_media_description_properties (base::ant::IProperties &oProperties, const cStructureType &type_definition, adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized)
 Adds the media description properties to a properties object. More...
 
void set_stream_type_media_description (streaming::ant::IStreamType &oStreamType, const cStructureType &type_definition)
 Adds the media description properties to a stream type. More...
 
std::tuple< std::string, std::string, adtf_ddl::tDataRepresentationget_media_description_from_stream_type (const adtf::streaming::IStreamType &oStreamType)
 Extract the media description information from stream type. More...
 

Variables

const char * strMediaDescription
 
const char ucom::iobject_ptr< adtf::streaming::IStreamType > & pStreamType
 
const char ucom::iobject_ptr< adtf::streaming::IStreamType > adtf_ddl::tDataRepresentation eRep = adtf_ddl::tDataRepresentation::Deserialized)
 

Detailed Description

Copyright © Audi Electronics Venture GmbH.

All rights reserved

Definition in file media_description_type_legacy.h.