ADTF
3.18.4
|
Implementation of new CodecFactory based on CodecIndex. More...
Go to the source code of this file.
Classes | |
class | CodecFactory |
Factory class for ddl codecs. More... | |
Namespaces | |
ddl | |
definition of the ddl namespace | |
ddl::codec | |
Namespace for the new faster CodecFactory/Decoder/Codec implementation. | |
Functions | |
template<typename T > | |
size_t | getDecoderOrFactoryElementCount (const T &decoder_or_factory) |
Get the Decoder or Factory leaf element count. More... | |
template<> | |
size_t | getDecoderOrFactoryElementCount (const ddl::codec::Decoder &decoder) |
Get the Decoders leaf element count for a ddl::codec::Decoder. More... | |
template<> | |
size_t | getDecoderOrFactoryElementCount (const ddl::codec::Codec &codec) |
Get the Codecs leaf element count for a ddl::codec::Codec. More... | |
template<typename T > | |
std::vector< CodecIndex > | getCodecIndices (const T &decoder_or_factory) |
Retrieves all codec indices for the given codec of type T . More... | |
template<typename T > | |
std::vector< LeafCodecIndex > | getLeafCodecIndices (const T &decoder_or_factory, ddl::DataRepresentation rep) |
Get the leaf indices object. More... | |
Implementation of new CodecFactory based on CodecIndex.
Copyright @ 2023 VW Group. All rights reserved. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Definition in file workspace/conan/dev_essential/1.3.4/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/ddl/codec/codec_factory.h.
|
inline |
Get the Codecs leaf element count for a ddl::codec::Codec.
codec | the decoder to retrieve the element count |
Definition at line 309 of file workspace/conan/dev_essential/1.3.4/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/ddl/codec/codec_factory.h.
References ddl::codec::detail::getDecoderOrFactoryElementCount(), and StaticDecoder::getElementCount().
|
inline |
Get the Decoders leaf element count for a ddl::codec::Decoder.
decoder | the decoder to retrieve the element count |
Definition at line 298 of file workspace/conan/dev_essential/1.3.4/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/ddl/codec/codec_factory.h.
References ddl::codec::detail::getDecoderOrFactoryElementCount(), and StaticDecoder::getElementCount().
size_t ddl::codec::detail::getDecoderOrFactoryElementCount | ( | const T & | decoder_or_factory | ) |
Get the Decoder or Factory leaf element count.
T | The decoder or factory type |
decoder_or_factory | the decoder or factory |
Definition at line 287 of file workspace/conan/dev_essential/1.3.4/dw/stable/package/37682420cd166e229516a41c8d6a139a0b13e1e1/include/ddl/codec/codec_factory.h.
References ddl::codec::detail::getDecoderOrFactoryElementCount().
Referenced by ddl::codec::detail::getDecoderOrFactoryElementCount().