Legacy CodecFactory API.
More...
#include <sample_codec_access_legacy.h>
Inherited by adtf::mediadescription::osborn::cSampleCodecFactory.
|
|
typedef ddl::StructElement | DefinedStructElementType |
| | type definition for the old access_element API.
|
| |
◆ FindArrayIndex()
| tCodecLeafIndex adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::FindArrayIndex |
( |
const char * | strArrayName | ) |
const |
Legacy: Retrieves the leaf index of the first element in the given element path.
- Parameters
-
| strArrayName | The array element name |
- Returns
- tCodecLeafIndex
◆ FindIndex()
| tCodecLeafIndex adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::FindIndex |
( |
const char * | strElementName | ) |
const |
Legacy: Retrieves the leaf index of the first element in the given element path.
- Parameters
-
| strElementName | The element name |
- Returns
- tCodecLeafIndex
◆ FindStructIndex()
| tCodecLeafIndex adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::FindStructIndex |
( |
const char * | strStructName | ) |
const |
Legacy: Retrieves the leaf index of the first element in the given element path.
- Parameters
-
| strStructName | The struct element name |
- Returns
- tCodecLeafIndex
◆ GetStaticElement()
Legacy: Access information about an element.
- Parameters
-
| [in] | nElementLeafIndex | The leaf index of the element. |
| [out] | pElement | Pointer that will be updated to point to the element information. |
- Return values
-
| ERR_INVALID_INDEX | Invalid index. |
- Deprecated
- This is only provided for legacy reason. Use adtf::mediadescription::cSampleDecoder::GetElement instead
◆ GetStaticElementCount()
| size_t adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::GetStaticElementCount |
( |
| ) |
const |
◆ GetStaticStructElementName()
| static const char * adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::GetStaticStructElementName |
( |
const ddl::StructElement * | pElement | ) |
|
|
static |
Legacy helper funtion to support old adtf_ddl::element_access::find_* functions.
- Parameters
-
| [in] | pElement | the elemnent struct to retriev the name from. |
- Returns
- char pointer to the pElement value!
◆ Resolve()
| tCodecIndex adtf::mediadescription::osborn::adtf_ddl_access::cCodecFactoryLegacy::Resolve |
( |
tCodecLeafIndex | nElementLeafIndex | ) |
const |
Legacy: Retrieves a codec index with element information for the given leaf index.
- Parameters
-
| nElementLeafIndex | The leaf index (between 0 and GetElementCount()) |
- Returns
- The codec index for this element.
- Exceptions
-
- Deprecated
- This is only provided for legacy reason. Use adtf::mediadescription::cSampleDecoder::GetElement instead
The documentation for this class was generated from the following file: