|
libpsynth 0.2.1
|
Example: More...
Classes | |
| struct | psynth::sound::num_samples< FrameBased > |
| Returns the number of samples of a frame-based GIL construct. More... | |
Example:
BOOST_STATIC_ASSERT((num_samples<rgb8_range_t>::value==3));
BOOST_STATIC_ASSERT((num_samples<cmyk16_planar_ptr_t>::value==4));
BOOST_STATIC_ASSERT((is_planar<rgb16_planar_image_t>::value));
BOOST_STATIC_ASSERT((is_same<channel_space_type<rgb8_planar_ref_t>::type, rgb_t>::value));
BOOST_STATIC_ASSERT((is_same<sample_mapping_type<cmyk8_frame_t>::type,
sample_mapping_type<rgba8_frame_t>::type>::value));
BOOST_STATIC_ASSERT((is_same<sample_type<bgr8_frame_t>::type, bits8>::value));
1.7.4