libpsynth 0.2.1
Functions
Performance overloads of STL algorithms

overloads of STL algorithms allowing more efficient implementation when used with PSYNTH constructs More...

Functions

template<typename T , typename Cs >
PSYNTH_FORCEINLINE
psynth::sound::frame< T, Cs > * 
std::copy (psynth::sound::frame< T, Cs > *first, psynth::sound::frame< T, Cs > *last, psynth::sound::frame< T, Cs > *dst)
 Copy when both src and dst are interleaved and of the same type can be just memmove.
template<typename T , typename Cs >
PSYNTH_FORCEINLINE
psynth::sound::frame< T, Cs > * 
std::copy (const psynth::sound::frame< T, Cs > *first, const psynth::sound::frame< T, Cs > *last, psynth::sound::frame< T, Cs > *dst)
 Copy when both src and dst are interleaved and of the same type can be just memmove.
template<typename Cs , typename IC1 , typename IC2 >
PSYNTH_FORCEINLINE
psynth::sound::planar_frame_iterator
< IC2, Cs > 
std::copy (psynth::sound::planar_frame_iterator< IC1, Cs > first, psynth::sound::planar_frame_iterator< IC1, Cs > last, psynth::sound::planar_frame_iterator< IC2, Cs > dst)
 Copy when both src and dst are planar pointers is copy for each sample.

Detailed Description

overloads of STL algorithms allowing more efficient implementation when used with PSYNTH constructs


Function Documentation

template<typename T , typename Cs >
PSYNTH_FORCEINLINE psynth::sound::frame<T,Cs>* std::copy ( psynth::sound::frame< T, Cs > *  first,
psynth::sound::frame< T, Cs > *  last,
psynth::sound::frame< T, Cs > *  dst 
)

Copy when both src and dst are interleaved and of the same type can be just memmove.

template<typename Cs , typename IC1 , typename IC2 >
PSYNTH_FORCEINLINE psynth::sound::planar_frame_iterator<IC2,Cs> std::copy ( psynth::sound::planar_frame_iterator< IC1, Cs >  first,
psynth::sound::planar_frame_iterator< IC1, Cs >  last,
psynth::sound::planar_frame_iterator< IC2, Cs >  dst 
)

Copy when both src and dst are planar pointers is copy for each sample.

template<typename T , typename Cs >
PSYNTH_FORCEINLINE psynth::sound::frame<T,Cs>* std::copy ( const psynth::sound::frame< T, Cs > *  first,
const psynth::sound::frame< T, Cs > *  last,
psynth::sound::frame< T, Cs > *  dst 
)

Copy when both src and dst are interleaved and of the same type can be just memmove.