libpsynth 0.2.1
Classes
packed_buffer_type,bit_aligned_buffer_type
xxx_type

Returns the type of an buffer whose samples are not byte-aligned. More...

Collaboration diagram for packed_buffer_type,bit_aligned_buffer_type:

Classes

struct  psynth::sound::packed_buffer1_type< BitField, Size1, Layout, Alloc >
 Returns the type of a single-sample buffer given its bitfield type, the bit size of its sample and its layout. More...
struct  psynth::sound::packed_buffer2_type< BitField, Size1, Size2, Layout, Alloc >
 Returns the type of a two sample buffer given its bitfield type, the bit size of its samples and its layout. More...
struct  psynth::sound::packed_buffer3_type< BitField, Size1, Size2, Size3, Layout, Alloc >
 Returns the type of a three sample buffer given its bitfield type, the bit size of its samples and its layout. More...
struct  psynth::sound::packed_buffer4_type< BitField, Size1, Size2, Size3, Size4, Layout, Alloc >
 Returns the type of a four sample buffer given its bitfield type, the bit size of its samples and its layout. More...
struct  psynth::sound::packed_buffer5_type< BitField, Size1, Size2, Size3, Size4, Size5, Layout, Alloc >
 Returns the type of a five sample buffer given its bitfield type, the bit size of its samples and its layout. More...
struct  psynth::sound::bit_aligned_buffer_type< SampleBitSizeVector, Layout, Alloc >
 Returns the type of a packed buffer whose frames may not be byte aligned. More...
struct  psynth::sound::bit_aligned_buffer1_type< Size1, Layout, Alloc >
 Returns the type of a single-sample bit-aligned buffer given the bit size of its sample and its layout. More...
struct  psynth::sound::bit_aligned_buffer2_type< Size1, Size2, Layout, Alloc >
 Returns the type of a two sample bit-aligned buffer given the bit size of its samples and its layout. More...
struct  psynth::sound::bit_aligned_buffer3_type< Size1, Size2, Size3, Layout, Alloc >
 Returns the type of a three sample bit-aligned buffer given the bit size of its samples and its layout. More...
struct  psynth::sound::bit_aligned_buffer4_type< Size1, Size2, Size3, Size4, Layout, Alloc >
 Returns the type of a four sample bit-aligned buffer given the bit size of its samples and its layout. More...
struct  psynth::sound::bit_aligned_buffer5_type< Size1, Size2, Size3, Size4, Size5, Layout, Alloc >
 Returns the type of a five sample bit-aligned buffer given the bit size of its samples and its layout. More...

Detailed Description

Returns the type of an buffer whose samples are not byte-aligned.

A packed buffer is an buffer whose frames are byte aligned, such as "rgb565".
A bit-aligned buffer is an buffer whose frames are not byte aligned, such as "rgb222".

The sum of the bit sizes of all samples cannot exceed 64.