size_t num_elements() const
Returns the total number of elements in the LUT.
1 channel, 1 U8 per channel
Copyright (c) 2017-2021 Arm Limited.
size_t data_size_from_type(DataType data_type)
The size in bytes of the data type.
void init(size_t num_elements, DataType data_type)
Allocate an LUT of the requested number of elements and data_type.
ILutAllocator()
Default constructor.
size_t size() const
Returns the total size in bytes of the LUT.
DataType
Available data types.
DataType type() const
Returns the type of the LUT.