|
libpsynth 0.2.1
|
Returns the type of a packed frame given its bitfield type, the bit size of its samples and its layout. More...
#include <metafunctions.hpp>
Public Types | |
| typedef packed_frame< BitField, typename detail::packed_sample_references_vector_type < BitField, SampleBitSizeVector >::type, Layout > | type |
Returns the type of a packed frame given its bitfield type, the bit size of its samples and its layout.
A packed frame has samples that cover bit ranges but itself is byte aligned. RGB565 frame is an example.
The size of SampleBitSizeVector must equal the number of samples in the given layout The sum of bit sizes for all samples must be less than or equal to the number of bits in BitField (and cannot exceed 64). If it is less than the number of bits in BitField, the last bits will be unused.
| typedef packed_frame< BitField, typename detail::packed_sample_references_vector_type< BitField, SampleBitSizeVector>::type, Layout> psynth::sound::packed_frame_type< BitField, SampleBitSizeVector, Layout >::type |
1.7.4