36 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
44 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
55 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
66 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
77 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
89 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
100 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
110 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
121 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
132 ADTF3_DEPRECATED(
"Use adtf::mediadescription::cSampleDecoder::GetElement instead.")
141 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleDecoder::GetElements!")
175template<
typename CodecType>
179 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
189 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
194 auto oCodecIndex =
getCodec()->resolve(nElementLeafIndex);
195 detail::set_adtf_util_variant(
getCodec(), oCodecIndex, oValue);
198 catch(
const std::exception&)
213 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
218 auto oCodecIndex =
getCodec()->getElement(strElementName).getIndex();
219 detail::set_adtf_util_variant(
getCodec(), oCodecIndex, oValue);
222 catch (
const std::exception&)
236 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodec::GetElement!")
241 auto oCodecIndex =
getCodec()->resolve(nElementLeafIndex);
242 return getCodec()->getElementAddress(oCodecIndex);
244 catch (
const std::exception&)
271 #ifndef NO_ADTF_MEDIA_DESCRIPTION_LEGACY
285 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodecFactory::GetElements!")
294 ADTF3_DEPRECATED(
"Use @ref adtf::mediadescription::cSampleCodecFactory::GetElement!")
#define ADTF3_DEPRECATED(_depr_message_)
Definition adtf_base_deprecated.h:27
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define RETURN_CURRENT_EXCEPTION()
returns the current exception as a tResult, use it in a catch block.
Definition result.h:111
#define RETURN_NOERROR
Return status ERR_NOERROR, which requires the calling function's return type to be tResult.
Definition result.h:29
Definition codec_factory.h:31
Definition static_codec.h:328
Definition static_codec.h:38
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
definition of the ddl namespace
Definition codec.h:21
Definition struct_element.h:32