/* * Copyright (c) 2000-2014, Lionel Lacassagne, All rights reserved * Univ Paris Sud XI, CNRS */ void roll_si16vector(int16_t * v, int32_t nl, int32_t nh); void roll_ui16vector(uint16_t * v, int32_t nl, int32_t nh); #define copy_type_vector(t) \ void short_name(t,copy_,vector)(t * src, int32_t nl1, int32_t nh1, t * dst, int32_t nl2, int32_t nh2); \ void short_name(t,copy1c_,vector)(t * src, int32_t nc, t * dst, int32_t nl, int32_t nh); \ void short_name(t,copy_,vector_mod)(t * src, int32_t nl, int32_t nh, int32_t m, t * dst); copy_type_vector(int8_t); copy_type_vector(uint8_t); copy_type_vector(int16_t); copy_type_vector(uint16_t); copy_type_vector(int32_t); copy_type_vector(uint32_t); copy_type_vector(float); copy_type_vector(double); copy_type_vector(rgb8); copy_type_vector(rgbx8); // Local Variables: // tab-width: 4 // c-basic-offset: 4 // c-file-offsets:((innamespace . 0)(inline-open . 0)) // indent-tabs-mode: nil // End: // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4