Legacy CodecFactory API.
More...
Legacy CodecFactory API.
- See also
- The Codec Leaf Index.
Definition at line 254 of file sample_codec_access_legacy.h.
◆ FindArrayIndex()
Legacy: Retrieves the leaf index of the first element in the given element path.
- Parameters
-
strArrayName | The array element name |
- Returns
- tCodecLeafIndex
◆ FindIndex()
Legacy: Retrieves the leaf index of the first element in the given element path.
- Parameters
-
strElementName | The element name |
- Returns
- tCodecLeafIndex
◆ FindStructIndex()
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. |
◆ GetStaticElementCount()
size_t GetStaticElementCount |
( |
| ) |
const |
Legacy: Gets the leaf count.
- Returns
- The amount of static elements contained in the handled structure.
◆ GetStaticStructElementName()
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()
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
-
throws | tResult if not found. |
- Deprecated:
- This is only provided for legacy reason. Use adtf::mediadescription::cSampleDecoder::GetElement!