|
| | decoding_sample_reader () |
| |
| tResult | SetType (const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType) override |
| |
| void | SetAcceptTypeCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType)> &fnAcceptTypeCallback) |
| |
| bool | GetNextDecoder (cSampleDecoder &oDecoder) |
| |
| bool | GetNextDecoder (cSampleDecoder &oDecoder, base::flash::tNanoSeconds &tmSampleTime) |
| |
| bool | GetLastDecoder (cSampleDecoder &oDecoder) |
| |
| bool | GetLastDecoder (cSampleDecoder &oDecoder, base::flash::tNanoSeconds &tmSampleTime) |
| |
| | cSampleReader (ant::ISampleReaderQueue &oQueue, ant::ISampleStreamAccess::tMode eAccessMode, bool bStoreLastSample) |
| |
| void | SetName (const char *strName) override |
| |
| tResult | GetName (base::ant::IString &&strName) override |
| |
| tResult | GetType (ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType) const override |
| |
| tResult | BeginStreaming (ISampleStream &oSampleStream) override |
| |
| tResult | EndStreaming () override |
| |
| tResult | SetStreamerPin (const ucom::ant::iobject_ptr< IStreamerPin > &pStreamerPin) override |
| |
| void | SetAcceptTypeCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)> &fnAcceptTypeCallback) |
| | Sets a callback function which is called while a Stream Type is received.
|
| |
| void | SetStreamErrorCallback (const std::function< tResult(tResult oStreamError)> &fnStreamErrorCallback) |
| | A callback function to react on stream errors.
|
| |
| tResult | SetStreamError (tResult oError) override |
| |
| tResult | GetLastType (ucom::ant::iobject_ptr< const ant::IStreamType > &pType) override |
| |
| tResult | GetNextSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample) override |
| |
| tResult | GetLastSample (ucom::ant::iobject_ptr< const ant::ISample > &pSample) override |
| |
|
void | Reset () |
| |
| tResult | ReadAllAvailableItems () override |
| |
| tResult | RequestSamples (ucom::ant::iobject_ptr< hollow::IStreamingRequest > &pRequest, uint32_t nSubStreamId, const base::ant::IProperties *pRequestProperties=nullptr) |
| |
| void | SetSynchronousTypeUpdateCallback (const std::function< tResult(const ucom::ant::iobject_ptr< const ant::IStreamType > &pStreamType)> &fnRequestTypeUpdateCallback) |
| |
| | cSampleCodecFactory () |
| |
| | cSampleCodecFactory (const char *strStructName, const char *strMediaDescription, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (const ddl::dd::StructType &oStruct, const ddl::dd::DataDefinition &oParentDD, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (const std::pair< std::string, std::string > &oMDDescription, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| | Construct a new c Sample Codec Factory.
|
| |
| | cSampleCodecFactory (const ddl::DDStructure &oTypeDefinition, ddl::tDataRepresentation eDefaultDataRepresentation=ddl::tDataRepresentation::Deserialized) |
| | Construct a new c Sample Codec Factory.
|
| |
| | cSampleCodecFactory (const streaming::ant::IStreamType &oStreamType) |
| | Construct a new c Sample Codec Factory.
|
| |
| | cSampleCodecFactory (const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType) |
| | Construct a new c Sample Codec Factory.
|
| |
| | cSampleCodecFactory (const cSampleCodecFactory &) |
| |
| | cSampleCodecFactory (cSampleCodecFactory &&) |
| |
| cSampleCodecFactory & | operator= (const cSampleCodecFactory &) |
| |
| cSampleCodecFactory & | operator= (cSampleCodecFactory &&) |
| |
| tResult | IsValid () const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| tElement | GetElement (const tCodecIndex &oCodecIndex) const |
| |
| tElement | GetElement (std::string_view strElementFullName) const |
| |
| tElement | GetChildElement (const tCodecIndex &oCodecIndex, std::string_view strElementPath) |
| |
| const tElements & | GetElements () const |
| |
| size_t | GetElementChildCount (const tCodecIndex &oCodecIndex) const |
| |
| std::string | GetElementFullName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the full name of the element within its main structure.
|
| |
| std::string | GetElementName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the name of the element within its structured element.
|
| |
| const std::string & | GetElementBaseName (const tCodecIndex &oCodecIndex) const |
| | Retrieves the base name of the element within its structured element.
|
| |
| size_t | GetStaticBufferSize (ddl::tDataRepresentation eRep=ddl::tDataRepresentation::Deserialized) const |
| | Gets the static buffer size in bytes for the structure.
|
| |
| ddl::tDataRepresentation | GetDefaultDataRepresentation () const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, ddl::tDataRepresentation eDataRepresentation) const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| |
| cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample) const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample) const |
| |
| cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample) const |
| |
| void | Resolve (tCodecIndex &oCodecIndex) const |
| |
| tCodecIndex | Resolve (tCodecLeafIndex nElementLeafIndex) const |
| |
| tCodecIndex | Resolve (tCodecLeafIndex nElementLeafIndex) const |
| |
| size_t | GetStaticElementCount () const |
| | Legacy: Gets the leaf count.
|
| |
| tResult | GetStaticElement (tCodecLeafIndex nElementLeafIndex, const ddl::StructElement *&pElement) const |
| |
| tCodecLeafIndex | FindIndex (const char *strElementName) const |
| | Legacy: Retrieves the leaf index of the first element in the given element path.
|
| |
| tCodecLeafIndex | FindArrayIndex (const char *strArrayName) const |
| | Legacy: Retrieves the leaf index of the first element in the given element path.
|
| |
| tCodecLeafIndex | FindStructIndex (const char *strStructName) const |
| | Legacy: Retrieves the leaf index of the first element in the given element path.
|
| |
template<typename ReaderImplementation = streaming::flash::cDynamicSampleReader>
class adtf::mediadescription::osborn::decoding_sample_reader< ReaderImplementation >
This reader uses the media description to decode sample data
Just use it instead of the usual adtf::streaming::flash::cDynamicSampleReader implementation.