libpsynth 0.2.1
Functions
ImageRangeSTLAlgorithmsCopyAndConvertFrames
STL-like Algorithms

copy_and_convert_frames More...

Collaboration diagram for ImageRangeSTLAlgorithmsCopyAndConvertFrames:

Functions

template<typename V1 , typename V2 , typename CC >
PSYNTH_FORCEINLINE void psynth::sound::copy_and_convert_frames (const V1 &src, const V2 &dst, CC cc)
template<typename Range1 , typename Range2 >
PSYNTH_FORCEINLINE void psynth::sound::copy_and_convert_frames (const Range1 &src, const Range2 &dst)

Detailed Description

copy_and_convert_frames

copies src range into dst range, channel converting if necessary.

Versions taking static and runtime ranges are provided. Versions taking user-defined channel convered are provided.


Function Documentation

template<typename V1 , typename V2 , typename CC >
PSYNTH_FORCEINLINE void psynth::sound::copy_and_convert_frames ( const V1 &  src,
const V2 &  dst,
CC  cc 
)
template<typename Range1 , typename Range2 >
PSYNTH_FORCEINLINE void psynth::sound::copy_and_convert_frames ( const Range1 &  src,
const Range2 &  dst 
)