|
| | 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 (ant::cSampleDecoder &oDecoder) |
| |
| bool | GetNextDecoder (ant::cSampleDecoder &oDecoder, base::flash::tNanoSeconds &tmSampleTime) |
| |
| bool | GetLastDecoder (ant::cSampleDecoder &oDecoder) |
| |
| bool | GetLastDecoder (ant::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 (const cStructureType &oTypeDefinition) |
| |
|
| cSampleCodecFactory (const streaming::ant::IStreamType &oStreamType) |
| |
|
| cSampleCodecFactory (const ucom::ant::iobject_ptr< const streaming::ant::IStreamType > &pStreamType) |
| |
|
size_t | FindIndex (const char *strElementName) const |
| |
|
size_t | FindArrayIndex (const char *strArrayName) const |
| |
|
size_t | FindStructIndex (const char *strStructName) const |
| |
|
const adtf_ddl::tStructElement & | GetStaticElement (size_t nElementIndex) const |
| |
| | cSampleCodecFactory (const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (const adtf_ddl::cDDLComplex *pStruct, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (cSampleCodecFactory &)=default |
| |
| | cSampleCodecFactory (const cSampleCodecFactory &)=default |
| |
| | cSampleCodecFactory (cSampleCodecFactory &&)=default |
| |
| tResult | GetStaticElement (size_t nIndex, const adtf_ddl::tStructElement *&pElement) const |
| |
| | cSampleCodecFactory ()=default |
| |
| | cSampleCodecFactory (const char *strStructName, const char *strMediaDescription, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (const adtf_ddl::cDDLComplex *pStruct, adtf_ddl::tDataRepresentation eDefaultDataRepresentation=adtf_ddl::tDataRepresentation::Deserialized) |
| |
| | cSampleCodecFactory (cSampleCodecFactory &)=default |
| |
| | cSampleCodecFactory (const cSampleCodecFactory &)=default |
| |
| | cSampleCodecFactory (cSampleCodecFactory &&)=default |
| |
| cSampleCodecFactory & | operator= (cSampleCodecFactory &)=default |
| |
| cSampleCodecFactory & | operator= (cSampleCodecFactory &&)=default |
| |
| tResult | IsValid () const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleCodec | MakeCodecFor (adtf::streaming::ISample &oSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| size_t | GetStaticElementCount () const |
| |
| tResult | GetStaticElement (size_t nIndex, const adtf_ddl::tStructElement *&pElement) const |
| |
| size_t | GetStaticBufferSize (adtf_ddl::tDataRepresentation eRep=adtf_ddl::tDataRepresentation::Deserialized) const |
| |
| adtf_ddl::tDataRepresentation | GetDefaultDataRepresentation () const |
| |
| cStaticSampleDecoder | MakeStaticDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleDecoder | MakeDecoderFor (const adtf::ucom::iobject_ptr< const adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cStaticSampleCodec | MakeStaticCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, adtf_ddl::tDataRepresentation eDataRepresentation) const |
| |
| cSampleCodec | MakeCodecFor (const adtf::ucom::iobject_ptr< adtf::streaming::ISample > &pSample, adtf_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 |
| |
template<typename ReaderImplementation = streaming::flash::cDynamicSampleReader>
class adtf::mediadescription::flash::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.