libpsynth 0.2.1
Classes | Namespaces | Typedefs | Functions
/home/raskolnikov/dev/psynth/trunk/src/psynth/sound/sample.hpp File Reference

Time-stamp: <2010-11-05 13:39:47 raskolnikov> More...

#include <limits>
#include <cassert>
#include <boost/cstdint.hpp>
#include <psynth/base/compat.hpp>
#include <psynth/sound/util.hpp>
Include dependency graph for sample.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  psynth::sound::detail::sample_traits_impl< T, true >
struct  psynth::sound::detail::sample_traits_impl< T, false >
struct  psynth::sound::detail::sample_traits_impl< const T, false >
class  psynth::sound::sample_traits< T >
 Traits for samples. More...
struct  psynth::sound::sample_traits< T & >
struct  psynth::sound::sample_traits< const T & >
struct  psynth::sound::scoped_sample_value< BaseSampleValue, MinVal, MaxVal, ZeroVal >
 A sample adaptor that modifies the range of the source sample. More...
struct  psynth::sound::float_zero
struct  psynth::sound::float_one
struct  psynth::sound::float_minus_one
struct  psynth::sound::float_half
struct  psynth::sound::detail::min_fast_uint< NumBits >
class  psynth::sound::packed_sample_value< NumBits >
 The value of a subbyte sample. More...
struct  psynth::sound::detail::static_copy_bytes< K >
struct  psynth::sound::detail::static_copy_bytes< 0 >
class  psynth::sound::detail::packed_sample_reference_base< Derived, BitField, NumBits, Mutable >
class  psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, false >
 A constant subbyte sample reference whose bit offset is fixed at compile time. More...
class  psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, true >
 A mutable subbyte sample reference whose bit offset is fixed at compile time. More...
class  psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, false >
 Models a constant subbyte sample reference whose bit offset is a runtime parameter. More...
class  psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, true >
 Models a mutable subbyte sample reference whose bit offset is a runtime parameter. More...
struct  boost::is_integral< psynth::sound::packed_sample_value< NumBits > >
struct  boost::is_integral< psynth::sound::packed_sample_reference< BitField, FirstBit, NumBits, IsMutable > >
struct  boost::is_integral< psynth::sound::packed_dynamic_sample_reference< BitField, NumBits, IsMutable > >
struct  boost::is_integral< psynth::sound::scoped_sample_value< BaseSampleValue, MinVal, MaxVal, ZeroVal > >

Namespaces

namespace  psynth
namespace  psynth::sound
namespace  psynth::sound::detail
 

interleaved_range_get_raw_data, planar_range_get_raw_data - return pointers to the raw data (the samples) of a basic homogeneous range.


namespace  std
namespace  boost

Typedefs

typedef boost::uint8_t psynth::sound::bits8
typedef boost::uint16_t psynth::sound::bits16
typedef boost::uint32_t psynth::sound::bits32
typedef boost::int8_t psynth::sound::bits8s
typedef boost::int16_t psynth::sound::bits16s
typedef boost::int32_t psynth::sound::bits32s
typedef scoped_sample_value
< float, float_zero, float_one,
float_half > 
psynth::sound::bits32f
typedef scoped_sample_value
< float, float_minus_one,
float_one, float_zero > 
psynth::sound::bits32sf

Functions

template<typename BF , int FB, int NB, bool M, typename R >
void std::swap (const psynth::sound::packed_sample_reference< BF, FB, NB, M > x, R &y)
 swap for packed_sample_reference
template<typename BF , int FB, int NB, bool M>
void std::swap (typename psynth::sound::packed_sample_reference< BF, FB, NB, M >::value_type &x, const psynth::sound::packed_sample_reference< BF, FB, NB, M > y)
 swap for packed_sample_reference
template<typename BF , int FB, int NB, bool M>
void std::swap (const psynth::sound::packed_sample_reference< BF, FB, NB, M > x, const psynth::sound::packed_sample_reference< BF, FB, NB, M > y)
 swap for packed_sample_reference
template<typename BF , int NB, bool M, typename R >
void std::swap (const psynth::sound::packed_dynamic_sample_reference< BF, NB, M > x, R &y)
 swap for packed_dynamic_sample_reference
template<typename BF , int NB, bool M>
void std::swap (typename psynth::sound::packed_dynamic_sample_reference< BF, NB, M >::value_type &x, const psynth::sound::packed_dynamic_sample_reference< BF, NB, M > y)
 swap for packed_dynamic_sample_reference
template<typename BF , int NB, bool M>
void std::swap (const psynth::sound::packed_dynamic_sample_reference< BF, NB, M > x, const psynth::sound::packed_dynamic_sample_reference< BF, NB, M > y)
 swap for packed_dynamic_sample_reference

Detailed Description

Time-stamp: <2010-11-05 13:39:47 raskolnikov>

Author:
Juan Pedro Bolivar Puente <raskolnikov@es.gnu.org>
Date:
Mon Oct 25 19:26:09 2010

Sample type traits and metafunctions.