diff options
author | Stephen Hines <srhines@google.com> | 2014-04-25 15:48:06 -0700 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2014-04-25 15:48:06 -0700 |
commit | 9bb490cbb1b3919481ff8e76dd66a02e8117e2ea (patch) | |
tree | 50f1811094d38d078cd5cbb8887a3316a34f2d6d /renderscript | |
parent | 176c9825198c5ad76ac25cdf631db567cf13dde9 (diff) | |
parent | f303208f4d911bfa5c6825569a1747a63be467a0 (diff) | |
download | prebuilts_sdk-9bb490cbb1b3919481ff8e76dd66a02e8117e2ea.zip prebuilts_sdk-9bb490cbb1b3919481ff8e76dd66a02e8117e2ea.tar.gz prebuilts_sdk-9bb490cbb1b3919481ff8e76dd66a02e8117e2ea.tar.bz2 |
resolved conflicts for merge of f303208f to master
Diffstat (limited to 'renderscript')
27 files changed, 854 insertions, 399 deletions
diff --git a/renderscript/clang-include/Intrin.h b/renderscript/clang-include/Intrin.h index 4376464..e365abe 100644 --- a/renderscript/clang-include/Intrin.h +++ b/renderscript/clang-include/Intrin.h @@ -32,6 +32,9 @@ /* First include the standard intrinsics. */ #include <x86intrin.h> +/* For the definition of jmp_buf. */ +#include <setjmp.h> + #ifdef __cplusplus extern "C" { #endif @@ -48,13 +51,16 @@ void __addfsbyte(unsigned long, unsigned char); void __addfsdword(unsigned long, unsigned long); void __addfsword(unsigned long, unsigned short); void __code_seg(const char *); +static __inline__ void __cpuid(int[4], int); +static __inline__ void __cpuidex(int[4], int, int); void __debugbreak(void); __int64 __emul(int, int); unsigned __int64 __emulu(unsigned int, unsigned int); void __cdecl __fastfail(unsigned int); unsigned int __getcallerseflags(void); +static __inline__ void __halt(void); unsigned char __inbyte(unsigned short); void __inbytestring(unsigned short, unsigned char *, unsigned long); @@ -75,8 +81,11 @@ unsigned char __lwpins32(unsigned int, unsigned int, unsigned int); void __lwpval32(unsigned int, unsigned int, unsigned int); unsigned int __lzcnt(unsigned int); unsigned short __lzcnt16(unsigned short); +static __inline__ void __movsb(unsigned char *, unsigned char const *, size_t); +static __inline__ void __movsd(unsigned long *, unsigned long const *, size_t); +static __inline__ void __movsw(unsigned short *, unsigned short const *, size_t); void __nop(void); void __nvreg_restore_fence(void); @@ -91,26 +100,35 @@ static __inline__ unsigned int __popcnt(unsigned int); static __inline__ unsigned short __popcnt16(unsigned short); +static __inline__ unsigned __int64 __rdtsc(void); unsigned __int64 __rdtscp(unsigned int *); unsigned long __readcr0(void); unsigned long __readcr2(void); unsigned long __readcr3(void); -unsigned long __readcr5(void); +unsigned long __readcr4(void); unsigned long __readcr8(void); unsigned int __readdr(unsigned int); -unsigned int __readeflags(void); +#ifdef __i386__ +static __inline__ unsigned char __readfsbyte(unsigned long); +static __inline__ unsigned long __readfsdword(unsigned long); +static __inline__ unsigned __int64 __readfsqword(unsigned long); +static __inline__ unsigned short __readfsword(unsigned long); +#endif unsigned __int64 __readmsr(unsigned long); unsigned __int64 __readpmc(unsigned long); unsigned long __segmentlimit(unsigned long); void __sidt(void *); void *__slwpcb(void); +static __inline__ void __stosb(unsigned char *, unsigned char, size_t); +static __inline__ void __stosd(unsigned long *, unsigned long, size_t); +static __inline__ void __stosw(unsigned short *, unsigned short, size_t); void __svm_clgi(void); void __svm_invlpga(void *, int); @@ -129,7 +147,6 @@ void __writecr3(unsigned int); void __writecr4(unsigned int); void __writecr8(unsigned int); void __writedr(unsigned int, unsigned int); -void __writeeflags(unsigned int); void __writefsbyte(unsigned long, unsigned char); void __writefsdword(unsigned long, unsigned long); void __writefsqword(unsigned long, unsigned __int64); @@ -139,7 +156,6 @@ static __inline__ void *_AddressOfReturnAddress(void); unsigned int _andn_u32(unsigned int, unsigned int); unsigned int _bextr_u32(unsigned int, unsigned int, unsigned int); -unsigned int _bextr_u32(unsigned int, unsigned int, unsigned int); unsigned int _bextri_u32(unsigned int, unsigned int); static __inline__ unsigned char _BitScanForward(unsigned long *_Index, unsigned long _Mask); @@ -162,8 +178,6 @@ unsigned int _blsfill_u32(unsigned int); unsigned int _blsi_u32(unsigned int); unsigned int _blsic_u32(unsigned int); unsigned int _blsmsk_u32(unsigned int); -unsigned int _blsmsk_u32(unsigned int); -unsigned int _blsr_u32(unsigned int); unsigned int _blsr_u32(unsigned int); unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64); unsigned long __cdecl _byteswap_ulong(unsigned long); @@ -181,6 +195,7 @@ short _InterlockedAnd16(short volatile *_Value, short _Mask); static __inline__ char _InterlockedAnd8(char volatile *_Value, char _Mask); unsigned char _interlockedbittestandreset(long volatile *, long); +static __inline__ unsigned char _interlockedbittestandset(long volatile *, long); static __inline__ long __cdecl _InterlockedCompareExchange(long volatile *_Destination, @@ -219,6 +234,10 @@ long __cdecl _InterlockedExchangeAdd(long volatile *_Addend, long _Value); long _InterlockedExchangeAdd_HLEAcquire(long volatile *, long); long _InterlockedExchangeAdd_HLERelease(long volatile *, long); static __inline__ +short _InterlockedExchangeAdd16(short volatile *_Addend, short _Value); +__int64 _InterlockedExchangeAdd64_HLEAcquire(__int64 volatile *, __int64); +__int64 _InterlockedExchangeAdd64_HLERelease(__int64 volatile *, __int64); +static __inline__ char _InterlockedExchangeAdd8(char volatile *_Addend, char _Value); static __inline__ long __cdecl _InterlockedIncrement(long volatile *_Addend); @@ -269,10 +288,7 @@ unsigned __int64 __cdecl _rotr64(unsigned __int64 _Value, int _Shift); static __inline__ unsigned char _rotr8(unsigned char _Value, unsigned char _Shift); int _sarx_i32(int, unsigned int); - -/* FIXME: Need definition for jmp_buf. - int __cdecl _setjmp(jmp_buf); */ - +int __cdecl _setjmp(jmp_buf); unsigned int _shlx_u32(unsigned int, unsigned int); unsigned int _shrx_u32(unsigned int, unsigned int); void _Store_HLERelease(long volatile *, long); @@ -280,13 +296,13 @@ void _Store64_HLERelease(__int64 volatile *, __int64); void _StorePointer_HLERelease(void *volatile *, void *); unsigned int _t1mskc_u32(unsigned int); unsigned int _tzcnt_u32(unsigned int); -unsigned int _tzcnt_u32(unsigned int); unsigned int _tzmsk_u32(unsigned int); static __inline__ void _WriteBarrier(void); void _xabort(const unsigned int imm); unsigned __int32 xbegin(void); void _xend(void); +static __inline__ unsigned __int64 __cdecl _xgetbv(unsigned int); void __cdecl _xrstor(void const *, unsigned __int64); void __cdecl _xsave(void *, unsigned __int64); @@ -300,19 +316,47 @@ void __addgsbyte(unsigned long, unsigned char); void __addgsdword(unsigned long, unsigned long); void __addgsqword(unsigned long, unsigned __int64); void __addgsword(unsigned long, unsigned short); +static __inline__ void __faststorefence(void); void __incgsbyte(unsigned long); void __incgsdword(unsigned long); void __incgsqword(unsigned long); void __incgsword(unsigned long); +unsigned char __lwpins64(unsigned __int64, unsigned int, unsigned int); +void __lwpval64(unsigned __int64, unsigned int, unsigned int); +unsigned __int64 __lzcnt64(unsigned __int64); +static __inline__ +void __movsq(unsigned long long *, unsigned long long const *, size_t); +__int64 __mulh(__int64, __int64); +static __inline__ unsigned __int64 __popcnt64(unsigned __int64); +static __inline__ +unsigned char __readgsbyte(unsigned long); +static __inline__ +unsigned long __readgsdword(unsigned long); +static __inline__ +unsigned __int64 __readgsqword(unsigned long); +unsigned short __readgsword(unsigned long); unsigned __int64 __shiftleft128(unsigned __int64 _LowPart, unsigned __int64 _HighPart, unsigned char _Shift); unsigned __int64 __shiftright128(unsigned __int64 _LowPart, unsigned __int64 _HighPart, unsigned char _Shift); +static __inline__ void __stosq(unsigned __int64 *, unsigned __int64, size_t); +unsigned __int64 __umulh(unsigned __int64, unsigned __int64); +unsigned char __vmx_on(unsigned __int64 *); +unsigned char __vmx_vmclear(unsigned __int64 *); +unsigned char __vmx_vmlaunch(void); +unsigned char __vmx_vmptrld(unsigned __int64 *); +unsigned char __vmx_vmread(size_t, size_t *); +unsigned char __vmx_vmresume(void); +unsigned char __vmx_vmwrite(size_t, size_t); +void __writegsbyte(unsigned long, unsigned char); +void __writegsdword(unsigned long, unsigned long); +void __writegsqword(unsigned long, unsigned __int64); +void __writegsword(unsigned long, unsigned short); unsigned __int64 _andn_u64(unsigned __int64, unsigned __int64); unsigned __int64 _bextr_u64(unsigned __int64, unsigned int, unsigned int); unsigned __int64 _bextri_u64(unsigned __int64, unsigned int); @@ -336,7 +380,7 @@ unsigned __int64 _blcs_u64(unsigned __int64); unsigned __int64 _blsfill_u64(unsigned __int64); unsigned __int64 _blsi_u64(unsigned __int64); unsigned __int64 _blsic_u64(unsigned __int64); -unsigned __int64 _blmsk_u64(unsigned __int64); +unsigned __int64 _blsmsk_u64(unsigned __int64); unsigned __int64 _blsr_u64(unsigned __int64); unsigned __int64 __cdecl _byteswap_uint64(unsigned __int64); unsigned __int64 _bzhi_u64(unsigned __int64, unsigned int); @@ -347,6 +391,7 @@ short _InterlockedAnd16_np(short volatile *_Value, short _Mask); __int64 _InterlockedAnd64_np(__int64 volatile *_Value, __int64 _Mask); char _InterlockedAnd8_np(char volatile *_Value, char _Mask); unsigned char _interlockedbittestandreset64(__int64 volatile *, __int64); +static __inline__ unsigned char _interlockedbittestandset64(__int64 volatile *, __int64); long _InterlockedCompareExchange_np(long volatile *_Destination, long _Exchange, long _Comparand); @@ -360,18 +405,40 @@ unsigned char _InterlockedCompareExchange128_np(__int64 volatile *_Destination, __int64 *_ComparandResult); short _InterlockedCompareExchange16_np(short volatile *_Destination, short _Exchange, short _Comparand); +__int64 _InterlockedCompareExchange64_HLEAcquire(__int64 volatile *, __int64, + __int64); +__int64 _InterlockedCompareExchange64_HLERelease(__int64 volatile *, __int64, + __int64); __int64 _InterlockedCompareExchange64_np(__int64 volatile *_Destination, __int64 _Exchange, __int64 _Comparand); +static __inline__ +void *_InterlockedCompareExchangePointer(void *volatile *_Destination, + void *_Exchange, void *_Comparand); void *_InterlockedCompareExchangePointer_np(void *volatile *_Destination, void *_Exchange, void *_Comparand); +static __inline__ +__int64 _InterlockedDecrement64(__int64 volatile *_Addend); +static __inline__ +__int64 _InterlockedExchange64(__int64 volatile *_Target, __int64 _Value); +static __inline__ +__int64 _InterlockedExchangeAdd64(__int64 volatile *_Addend, __int64 _Value); +static __inline__ +void *_InterlockedExchangePointer(void *volatile *_Target, void *_Value); +static __inline__ +__int64 _InterlockedIncrement64(__int64 volatile *_Addend); long _InterlockedOr_np(long volatile *_Value, long _Mask); short _InterlockedOr16_np(short volatile *_Value, short _Mask); +static __inline__ +__int64 _InterlockedOr64(__int64 volatile *_Value, __int64 _Mask); __int64 _InterlockedOr64_np(__int64 volatile *_Value, __int64 _Mask); char _InterlockedOr8_np(char volatile *_Value, char _Mask); long _InterlockedXor_np(long volatile *_Value, long _Mask); short _InterlockedXor16_np(short volatile *_Value, short _Mask); +static __inline__ +__int64 _InterlockedXor64(__int64 volatile *_Value, __int64 _Mask); __int64 _InterlockedXor64_np(__int64 volatile *_Value, __int64 _Mask); char _InterlockedXor8_np(char volatile *_Value, char _Mask); +static __inline__ unsigned __int64 _lzcnt_u64(unsigned __int64); __int64 _mul128(__int64 _Multiplier, __int64 _Multiplicand, __int64 *_HighProduct); @@ -380,6 +447,11 @@ unsigned __int64 __cdecl _readfsbase_u64(void); unsigned int __cdecl _readgsbase_u32(void); unsigned __int64 __cdecl _readgsbase_u64(void); unsigned __int64 _rorx_u64(unsigned __int64, const unsigned int); +__int64 _sarx_i64(__int64, unsigned int); +/* FIXME: Need definition for jmp_buf. + int __cdecl _setjmpex(jmp_buf); */ +unsigned __int64 _shlx_u64(unsigned __int64, unsigned int); +unsigned __int64 shrx_u64(unsigned __int64, unsigned int); unsigned __int64 _tzcnt_u64(unsigned __int64); unsigned __int64 _tzmsk_u64(unsigned __int64); unsigned __int64 _umul128(unsigned __int64 _Multiplier, @@ -503,6 +575,16 @@ _bittestandset(long *a, long b) { *a = *a | (1 << b); return x; } +static __inline__ unsigned char __attribute__((__always_inline__, __nodebug__)) +_interlockedbittestandset(long volatile *__BitBase, long __BitPos) { + unsigned char __Res; + __asm__ ("xor %0, %0\n" + "lock bts %2, %1\n" + "setc %0\n" + : "=r" (__Res), "+m"(*__BitBase) + : "Ir"(__BitPos)); + return __Res; +} #ifdef __x86_64__ static __inline__ unsigned char __attribute__((__always_inline__, __nodebug__)) _BitScanForward64(unsigned long *_Index, unsigned __int64 _Mask) { @@ -552,6 +634,16 @@ _bittestandset64(__int64 *a, __int64 b) { *a = *a | (1ll << b); return x; } +static __inline__ unsigned char __attribute__((__always_inline__, __nodebug__)) +_interlockedbittestandset64(__int64 volatile *__BitBase, __int64 __BitPos) { + unsigned char __Res; + __asm__ ("xor %0, %0\n" + "lock bts %2, %1\n" + "setc %0\n" + : "=r" (__Res), "+m"(*__BitBase) + : "Ir"(__BitPos)); + return __Res; +} #endif /*----------------------------------------------------------------------------*\ |* Interlocked Exchange Add @@ -564,10 +656,6 @@ static __inline__ short __attribute__((__always_inline__, __nodebug__)) _InterlockedExchangeAdd16(short volatile *_Addend, short _Value) { return __atomic_add_fetch(_Addend, _Value, 0) - _Value; } -static __inline__ long __attribute__((__always_inline__, __nodebug__)) -_InterlockedExchangeAdd(long volatile *_Addend, long _Value) { - return __atomic_add_fetch(_Addend, _Value, 0) - _Value; -} #ifdef __x86_64__ static __inline__ __int64 __attribute__((__always_inline__, __nodebug__)) _InterlockedExchangeAdd64(__int64 volatile *_Addend, __int64 _Value) { @@ -598,12 +686,8 @@ _InterlockedExchangeSub64(__int64 volatile *_Subend, __int64 _Value) { /*----------------------------------------------------------------------------*\ |* Interlocked Increment \*----------------------------------------------------------------------------*/ -static __inline__ char __attribute__((__always_inline__, __nodebug__)) -_InterlockedIncrement16(char volatile *_Value) { - return __atomic_add_fetch(_Value, 1, 0); -} -static __inline__ long __attribute__((__always_inline__, __nodebug__)) -_InterlockedIncrement(long volatile *_Value) { +static __inline__ short __attribute__((__always_inline__, __nodebug__)) +_InterlockedIncrement16(short volatile *_Value) { return __atomic_add_fetch(_Value, 1, 0); } #ifdef __x86_64__ @@ -615,12 +699,8 @@ _InterlockedIncrement64(__int64 volatile *_Value) { /*----------------------------------------------------------------------------*\ |* Interlocked Decrement \*----------------------------------------------------------------------------*/ -static __inline__ char __attribute__((__always_inline__, __nodebug__)) -_InterlockedDecrement16(char volatile *_Value) { - return __atomic_sub_fetch(_Value, 1, 0); -} -static __inline__ long __attribute__((__always_inline__, __nodebug__)) -_InterlockedDecrement(long volatile *_Value) { +static __inline__ short __attribute__((__always_inline__, __nodebug__)) +_InterlockedDecrement16(short volatile *_Value) { return __atomic_sub_fetch(_Value, 1, 0); } #ifdef __x86_64__ @@ -716,6 +796,11 @@ _InterlockedExchange64(__int64 volatile *_Target, __int64 _Value) { __atomic_exchange(_Target, &_Value, &_Value, 0); return _Value; } +static __inline__ void *__attribute__((__always_inline__, __nodebug__)) +_InterlockedExchangePointer(void *volatile *_Target, void *_Value) { + __atomic_exchange(_Target, &_Value, &_Value, 0); + return _Value; +} #endif /*----------------------------------------------------------------------------*\ |* Interlocked Compare Exchange @@ -732,12 +817,14 @@ _InterlockedCompareExchange16(short volatile *_Destination, __atomic_compare_exchange(_Destination, &_Comparand, &_Exchange, 0, 0, 0); return _Comparand; } -static __inline__ long __attribute__((__always_inline__, __nodebug__)) -_InterlockedCompareExchange(long volatile *_Destination, - long _Exchange, long _Comparand) { +#ifdef __x86_64__ +static __inline__ void *__attribute__((__always_inline__, __nodebug__)) +_InterlockedCompareExchangePointer(void *volatile *_Destination, + void *_Exchange, void *_Comparand) { __atomic_compare_exchange(_Destination, &_Comparand, &_Exchange, 0, 0, 0); return _Comparand; } +#endif #ifdef __x86_64__ static __inline__ __int64 __attribute__((__always_inline__, __nodebug__)) _InterlockedCompareExchange64(__int64 volatile *_Destination, @@ -764,6 +851,104 @@ __attribute__((deprecated("use other intrinsics or C++11 atomics instead"))) _WriteBarrier(void) { __asm__ volatile ("" : : : "memory"); } +#ifdef __x86_64__ +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__faststorefence(void) { + __asm__ volatile("lock orq $0, (%%rsp)" : : : "memory"); +} +#endif +/*----------------------------------------------------------------------------*\ +|* readfs, readgs +|* (Pointers in address space #256 and #257 are relative to the GS and FS +|* segment registers, respectively.) +\*----------------------------------------------------------------------------*/ +#define __ptr_to_addr_space(__addr_space_nbr, __type, __offset) \ + ((volatile __type __attribute__((__address_space__(__addr_space_nbr)))*) \ + (__offset)) + +#ifdef __i386__ +static __inline__ unsigned char __attribute__((__always_inline__, __nodebug__)) +__readfsbyte(unsigned long __offset) { + return *__ptr_to_addr_space(257, unsigned char, __offset); +} +static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__)) +__readfsdword(unsigned long __offset) { + return *__ptr_to_addr_space(257, unsigned long, __offset); +} +static __inline__ unsigned __int64 __attribute__((__always_inline__, __nodebug__)) +__readfsqword(unsigned long __offset) { + return *__ptr_to_addr_space(257, unsigned __int64, __offset); +} +static __inline__ unsigned short __attribute__((__always_inline__, __nodebug__)) +__readfsword(unsigned long __offset) { + return *__ptr_to_addr_space(257, unsigned short, __offset); +} +#endif +#ifdef __x86_64__ +static __inline__ unsigned char __attribute__((__always_inline__, __nodebug__)) +__readgsbyte(unsigned long __offset) { + return *__ptr_to_addr_space(256, unsigned char, __offset); +} +static __inline__ unsigned long __attribute__((__always_inline__, __nodebug__)) +__readgsdword(unsigned long __offset) { + return *__ptr_to_addr_space(256, unsigned long, __offset); +} +static __inline__ unsigned __int64 __attribute__((__always_inline__, __nodebug__)) +__readgsqword(unsigned long __offset) { + return *__ptr_to_addr_space(256, unsigned __int64, __offset); +} +static __inline__ unsigned short __attribute__((__always_inline__, __nodebug__)) +__readgsword(unsigned long __offset) { + return *__ptr_to_addr_space(256, unsigned short, __offset); +} +#endif +#undef __ptr_to_addr_space +/*----------------------------------------------------------------------------*\ +|* movs, stos +\*----------------------------------------------------------------------------*/ +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__movsb(unsigned char *__dst, unsigned char const *__src, size_t __n) { + __asm__("rep movsb" : : "D"(__dst), "S"(__src), "c"(__n) + : "%edi", "%esi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__movsd(unsigned long *__dst, unsigned long const *__src, size_t __n) { + __asm__("rep movsl" : : "D"(__dst), "S"(__src), "c"(__n) + : "%edi", "%esi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__movsw(unsigned short *__dst, unsigned short const *__src, size_t __n) { + __asm__("rep movsh" : : "D"(__dst), "S"(__src), "c"(__n) + : "%edi", "%esi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__stosb(unsigned char *__dst, unsigned char __x, size_t __n) { + __asm__("rep stosb" : : "D"(__dst), "a"(__x), "c"(__n) + : "%edi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__stosd(unsigned long *__dst, unsigned long __x, size_t __n) { + __asm__("rep stosl" : : "D"(__dst), "a"(__x), "c"(__n) + : "%edi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__stosw(unsigned short *__dst, unsigned short __x, size_t __n) { + __asm__("rep stosh" : : "D"(__dst), "a"(__x), "c"(__n) + : "%edi", "%ecx"); +} +#ifdef __x86_64__ +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__movsq(unsigned long long *__dst, unsigned long long const *__src, size_t __n) { + __asm__("rep movsq" : : "D"(__dst), "S"(__src), "c"(__n) + : "%edi", "%esi", "%ecx"); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__stosq(unsigned __int64 *__dst, unsigned __int64 __x, size_t __n) { + __asm__("rep stosq" : : "D"(__dst), "a"(__x), "c"(__n) + : "%edi", "%ecx"); +} +#endif + /*----------------------------------------------------------------------------*\ |* Misc \*----------------------------------------------------------------------------*/ @@ -775,6 +960,26 @@ static __inline__ void * __attribute__((__always_inline__, __nodebug__)) _ReturnAddress(void) { return __builtin_return_address(0); } +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__cpuid(int __info[4], int __level) { + __asm__ ("cpuid" : "=a"(__info[0]), "=b" (__info[1]), "=c"(__info[2]), "=d"(__info[3]) + : "a"(__level)); +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__cpuidex(int __info[4], int __level, int __ecx) { + __asm__ ("cpuid" : "=a"(__info[0]), "=b" (__info[1]), "=c"(__info[2]), "=d"(__info[3]) + : "a"(__level), "c"(__ecx)); +} +static __inline__ unsigned __int64 __cdecl __attribute__((__always_inline__, __nodebug__)) +_xgetbv(unsigned int __xcr_no) { + unsigned int __eax, __edx; + __asm__ ("xgetbv" : "=a" (__eax), "=d" (__edx) : "c" (__xcr_no)); + return ((unsigned __int64)__edx << 32) | __eax; +} +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__halt(void) { + __asm__ volatile ("hlt"); +} #ifdef __cplusplus } diff --git a/renderscript/clang-include/cpuid.h b/renderscript/clang-include/cpuid.h index 8f12cae..f9254e9 100644 --- a/renderscript/clang-include/cpuid.h +++ b/renderscript/clang-include/cpuid.h @@ -79,6 +79,7 @@ #define bit_ACPI 0x00400000 #define bit_MMX 0x00800000 #define bit_FXSR 0x01000000 +#define bit_FXSAVE bit_FXSR /* for gcc compat */ #define bit_SSE 0x02000000 #define bit_SSE2 0x04000000 #define bit_SS 0x08000000 diff --git a/renderscript/clang-include/float.h b/renderscript/clang-include/float.h index 2cb13d3..02ef6bf 100644 --- a/renderscript/clang-include/float.h +++ b/renderscript/clang-include/float.h @@ -29,7 +29,7 @@ * For more details see http://msdn.microsoft.com/en-us/library/y0ybw9fy.aspx */ #if (defined(__MINGW32__) || defined(_MSC_VER)) && \ - defined(__has_include_next) && __has_include_next(<float.h>) + __has_include_next(<float.h>) # include_next <float.h> /* Undefine anything that we'll be redefining below. */ diff --git a/renderscript/clang-include/ia32intrin.h b/renderscript/clang-include/ia32intrin.h new file mode 100644 index 0000000..a5985f6 --- /dev/null +++ b/renderscript/clang-include/ia32intrin.h @@ -0,0 +1,92 @@ +/* ===-------- ia32intrin.h ---------------------------------------------------=== + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + *===-----------------------------------------------------------------------=== + */ + +#ifndef __X86INTRIN_H +#error "Never use <ia32intrin.h> directly; include <x86intrin.h> instead." +#endif + +#ifndef __IA32INTRIN_H +#define __IA32INTRIN_H + +#ifdef __x86_64__ +static __inline__ unsigned long long __attribute__((__always_inline__, __nodebug__)) +__readeflags(void) +{ + unsigned long long __res = 0; + __asm__ __volatile__ ("pushf\n\t" + "popq %0\n" + :"=r"(__res) + : + : + ); + return __res; +} + +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__writeeflags(unsigned long long __f) +{ + __asm__ __volatile__ ("pushq %0\n\t" + "popf\n" + : + :"r"(__f) + :"flags" + ); +} + +#else /* !__x86_64__ */ +static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__)) +__readeflags(void) +{ + unsigned int __res = 0; + __asm__ __volatile__ ("pushf\n\t" + "popl %0\n" + :"=r"(__res) + : + : + ); + return __res; +} + +static __inline__ void __attribute__((__always_inline__, __nodebug__)) +__writeeflags(unsigned int __f) +{ + __asm__ __volatile__ ("pushl %0\n\t" + "popf\n" + : + :"r"(__f) + :"flags" + ); +} +#endif /* !__x86_64__ */ + +/* __rdtsc */ +static __inline__ unsigned long long __attribute__((__always_inline__, __nodebug__)) +__rdtsc(void) { + unsigned int __eax, __edx; + __asm__ ("rdtsc" : "=a" (__eax), "=d" (__edx)); + return ((unsigned long long)__edx << 32) | __eax; +} + +#define _rdtsc() __rdtsc() + +#endif /* __IA32INTRIN_H */ diff --git a/renderscript/clang-include/immintrin.h b/renderscript/clang-include/immintrin.h index 15d6e05..df4bea8 100644 --- a/renderscript/clang-include/immintrin.h +++ b/renderscript/clang-include/immintrin.h @@ -48,7 +48,7 @@ #include <smmintrin.h> #endif -#if defined (__AES__) +#if defined (__AES__) || defined (__PCLMUL__) #include <wmmintrin.h> #endif diff --git a/renderscript/clang-include/limits.h b/renderscript/clang-include/limits.h index 91bd404..f04187c 100644 --- a/renderscript/clang-include/limits.h +++ b/renderscript/clang-include/limits.h @@ -33,8 +33,7 @@ /* System headers include a number of constants from POSIX in <limits.h>. Include it if we're hosted. */ -#if __STDC_HOSTED__ && \ - defined(__has_include_next) && __has_include_next(<limits.h>) +#if __STDC_HOSTED__ && __has_include_next(<limits.h>) #include_next <limits.h> #endif @@ -90,7 +89,7 @@ /* C99 5.2.4.2.1: Added long long. C++11 18.3.3.2: same contents as the Standard C Library header <limits.h>. */ -#if __STDC_VERSION__ >= 199901 || __cplusplus >= 201103L +#if __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L #undef LLONG_MIN #undef LLONG_MAX diff --git a/renderscript/clang-include/stdarg.h b/renderscript/clang-include/stdarg.h index 2957bf0..6110a06 100644 --- a/renderscript/clang-include/stdarg.h +++ b/renderscript/clang-include/stdarg.h @@ -39,7 +39,7 @@ typedef __builtin_va_list va_list; */ #define __va_copy(d,s) __builtin_va_copy(d,s) -#if __STDC_VERSION__ >= 199900L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__) +#if __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L || !defined(__STRICT_ANSI__) #define va_copy(dest, src) __builtin_va_copy(dest, src) #endif diff --git a/renderscript/clang-include/stddef.h b/renderscript/clang-include/stddef.h index 6a64d6d..97126ed 100644 --- a/renderscript/clang-include/stddef.h +++ b/renderscript/clang-include/stddef.h @@ -84,6 +84,20 @@ using ::std::nullptr_t; #endif #endif +#if __STDC_VERSION__ >= 201112L || __cplusplus >= 201103L +#ifndef _MSC_VER +typedef struct { + long long __clang_max_align_nonce1 + __attribute__((__aligned__(__alignof__(long long)))); + long double __clang_max_align_nonce2 + __attribute__((__aligned__(__alignof__(long double)))); +} max_align_t; +#else +typedef double max_align_t; +#endif +#define __CLANG_MAX_ALIGN_T_DEFINED +#endif + #define offsetof(t, d) __builtin_offsetof(t, d) #endif /* __STDDEF_H */ diff --git a/renderscript/clang-include/stdint.h b/renderscript/clang-include/stdint.h index 11529c0..2b1bc09 100644 --- a/renderscript/clang-include/stdint.h +++ b/renderscript/clang-include/stdint.h @@ -28,8 +28,7 @@ /* If we're hosted, fall back to the system's stdint.h, which might have * additional definitions. */ -#if __STDC_HOSTED__ && \ - defined(__has_include_next) && __has_include_next(<stdint.h>) +#if __STDC_HOSTED__ && __has_include_next(<stdint.h>) // C99 7.18.3 Limits of other integer types // diff --git a/renderscript/clang-include/x86intrin.h b/renderscript/clang-include/x86intrin.h index 399016f..be9e71d 100644 --- a/renderscript/clang-include/x86intrin.h +++ b/renderscript/clang-include/x86intrin.h @@ -24,6 +24,8 @@ #ifndef __X86INTRIN_H #define __X86INTRIN_H +#include <ia32intrin.h> + #include <immintrin.h> #ifdef __3dNOW__ diff --git a/renderscript/clang-include/xmmintrin.h b/renderscript/clang-include/xmmintrin.h index c68d3ed..c8765a7 100644 --- a/renderscript/clang-include/xmmintrin.h +++ b/renderscript/clang-include/xmmintrin.h @@ -672,10 +672,12 @@ _mm_storer_ps(float *__p, __m128 __a) #define _MM_HINT_T2 1 #define _MM_HINT_NTA 0 +#ifndef _MSC_VER /* FIXME: We have to #define this because "sel" must be a constant integer, and Sema doesn't do any form of constant propagation yet. */ #define _mm_prefetch(a, sel) (__builtin_prefetch((void *)(a), 0, (sel))) +#endif static __inline__ void __attribute__((__always_inline__, __nodebug__)) _mm_stream_pi(__m64 *__p, __m64 __a) diff --git a/renderscript/include/rs_allocation.rsh b/renderscript/include/rs_allocation.rsh index 7dffa54..773c386 100644 --- a/renderscript/include/rs_allocation.rsh +++ b/renderscript/include/rs_allocation.rsh @@ -374,5 +374,58 @@ extern const uchar __attribute__((overloadable)) #endif // (defined(RS_VERSION) && (RS_VERSION >= 18)) + +#if (defined(RS_VERSION) && (RS_VERSION >= 21)) + +#define VOP(T) \ + extern T __attribute__((overloadable)) \ + rsAllocationVLoadX_##T(rs_allocation a, uint32_t x); \ + extern T __attribute__((overloadable)) \ + rsAllocationVLoadX_##T(rs_allocation a, uint32_t x, uint32_t y); \ + extern T __attribute__((overloadable)) \ + rsAllocationVLoadX_##T(rs_allocation a, uint32_t x, uint32_t y, uint32_t z); \ + extern void __attribute__((overloadable)) \ + rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x); \ + extern void __attribute__((overloadable)) \ + rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x, uint32_t y); \ + extern void __attribute__((overloadable)) \ + rsAllocationVStoreX_##T(rs_allocation a, T val, uint32_t x, uint32_t y, uint32_t z); + +VOP(char2) +VOP(char3) +VOP(char4) +VOP(uchar2) +VOP(uchar3) +VOP(uchar4) +VOP(short2) +VOP(short3) +VOP(short4) +VOP(ushort2) +VOP(ushort3) +VOP(ushort4) +VOP(int2) +VOP(int3) +VOP(int4) +VOP(uint2) +VOP(uint3) +VOP(uint4) +VOP(long2) +VOP(long3) +VOP(long4) +VOP(ulong2) +VOP(ulong3) +VOP(ulong4) +VOP(float2) +VOP(float3) +VOP(float4) +VOP(double2) +VOP(double3) +VOP(double4) + +#undef VOP + +#endif //(defined(RS_VERSION) && (RS_VERSION >= 999)) + + #endif diff --git a/renderscript/include/rs_atomic.rsh b/renderscript/include/rs_atomic.rsh index 99a7353..fef05bb 100644 --- a/renderscript/include/rs_atomic.rsh +++ b/renderscript/include/rs_atomic.rsh @@ -177,5 +177,85 @@ extern uint32_t __attribute__((overloadable)) #endif //defined(RS_VERSION) && (RS_VERSION >= 14) +#if (defined(RS_VERSION) && (RS_VERSION >= 21)) + +/** + * Atomic add one to the value at addr. + * Equal to rsAtomicAdd(addr, 1) + * + * @param addr Address of value to increment + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicInc(volatile uint32_t* addr); + +/** + * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1) + * + * @param addr Address of value to decrement + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicDec(volatile uint32_t* addr); + +/** + * Atomic add a value to the value at addr. addr[0] += value + * + * @param addr Address of value to modify + * @param value Amount to add to the value at addr + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicAdd(volatile uint32_t* addr, uint32_t value); + +/** + * Atomic Subtract a value from the value at addr. addr[0] -= value + * + * @param addr Address of value to modify + * @param value Amount to subtract from the value at addr + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicSub(volatile uint32_t* addr, uint32_t value); + +/** + * Atomic Bitwise and a value from the value at addr. addr[0] &= value + * + * @param addr Address of value to modify + * @param value Amount to and with the value at addr + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicAnd(volatile uint32_t* addr, uint32_t value); + +/** + * Atomic Bitwise or a value from the value at addr. addr[0] |= value + * + * @param addr Address of value to modify + * @param value Amount to or with the value at addr + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicOr(volatile uint32_t* addr, uint32_t value); + +/** + * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value + * + * @param addr Address of value to modify + * @param value Amount to xor with the value at addr + * + * @return old value + */ +extern int32_t __attribute__((overloadable)) + rsAtomicXor(volatile uint32_t* addr, uint32_t value); + +#endif //defined(RS_VERSION) && (RS_VERSION >= 21) + #endif diff --git a/renderscript/include/rs_core_math.rsh b/renderscript/include/rs_core_math.rsh index 8fe6ad2..80a8798 100644 --- a/renderscript/include/rs_core_math.rsh +++ b/renderscript/include/rs_core_math.rsh @@ -132,7 +132,7 @@ extern uint4 __attribute__((const, overloadable))abs(int4 value); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))acos(float); +extern float __attribute__((const, overloadable))acos(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -141,7 +141,7 @@ extern float __attribute__((const, overloadable))acos(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))acos(float2); +extern float2 __attribute__((const, overloadable))acos(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -150,7 +150,7 @@ extern float2 __attribute__((const, overloadable))acos(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))acos(float3); +extern float3 __attribute__((const, overloadable))acos(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -159,7 +159,7 @@ extern float3 __attribute__((const, overloadable))acos(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))acos(float4); +extern float4 __attribute__((const, overloadable))acos(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -204,7 +204,7 @@ extern float4 __attribute__((const, overloadable))acosh(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))acospi(float); +extern float __attribute__((const, overloadable))acospi(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -213,7 +213,7 @@ extern float __attribute__((const, overloadable))acospi(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))acospi(float2); +extern float2 __attribute__((const, overloadable))acospi(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -222,7 +222,7 @@ extern float2 __attribute__((const, overloadable))acospi(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))acospi(float3); +extern float3 __attribute__((const, overloadable))acospi(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -231,7 +231,7 @@ extern float3 __attribute__((const, overloadable))acospi(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))acospi(float4); +extern float4 __attribute__((const, overloadable))acospi(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -240,7 +240,7 @@ extern float4 __attribute__((const, overloadable))acospi(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))asin(float); +extern float __attribute__((const, overloadable))asin(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -249,7 +249,7 @@ extern float __attribute__((const, overloadable))asin(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))asin(float2); +extern float2 __attribute__((const, overloadable))asin(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -258,7 +258,7 @@ extern float2 __attribute__((const, overloadable))asin(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))asin(float3); +extern float3 __attribute__((const, overloadable))asin(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -267,7 +267,7 @@ extern float3 __attribute__((const, overloadable))asin(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))asin(float4); +extern float4 __attribute__((const, overloadable))asin(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -312,7 +312,7 @@ extern float4 __attribute__((const, overloadable))asinh(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))asinpi(float); +extern float __attribute__((const, overloadable))asinpi(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -321,7 +321,7 @@ extern float __attribute__((const, overloadable))asinpi(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))asinpi(float2); +extern float2 __attribute__((const, overloadable))asinpi(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -330,7 +330,7 @@ extern float2 __attribute__((const, overloadable))asinpi(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))asinpi(float3); +extern float3 __attribute__((const, overloadable))asinpi(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -339,7 +339,7 @@ extern float3 __attribute__((const, overloadable))asinpi(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))asinpi(float4); +extern float4 __attribute__((const, overloadable))asinpi(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -348,7 +348,7 @@ extern float4 __attribute__((const, overloadable))asinpi(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))atan(float); +extern float __attribute__((const, overloadable))atan(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -357,7 +357,7 @@ extern float __attribute__((const, overloadable))atan(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))atan(float2); +extern float2 __attribute__((const, overloadable))atan(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -366,7 +366,7 @@ extern float2 __attribute__((const, overloadable))atan(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))atan(float3); +extern float3 __attribute__((const, overloadable))atan(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -375,7 +375,7 @@ extern float3 __attribute__((const, overloadable))atan(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))atan(float4); +extern float4 __attribute__((const, overloadable))atan(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -492,7 +492,7 @@ extern float4 __attribute__((const, overloadable))atanh(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((const, overloadable))atanpi(float); +extern float __attribute__((const, overloadable))atanpi(float v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -501,7 +501,7 @@ extern float __attribute__((const, overloadable))atanpi(float); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))atanpi(float2); +extern float2 __attribute__((const, overloadable))atanpi(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -510,7 +510,7 @@ extern float2 __attribute__((const, overloadable))atanpi(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))atanpi(float3); +extern float3 __attribute__((const, overloadable))atanpi(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -519,7 +519,7 @@ extern float3 __attribute__((const, overloadable))atanpi(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))atanpi(float4); +extern float4 __attribute__((const, overloadable))atanpi(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1635,7 +1635,7 @@ extern uint4 __attribute__((const, overloadable))clz(uint4 value); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(float2); +extern float2 __attribute__((const, overloadable))convert_float2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1644,7 +1644,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(float2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(float3); +extern float3 __attribute__((const, overloadable))convert_float3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1653,7 +1653,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(float3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(float4); +extern float4 __attribute__((const, overloadable))convert_float4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1662,7 +1662,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(float4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(double2); +extern float2 __attribute__((const, overloadable))convert_float2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1671,7 +1671,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(double2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(double3); +extern float3 __attribute__((const, overloadable))convert_float3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1680,7 +1680,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(double3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(double4); +extern float4 __attribute__((const, overloadable))convert_float4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1689,7 +1689,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(double4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(char2); +extern float2 __attribute__((const, overloadable))convert_float2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1698,7 +1698,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(char2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(char3); +extern float3 __attribute__((const, overloadable))convert_float3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1707,7 +1707,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(char3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(char4); +extern float4 __attribute__((const, overloadable))convert_float4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1716,7 +1716,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(char4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(uchar2); +extern float2 __attribute__((const, overloadable))convert_float2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1725,7 +1725,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(uchar2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(uchar3); +extern float3 __attribute__((const, overloadable))convert_float3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1734,7 +1734,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(uchar3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(uchar4); +extern float4 __attribute__((const, overloadable))convert_float4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1743,7 +1743,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(uchar4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(short2); +extern float2 __attribute__((const, overloadable))convert_float2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1752,7 +1752,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(short2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(short3); +extern float3 __attribute__((const, overloadable))convert_float3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1761,7 +1761,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(short3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(short4); +extern float4 __attribute__((const, overloadable))convert_float4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1770,7 +1770,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(short4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(ushort2); +extern float2 __attribute__((const, overloadable))convert_float2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1779,7 +1779,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(ushort2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(ushort3); +extern float3 __attribute__((const, overloadable))convert_float3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1788,7 +1788,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(ushort3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(ushort4); +extern float4 __attribute__((const, overloadable))convert_float4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1797,7 +1797,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(ushort4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(int2); +extern float2 __attribute__((const, overloadable))convert_float2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1806,7 +1806,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(int2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(int3); +extern float3 __attribute__((const, overloadable))convert_float3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1815,7 +1815,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(int3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(int4); +extern float4 __attribute__((const, overloadable))convert_float4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1824,7 +1824,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(int4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(uint2); +extern float2 __attribute__((const, overloadable))convert_float2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1833,7 +1833,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(uint2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(uint3); +extern float3 __attribute__((const, overloadable))convert_float3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1842,7 +1842,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(uint3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(uint4); +extern float4 __attribute__((const, overloadable))convert_float4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1851,7 +1851,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(uint4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(long2); +extern float2 __attribute__((const, overloadable))convert_float2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1860,7 +1860,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(long2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(long3); +extern float3 __attribute__((const, overloadable))convert_float3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1869,7 +1869,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(long3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(long4); +extern float4 __attribute__((const, overloadable))convert_float4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1878,7 +1878,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(long4); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((const, overloadable))convert_float2(ulong2); +extern float2 __attribute__((const, overloadable))convert_float2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1887,7 +1887,7 @@ extern float2 __attribute__((const, overloadable))convert_float2(ulong2); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((const, overloadable))convert_float3(ulong3); +extern float3 __attribute__((const, overloadable))convert_float3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1896,7 +1896,7 @@ extern float3 __attribute__((const, overloadable))convert_float3(ulong3); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((const, overloadable))convert_float4(ulong4); +extern float4 __attribute__((const, overloadable))convert_float4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1905,7 +1905,7 @@ extern float4 __attribute__((const, overloadable))convert_float4(ulong4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(float2); +extern double2 __attribute__((const, overloadable))convert_double2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1914,7 +1914,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(float2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(float3); +extern double3 __attribute__((const, overloadable))convert_double3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1923,7 +1923,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(float3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(float4); +extern double4 __attribute__((const, overloadable))convert_double4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1932,7 +1932,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(float4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(double2); +extern double2 __attribute__((const, overloadable))convert_double2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1941,7 +1941,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(double2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(double3); +extern double3 __attribute__((const, overloadable))convert_double3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1950,7 +1950,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(double3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(double4); +extern double4 __attribute__((const, overloadable))convert_double4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1959,7 +1959,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(double4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(char2); +extern double2 __attribute__((const, overloadable))convert_double2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1968,7 +1968,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(char2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(char3); +extern double3 __attribute__((const, overloadable))convert_double3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1977,7 +1977,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(char3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(char4); +extern double4 __attribute__((const, overloadable))convert_double4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1986,7 +1986,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(char4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(uchar2); +extern double2 __attribute__((const, overloadable))convert_double2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -1995,7 +1995,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(uchar2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(uchar3); +extern double3 __attribute__((const, overloadable))convert_double3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2004,7 +2004,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(uchar3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(uchar4); +extern double4 __attribute__((const, overloadable))convert_double4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2013,7 +2013,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(uchar4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(short2); +extern double2 __attribute__((const, overloadable))convert_double2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2022,7 +2022,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(short2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(short3); +extern double3 __attribute__((const, overloadable))convert_double3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2031,7 +2031,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(short3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(short4); +extern double4 __attribute__((const, overloadable))convert_double4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2040,7 +2040,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(short4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(ushort2); +extern double2 __attribute__((const, overloadable))convert_double2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2049,7 +2049,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(ushort2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(ushort3); +extern double3 __attribute__((const, overloadable))convert_double3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2058,7 +2058,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(ushort3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(ushort4); +extern double4 __attribute__((const, overloadable))convert_double4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2067,7 +2067,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(ushort4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(int2); +extern double2 __attribute__((const, overloadable))convert_double2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2076,7 +2076,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(int2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(int3); +extern double3 __attribute__((const, overloadable))convert_double3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2085,7 +2085,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(int3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(int4); +extern double4 __attribute__((const, overloadable))convert_double4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2094,7 +2094,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(int4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(uint2); +extern double2 __attribute__((const, overloadable))convert_double2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2103,7 +2103,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(uint2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(uint3); +extern double3 __attribute__((const, overloadable))convert_double3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2112,7 +2112,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(uint3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(uint4); +extern double4 __attribute__((const, overloadable))convert_double4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2121,7 +2121,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(uint4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(long2); +extern double2 __attribute__((const, overloadable))convert_double2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2130,7 +2130,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(long2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(long3); +extern double3 __attribute__((const, overloadable))convert_double3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2139,7 +2139,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(long3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(long4); +extern double4 __attribute__((const, overloadable))convert_double4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2148,7 +2148,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(long4); * * Supported by API versions 9 and newer. */ -extern double2 __attribute__((const, overloadable))convert_double2(ulong2); +extern double2 __attribute__((const, overloadable))convert_double2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2157,7 +2157,7 @@ extern double2 __attribute__((const, overloadable))convert_double2(ulong2); * * Supported by API versions 9 and newer. */ -extern double3 __attribute__((const, overloadable))convert_double3(ulong3); +extern double3 __attribute__((const, overloadable))convert_double3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2166,7 +2166,7 @@ extern double3 __attribute__((const, overloadable))convert_double3(ulong3); * * Supported by API versions 9 and newer. */ -extern double4 __attribute__((const, overloadable))convert_double4(ulong4); +extern double4 __attribute__((const, overloadable))convert_double4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2175,7 +2175,7 @@ extern double4 __attribute__((const, overloadable))convert_double4(ulong4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(float2); +extern char2 __attribute__((const, overloadable))convert_char2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2184,7 +2184,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(float2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(float3); +extern char3 __attribute__((const, overloadable))convert_char3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2193,7 +2193,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(float3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(float4); +extern char4 __attribute__((const, overloadable))convert_char4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2202,7 +2202,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(float4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(double2); +extern char2 __attribute__((const, overloadable))convert_char2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2211,7 +2211,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(double2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(double3); +extern char3 __attribute__((const, overloadable))convert_char3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2220,7 +2220,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(double3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(double4); +extern char4 __attribute__((const, overloadable))convert_char4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2229,7 +2229,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(double4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(char2); +extern char2 __attribute__((const, overloadable))convert_char2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2238,7 +2238,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(char2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(char3); +extern char3 __attribute__((const, overloadable))convert_char3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2247,7 +2247,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(char3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(char4); +extern char4 __attribute__((const, overloadable))convert_char4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2256,7 +2256,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(char4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(uchar2); +extern char2 __attribute__((const, overloadable))convert_char2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2265,7 +2265,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(uchar2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(uchar3); +extern char3 __attribute__((const, overloadable))convert_char3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2274,7 +2274,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(uchar3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(uchar4); +extern char4 __attribute__((const, overloadable))convert_char4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2283,7 +2283,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(uchar4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(short2); +extern char2 __attribute__((const, overloadable))convert_char2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2292,7 +2292,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(short2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(short3); +extern char3 __attribute__((const, overloadable))convert_char3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2301,7 +2301,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(short3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(short4); +extern char4 __attribute__((const, overloadable))convert_char4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2310,7 +2310,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(short4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(ushort2); +extern char2 __attribute__((const, overloadable))convert_char2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2319,7 +2319,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(ushort2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(ushort3); +extern char3 __attribute__((const, overloadable))convert_char3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2328,7 +2328,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(ushort3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(ushort4); +extern char4 __attribute__((const, overloadable))convert_char4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2337,7 +2337,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(ushort4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(int2); +extern char2 __attribute__((const, overloadable))convert_char2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2346,7 +2346,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(int2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(int3); +extern char3 __attribute__((const, overloadable))convert_char3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2355,7 +2355,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(int3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(int4); +extern char4 __attribute__((const, overloadable))convert_char4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2364,7 +2364,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(int4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(uint2); +extern char2 __attribute__((const, overloadable))convert_char2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2373,7 +2373,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(uint2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(uint3); +extern char3 __attribute__((const, overloadable))convert_char3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2382,7 +2382,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(uint3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(uint4); +extern char4 __attribute__((const, overloadable))convert_char4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2391,7 +2391,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(uint4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(long2); +extern char2 __attribute__((const, overloadable))convert_char2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2400,7 +2400,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(long2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(long3); +extern char3 __attribute__((const, overloadable))convert_char3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2409,7 +2409,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(long3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(long4); +extern char4 __attribute__((const, overloadable))convert_char4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2418,7 +2418,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(long4); * * Supported by API versions 9 and newer. */ -extern char2 __attribute__((const, overloadable))convert_char2(ulong2); +extern char2 __attribute__((const, overloadable))convert_char2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2427,7 +2427,7 @@ extern char2 __attribute__((const, overloadable))convert_char2(ulong2); * * Supported by API versions 9 and newer. */ -extern char3 __attribute__((const, overloadable))convert_char3(ulong3); +extern char3 __attribute__((const, overloadable))convert_char3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2436,7 +2436,7 @@ extern char3 __attribute__((const, overloadable))convert_char3(ulong3); * * Supported by API versions 9 and newer. */ -extern char4 __attribute__((const, overloadable))convert_char4(ulong4); +extern char4 __attribute__((const, overloadable))convert_char4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2445,7 +2445,7 @@ extern char4 __attribute__((const, overloadable))convert_char4(ulong4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(float2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2454,7 +2454,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(float2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(float3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2463,7 +2463,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(float3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(float4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2472,7 +2472,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(float4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(double2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2481,7 +2481,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(double2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(double3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2490,7 +2490,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(double3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(double4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2499,7 +2499,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(double4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(char2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2508,7 +2508,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(char2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(char3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2517,7 +2517,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(char3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(char4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2526,7 +2526,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(char4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(uchar2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2535,7 +2535,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(uchar2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(uchar3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2544,7 +2544,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(uchar3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(uchar4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2553,7 +2553,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(uchar4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(short2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2562,7 +2562,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(short2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(short3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2571,7 +2571,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(short3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(short4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2580,7 +2580,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(short4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(ushort2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2589,7 +2589,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(ushort2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(ushort3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2598,7 +2598,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(ushort3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(ushort4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2607,7 +2607,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(ushort4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(int2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2616,7 +2616,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(int2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(int3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2625,7 +2625,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(int3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(int4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2634,7 +2634,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(int4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(uint2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2643,7 +2643,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(uint2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(uint3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2652,7 +2652,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(uint3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(uint4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2661,7 +2661,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(uint4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(long2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2670,7 +2670,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(long2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(long3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2679,7 +2679,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(long3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(long4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2688,7 +2688,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(long4); * * Supported by API versions 9 and newer. */ -extern uchar2 __attribute__((const, overloadable))convert_uchar2(ulong2); +extern uchar2 __attribute__((const, overloadable))convert_uchar2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2697,7 +2697,7 @@ extern uchar2 __attribute__((const, overloadable))convert_uchar2(ulong2); * * Supported by API versions 9 and newer. */ -extern uchar3 __attribute__((const, overloadable))convert_uchar3(ulong3); +extern uchar3 __attribute__((const, overloadable))convert_uchar3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2706,7 +2706,7 @@ extern uchar3 __attribute__((const, overloadable))convert_uchar3(ulong3); * * Supported by API versions 9 and newer. */ -extern uchar4 __attribute__((const, overloadable))convert_uchar4(ulong4); +extern uchar4 __attribute__((const, overloadable))convert_uchar4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2715,7 +2715,7 @@ extern uchar4 __attribute__((const, overloadable))convert_uchar4(ulong4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(float2); +extern short2 __attribute__((const, overloadable))convert_short2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2724,7 +2724,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(float2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(float3); +extern short3 __attribute__((const, overloadable))convert_short3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2733,7 +2733,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(float3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(float4); +extern short4 __attribute__((const, overloadable))convert_short4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2742,7 +2742,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(float4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(double2); +extern short2 __attribute__((const, overloadable))convert_short2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2751,7 +2751,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(double2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(double3); +extern short3 __attribute__((const, overloadable))convert_short3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2760,7 +2760,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(double3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(double4); +extern short4 __attribute__((const, overloadable))convert_short4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2769,7 +2769,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(double4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(char2); +extern short2 __attribute__((const, overloadable))convert_short2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2778,7 +2778,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(char2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(char3); +extern short3 __attribute__((const, overloadable))convert_short3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2787,7 +2787,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(char3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(char4); +extern short4 __attribute__((const, overloadable))convert_short4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2796,7 +2796,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(char4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(uchar2); +extern short2 __attribute__((const, overloadable))convert_short2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2805,7 +2805,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(uchar2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(uchar3); +extern short3 __attribute__((const, overloadable))convert_short3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2814,7 +2814,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(uchar3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(uchar4); +extern short4 __attribute__((const, overloadable))convert_short4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2823,7 +2823,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(uchar4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(short2); +extern short2 __attribute__((const, overloadable))convert_short2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2832,7 +2832,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(short2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(short3); +extern short3 __attribute__((const, overloadable))convert_short3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2841,7 +2841,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(short3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(short4); +extern short4 __attribute__((const, overloadable))convert_short4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2850,7 +2850,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(short4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(ushort2); +extern short2 __attribute__((const, overloadable))convert_short2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2859,7 +2859,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(ushort2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(ushort3); +extern short3 __attribute__((const, overloadable))convert_short3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2868,7 +2868,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(ushort3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(ushort4); +extern short4 __attribute__((const, overloadable))convert_short4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2877,7 +2877,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(ushort4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(int2); +extern short2 __attribute__((const, overloadable))convert_short2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2886,7 +2886,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(int2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(int3); +extern short3 __attribute__((const, overloadable))convert_short3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2895,7 +2895,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(int3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(int4); +extern short4 __attribute__((const, overloadable))convert_short4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2904,7 +2904,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(int4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(uint2); +extern short2 __attribute__((const, overloadable))convert_short2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2913,7 +2913,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(uint2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(uint3); +extern short3 __attribute__((const, overloadable))convert_short3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2922,7 +2922,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(uint3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(uint4); +extern short4 __attribute__((const, overloadable))convert_short4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2931,7 +2931,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(uint4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(long2); +extern short2 __attribute__((const, overloadable))convert_short2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2940,7 +2940,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(long2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(long3); +extern short3 __attribute__((const, overloadable))convert_short3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2949,7 +2949,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(long3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(long4); +extern short4 __attribute__((const, overloadable))convert_short4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2958,7 +2958,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(long4); * * Supported by API versions 9 and newer. */ -extern short2 __attribute__((const, overloadable))convert_short2(ulong2); +extern short2 __attribute__((const, overloadable))convert_short2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2967,7 +2967,7 @@ extern short2 __attribute__((const, overloadable))convert_short2(ulong2); * * Supported by API versions 9 and newer. */ -extern short3 __attribute__((const, overloadable))convert_short3(ulong3); +extern short3 __attribute__((const, overloadable))convert_short3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2976,7 +2976,7 @@ extern short3 __attribute__((const, overloadable))convert_short3(ulong3); * * Supported by API versions 9 and newer. */ -extern short4 __attribute__((const, overloadable))convert_short4(ulong4); +extern short4 __attribute__((const, overloadable))convert_short4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2985,7 +2985,7 @@ extern short4 __attribute__((const, overloadable))convert_short4(ulong4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(float2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -2994,7 +2994,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(float2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(float3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3003,7 +3003,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(float3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(float4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3012,7 +3012,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(float4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(double2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3021,7 +3021,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(double2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(double3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3030,7 +3030,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(double3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(double4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3039,7 +3039,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(double4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(char2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3048,7 +3048,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(char2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(char3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3057,7 +3057,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(char3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(char4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3066,7 +3066,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(char4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(uchar2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3075,7 +3075,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(uchar2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(uchar3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3084,7 +3084,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(uchar3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(uchar4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3093,7 +3093,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(uchar4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(short2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3102,7 +3102,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(short2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(short3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3111,7 +3111,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(short3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(short4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3120,7 +3120,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(short4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(ushort2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3129,7 +3129,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(ushort2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(ushort3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3138,7 +3138,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(ushort3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(ushort4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3147,7 +3147,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(ushort4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(int2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3156,7 +3156,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(int2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(int3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3165,7 +3165,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(int3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(int4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3174,7 +3174,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(int4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(uint2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3183,7 +3183,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(uint2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(uint3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3192,7 +3192,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(uint3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(uint4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3201,7 +3201,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(uint4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(long2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3210,7 +3210,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(long2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(long3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3219,7 +3219,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(long3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(long4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3228,7 +3228,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(long4); * * Supported by API versions 9 and newer. */ -extern ushort2 __attribute__((const, overloadable))convert_ushort2(ulong2); +extern ushort2 __attribute__((const, overloadable))convert_ushort2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3237,7 +3237,7 @@ extern ushort2 __attribute__((const, overloadable))convert_ushort2(ulong2); * * Supported by API versions 9 and newer. */ -extern ushort3 __attribute__((const, overloadable))convert_ushort3(ulong3); +extern ushort3 __attribute__((const, overloadable))convert_ushort3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3246,7 +3246,7 @@ extern ushort3 __attribute__((const, overloadable))convert_ushort3(ulong3); * * Supported by API versions 9 and newer. */ -extern ushort4 __attribute__((const, overloadable))convert_ushort4(ulong4); +extern ushort4 __attribute__((const, overloadable))convert_ushort4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3255,7 +3255,7 @@ extern ushort4 __attribute__((const, overloadable))convert_ushort4(ulong4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(float2); +extern int2 __attribute__((const, overloadable))convert_int2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3264,7 +3264,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(float2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(float3); +extern int3 __attribute__((const, overloadable))convert_int3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3273,7 +3273,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(float3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(float4); +extern int4 __attribute__((const, overloadable))convert_int4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3282,7 +3282,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(float4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(double2); +extern int2 __attribute__((const, overloadable))convert_int2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3291,7 +3291,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(double2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(double3); +extern int3 __attribute__((const, overloadable))convert_int3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3300,7 +3300,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(double3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(double4); +extern int4 __attribute__((const, overloadable))convert_int4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3309,7 +3309,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(double4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(char2); +extern int2 __attribute__((const, overloadable))convert_int2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3318,7 +3318,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(char2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(char3); +extern int3 __attribute__((const, overloadable))convert_int3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3327,7 +3327,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(char3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(char4); +extern int4 __attribute__((const, overloadable))convert_int4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3336,7 +3336,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(char4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(uchar2); +extern int2 __attribute__((const, overloadable))convert_int2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3345,7 +3345,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(uchar2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(uchar3); +extern int3 __attribute__((const, overloadable))convert_int3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3354,7 +3354,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(uchar3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(uchar4); +extern int4 __attribute__((const, overloadable))convert_int4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3363,7 +3363,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(uchar4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(short2); +extern int2 __attribute__((const, overloadable))convert_int2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3372,7 +3372,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(short2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(short3); +extern int3 __attribute__((const, overloadable))convert_int3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3381,7 +3381,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(short3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(short4); +extern int4 __attribute__((const, overloadable))convert_int4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3390,7 +3390,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(short4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(ushort2); +extern int2 __attribute__((const, overloadable))convert_int2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3399,7 +3399,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(ushort2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(ushort3); +extern int3 __attribute__((const, overloadable))convert_int3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3408,7 +3408,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(ushort3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(ushort4); +extern int4 __attribute__((const, overloadable))convert_int4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3417,7 +3417,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(ushort4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(int2); +extern int2 __attribute__((const, overloadable))convert_int2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3426,7 +3426,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(int2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(int3); +extern int3 __attribute__((const, overloadable))convert_int3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3435,7 +3435,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(int3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(int4); +extern int4 __attribute__((const, overloadable))convert_int4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3444,7 +3444,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(int4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(uint2); +extern int2 __attribute__((const, overloadable))convert_int2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3453,7 +3453,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(uint2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(uint3); +extern int3 __attribute__((const, overloadable))convert_int3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3462,7 +3462,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(uint3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(uint4); +extern int4 __attribute__((const, overloadable))convert_int4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3471,7 +3471,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(uint4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(long2); +extern int2 __attribute__((const, overloadable))convert_int2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3480,7 +3480,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(long2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(long3); +extern int3 __attribute__((const, overloadable))convert_int3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3489,7 +3489,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(long3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(long4); +extern int4 __attribute__((const, overloadable))convert_int4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3498,7 +3498,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(long4); * * Supported by API versions 9 and newer. */ -extern int2 __attribute__((const, overloadable))convert_int2(ulong2); +extern int2 __attribute__((const, overloadable))convert_int2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3507,7 +3507,7 @@ extern int2 __attribute__((const, overloadable))convert_int2(ulong2); * * Supported by API versions 9 and newer. */ -extern int3 __attribute__((const, overloadable))convert_int3(ulong3); +extern int3 __attribute__((const, overloadable))convert_int3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3516,7 +3516,7 @@ extern int3 __attribute__((const, overloadable))convert_int3(ulong3); * * Supported by API versions 9 and newer. */ -extern int4 __attribute__((const, overloadable))convert_int4(ulong4); +extern int4 __attribute__((const, overloadable))convert_int4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3525,7 +3525,7 @@ extern int4 __attribute__((const, overloadable))convert_int4(ulong4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(float2); +extern uint2 __attribute__((const, overloadable))convert_uint2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3534,7 +3534,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(float2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(float3); +extern uint3 __attribute__((const, overloadable))convert_uint3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3543,7 +3543,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(float3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(float4); +extern uint4 __attribute__((const, overloadable))convert_uint4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3552,7 +3552,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(float4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(double2); +extern uint2 __attribute__((const, overloadable))convert_uint2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3561,7 +3561,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(double2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(double3); +extern uint3 __attribute__((const, overloadable))convert_uint3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3570,7 +3570,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(double3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(double4); +extern uint4 __attribute__((const, overloadable))convert_uint4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3579,7 +3579,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(double4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(char2); +extern uint2 __attribute__((const, overloadable))convert_uint2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3588,7 +3588,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(char2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(char3); +extern uint3 __attribute__((const, overloadable))convert_uint3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3597,7 +3597,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(char3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(char4); +extern uint4 __attribute__((const, overloadable))convert_uint4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3606,7 +3606,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(char4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(uchar2); +extern uint2 __attribute__((const, overloadable))convert_uint2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3615,7 +3615,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(uchar2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(uchar3); +extern uint3 __attribute__((const, overloadable))convert_uint3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3624,7 +3624,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(uchar3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(uchar4); +extern uint4 __attribute__((const, overloadable))convert_uint4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3633,7 +3633,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(uchar4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(short2); +extern uint2 __attribute__((const, overloadable))convert_uint2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3642,7 +3642,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(short2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(short3); +extern uint3 __attribute__((const, overloadable))convert_uint3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3651,7 +3651,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(short3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(short4); +extern uint4 __attribute__((const, overloadable))convert_uint4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3660,7 +3660,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(short4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(ushort2); +extern uint2 __attribute__((const, overloadable))convert_uint2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3669,7 +3669,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(ushort2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(ushort3); +extern uint3 __attribute__((const, overloadable))convert_uint3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3678,7 +3678,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(ushort3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(ushort4); +extern uint4 __attribute__((const, overloadable))convert_uint4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3687,7 +3687,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(ushort4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(int2); +extern uint2 __attribute__((const, overloadable))convert_uint2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3696,7 +3696,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(int2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(int3); +extern uint3 __attribute__((const, overloadable))convert_uint3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3705,7 +3705,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(int3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(int4); +extern uint4 __attribute__((const, overloadable))convert_uint4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3714,7 +3714,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(int4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(uint2); +extern uint2 __attribute__((const, overloadable))convert_uint2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3723,7 +3723,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(uint2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(uint3); +extern uint3 __attribute__((const, overloadable))convert_uint3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3732,7 +3732,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(uint3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(uint4); +extern uint4 __attribute__((const, overloadable))convert_uint4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3741,7 +3741,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(uint4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(long2); +extern uint2 __attribute__((const, overloadable))convert_uint2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3750,7 +3750,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(long2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(long3); +extern uint3 __attribute__((const, overloadable))convert_uint3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3759,7 +3759,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(long3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(long4); +extern uint4 __attribute__((const, overloadable))convert_uint4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3768,7 +3768,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(long4); * * Supported by API versions 9 and newer. */ -extern uint2 __attribute__((const, overloadable))convert_uint2(ulong2); +extern uint2 __attribute__((const, overloadable))convert_uint2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3777,7 +3777,7 @@ extern uint2 __attribute__((const, overloadable))convert_uint2(ulong2); * * Supported by API versions 9 and newer. */ -extern uint3 __attribute__((const, overloadable))convert_uint3(ulong3); +extern uint3 __attribute__((const, overloadable))convert_uint3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3786,7 +3786,7 @@ extern uint3 __attribute__((const, overloadable))convert_uint3(ulong3); * * Supported by API versions 9 and newer. */ -extern uint4 __attribute__((const, overloadable))convert_uint4(ulong4); +extern uint4 __attribute__((const, overloadable))convert_uint4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3795,7 +3795,7 @@ extern uint4 __attribute__((const, overloadable))convert_uint4(ulong4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(float2); +extern long2 __attribute__((const, overloadable))convert_long2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3804,7 +3804,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(float2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(float3); +extern long3 __attribute__((const, overloadable))convert_long3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3813,7 +3813,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(float3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(float4); +extern long4 __attribute__((const, overloadable))convert_long4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3822,7 +3822,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(float4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(double2); +extern long2 __attribute__((const, overloadable))convert_long2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3831,7 +3831,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(double2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(double3); +extern long3 __attribute__((const, overloadable))convert_long3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3840,7 +3840,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(double3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(double4); +extern long4 __attribute__((const, overloadable))convert_long4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3849,7 +3849,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(double4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(char2); +extern long2 __attribute__((const, overloadable))convert_long2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3858,7 +3858,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(char2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(char3); +extern long3 __attribute__((const, overloadable))convert_long3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3867,7 +3867,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(char3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(char4); +extern long4 __attribute__((const, overloadable))convert_long4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3876,7 +3876,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(char4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(uchar2); +extern long2 __attribute__((const, overloadable))convert_long2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3885,7 +3885,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(uchar2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(uchar3); +extern long3 __attribute__((const, overloadable))convert_long3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3894,7 +3894,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(uchar3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(uchar4); +extern long4 __attribute__((const, overloadable))convert_long4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3903,7 +3903,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(uchar4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(short2); +extern long2 __attribute__((const, overloadable))convert_long2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3912,7 +3912,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(short2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(short3); +extern long3 __attribute__((const, overloadable))convert_long3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3921,7 +3921,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(short3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(short4); +extern long4 __attribute__((const, overloadable))convert_long4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3930,7 +3930,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(short4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(ushort2); +extern long2 __attribute__((const, overloadable))convert_long2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3939,7 +3939,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(ushort2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(ushort3); +extern long3 __attribute__((const, overloadable))convert_long3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3948,7 +3948,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(ushort3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(ushort4); +extern long4 __attribute__((const, overloadable))convert_long4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3957,7 +3957,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(ushort4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(int2); +extern long2 __attribute__((const, overloadable))convert_long2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3966,7 +3966,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(int2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(int3); +extern long3 __attribute__((const, overloadable))convert_long3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3975,7 +3975,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(int3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(int4); +extern long4 __attribute__((const, overloadable))convert_long4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3984,7 +3984,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(int4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(uint2); +extern long2 __attribute__((const, overloadable))convert_long2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -3993,7 +3993,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(uint2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(uint3); +extern long3 __attribute__((const, overloadable))convert_long3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4002,7 +4002,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(uint3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(uint4); +extern long4 __attribute__((const, overloadable))convert_long4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4011,7 +4011,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(uint4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(long2); +extern long2 __attribute__((const, overloadable))convert_long2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4020,7 +4020,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(long2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(long3); +extern long3 __attribute__((const, overloadable))convert_long3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4029,7 +4029,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(long3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(long4); +extern long4 __attribute__((const, overloadable))convert_long4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4038,7 +4038,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(long4); * * Supported by API versions 9 and newer. */ -extern long2 __attribute__((const, overloadable))convert_long2(ulong2); +extern long2 __attribute__((const, overloadable))convert_long2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4047,7 +4047,7 @@ extern long2 __attribute__((const, overloadable))convert_long2(ulong2); * * Supported by API versions 9 and newer. */ -extern long3 __attribute__((const, overloadable))convert_long3(ulong3); +extern long3 __attribute__((const, overloadable))convert_long3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4056,7 +4056,7 @@ extern long3 __attribute__((const, overloadable))convert_long3(ulong3); * * Supported by API versions 9 and newer. */ -extern long4 __attribute__((const, overloadable))convert_long4(ulong4); +extern long4 __attribute__((const, overloadable))convert_long4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4065,7 +4065,7 @@ extern long4 __attribute__((const, overloadable))convert_long4(ulong4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(float2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(float2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4074,7 +4074,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(float2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(float3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(float3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4083,7 +4083,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(float3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(float4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(float4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4092,7 +4092,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(float4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(double2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(double2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4101,7 +4101,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(double2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(double3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(double3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4110,7 +4110,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(double3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(double4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(double4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4119,7 +4119,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(double4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(char2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(char2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4128,7 +4128,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(char2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(char3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(char3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4137,7 +4137,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(char3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(char4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(char4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4146,7 +4146,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(char4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(uchar2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(uchar2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4155,7 +4155,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(uchar2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(uchar3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(uchar3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4164,7 +4164,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(uchar3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(uchar4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(uchar4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4173,7 +4173,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(uchar4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(short2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(short2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4182,7 +4182,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(short2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(short3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(short3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4191,7 +4191,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(short3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(short4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(short4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4200,7 +4200,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(short4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(ushort2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(ushort2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4209,7 +4209,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(ushort2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(ushort3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(ushort3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4218,7 +4218,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(ushort3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(ushort4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(ushort4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4227,7 +4227,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(ushort4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(int2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(int2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4236,7 +4236,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(int2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(int3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(int3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4245,7 +4245,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(int3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(int4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(int4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4254,7 +4254,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(int4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(uint2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(uint2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4263,7 +4263,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(uint2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(uint3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(uint3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4272,7 +4272,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(uint3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(uint4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(uint4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4281,7 +4281,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(uint4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(long2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(long2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4290,7 +4290,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(long2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(long3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(long3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4299,7 +4299,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(long3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(long4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(long4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4308,7 +4308,7 @@ extern ulong4 __attribute__((const, overloadable))convert_ulong4(long4); * * Supported by API versions 9 and newer. */ -extern ulong2 __attribute__((const, overloadable))convert_ulong2(ulong2); +extern ulong2 __attribute__((const, overloadable))convert_ulong2(ulong2 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4317,7 +4317,7 @@ extern ulong2 __attribute__((const, overloadable))convert_ulong2(ulong2); * * Supported by API versions 9 and newer. */ -extern ulong3 __attribute__((const, overloadable))convert_ulong3(ulong3); +extern ulong3 __attribute__((const, overloadable))convert_ulong3(ulong3 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -4326,7 +4326,7 @@ extern ulong3 __attribute__((const, overloadable))convert_ulong3(ulong3); * * Supported by API versions 9 and newer. */ -extern ulong4 __attribute__((const, overloadable))convert_ulong4(ulong4); +extern ulong4 __attribute__((const, overloadable))convert_ulong4(ulong4 v); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5237,7 +5237,7 @@ extern float4 __attribute__((const, overloadable))fmod(float4 x, float4 y); * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))fract(float v, float *floor); +extern float __attribute__((overloadable))fract(float v, float* floor); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5248,7 +5248,7 @@ extern float __attribute__((overloadable))fract(float v, float *floor); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))fract(float2 v, float2 *floor); +extern float2 __attribute__((overloadable))fract(float2 v, float2* floor); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5259,7 +5259,7 @@ extern float2 __attribute__((overloadable))fract(float2 v, float2 *floor); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))fract(float3 v, float3 *floor); +extern float3 __attribute__((overloadable))fract(float3 v, float3* floor); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5270,7 +5270,7 @@ extern float3 __attribute__((overloadable))fract(float3 v, float3 *floor); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))fract(float4 v, float4 *floor); +extern float4 __attribute__((overloadable))fract(float4 v, float4* floor); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5329,7 +5329,7 @@ static float4 __attribute__((const, overloadable))fract(float4 v) { * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))frexp(float v, int *iptr); +extern float __attribute__((overloadable))frexp(float v, int* iptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5340,7 +5340,7 @@ extern float __attribute__((overloadable))frexp(float v, int *iptr); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))frexp(float2 v, int2 *iptr); +extern float2 __attribute__((overloadable))frexp(float2 v, int2* iptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5351,7 +5351,7 @@ extern float2 __attribute__((overloadable))frexp(float2 v, int2 *iptr); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))frexp(float3 v, int3 *iptr); +extern float3 __attribute__((overloadable))frexp(float3 v, int3* iptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5362,7 +5362,7 @@ extern float3 __attribute__((overloadable))frexp(float3 v, int3 *iptr); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))frexp(float4 v, int4 *iptr); +extern float4 __attribute__((overloadable))frexp(float4 v, int4* iptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 17)) @@ -5707,7 +5707,7 @@ extern float4 __attribute__((const, overloadable))lgamma(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))lgamma(float x, int *y); +extern float __attribute__((overloadable))lgamma(float x, int* y); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5716,7 +5716,7 @@ extern float __attribute__((overloadable))lgamma(float x, int *y); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))lgamma(float2 x, int2 *y); +extern float2 __attribute__((overloadable))lgamma(float2 x, int2* y); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5725,7 +5725,7 @@ extern float2 __attribute__((overloadable))lgamma(float2 x, int2 *y); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))lgamma(float3 x, int3 *y); +extern float3 __attribute__((overloadable))lgamma(float3 x, int3* y); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -5734,7 +5734,7 @@ extern float3 __attribute__((overloadable))lgamma(float3 x, int3 *y); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))lgamma(float4 x, int4 *y); +extern float4 __attribute__((overloadable))lgamma(float4 x, int4* y); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -7346,7 +7346,7 @@ extern float4 __attribute__((const, overloadable))mix(float4 start, float4 stop, * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))modf(float x, float *iret); +extern float __attribute__((overloadable))modf(float x, float* iret); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -7359,7 +7359,7 @@ extern float __attribute__((overloadable))modf(float x, float *iret); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))modf(float2 x, float2 *iret); +extern float2 __attribute__((overloadable))modf(float2 x, float2* iret); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -7372,7 +7372,7 @@ extern float2 __attribute__((overloadable))modf(float2 x, float2 *iret); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))modf(float3 x, float3 *iret); +extern float3 __attribute__((overloadable))modf(float3 x, float3* iret); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -7385,7 +7385,7 @@ extern float3 __attribute__((overloadable))modf(float3 x, float3 *iret); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))modf(float4 x, float4 *iret); +extern float4 __attribute__((overloadable))modf(float4 x, float4* iret); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -7640,6 +7640,8 @@ extern float4 __attribute__((const, overloadable))native_log2(float4 v); #if (defined(RS_VERSION) && (RS_VERSION >= 18)) /* * Fast approximate v ^ y + * v must be between 0.f and 256.f + * y must be between -15.f and 15.f * * Supported by API versions 18 and newer. */ @@ -7649,6 +7651,8 @@ extern float __attribute__((const, overloadable))native_powr(float v, float y); #if (defined(RS_VERSION) && (RS_VERSION >= 18)) /* * Fast approximate v ^ y + * v must be between 0.f and 256.f + * y must be between -15.f and 15.f * * Supported by API versions 18 and newer. */ @@ -7658,6 +7662,8 @@ extern float2 __attribute__((const, overloadable))native_powr(float2 v, float2 y #if (defined(RS_VERSION) && (RS_VERSION >= 18)) /* * Fast approximate v ^ y + * v must be between 0.f and 256.f + * y must be between -15.f and 15.f * * Supported by API versions 18 and newer. */ @@ -7667,6 +7673,8 @@ extern float3 __attribute__((const, overloadable))native_powr(float3 v, float3 y #if (defined(RS_VERSION) && (RS_VERSION >= 18)) /* * Fast approximate v ^ y + * v must be between 0.f and 256.f + * y must be between -15.f and 15.f * * Supported by API versions 18 and newer. */ @@ -7820,7 +7828,7 @@ extern float4 __attribute__((const, overloadable))pown(float4 x, int4 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* * Return x ^ y. - * y must be > 0 + * x must be >= 0 * * Supported by API versions 9 and newer. */ @@ -7830,7 +7838,7 @@ extern float __attribute__((const, overloadable))powr(float x, float y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* * Return x ^ y. - * y must be > 0 + * x must be >= 0 * * Supported by API versions 9 and newer. */ @@ -7840,7 +7848,7 @@ extern float2 __attribute__((const, overloadable))powr(float2 x, float2 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* * Return x ^ y. - * y must be > 0 + * x must be >= 0 * * Supported by API versions 9 and newer. */ @@ -7850,7 +7858,7 @@ extern float3 __attribute__((const, overloadable))powr(float3 x, float3 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* * Return x ^ y. - * y must be > 0 + * x must be >= 0 * * Supported by API versions 9 and newer. */ @@ -7895,7 +7903,7 @@ extern float4 __attribute__((const, overloadable))radians(float4 value); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * Return round x/y to the nearest integer then compute the remander. + * Return round x/y to the nearest integer then compute the remainder. * * Supported by API versions 9 and newer. */ @@ -7904,7 +7912,7 @@ extern float __attribute__((const, overloadable))remainder(float x, float y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * Return round x/y to the nearest integer then compute the remander. + * Return round x/y to the nearest integer then compute the remainder. * * Supported by API versions 9 and newer. */ @@ -7913,7 +7921,7 @@ extern float2 __attribute__((const, overloadable))remainder(float2 x, float2 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * Return round x/y to the nearest integer then compute the remander. + * Return round x/y to the nearest integer then compute the remainder. * * Supported by API versions 9 and newer. */ @@ -7922,7 +7930,7 @@ extern float3 __attribute__((const, overloadable))remainder(float3 x, float3 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * Return round x/y to the nearest integer then compute the remander. + * Return round x/y to the nearest integer then compute the remainder. * * Supported by API versions 9 and newer. */ @@ -7931,38 +7939,38 @@ extern float4 __attribute__((const, overloadable))remainder(float4 x, float4 y); #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * todo + * Return the quotient and the remainder of b/c * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))remquo(float b, float c, int *d); +extern float __attribute__((overloadable))remquo(float b, float c, int* d); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * todo + * Return the quotient and the remainder of b/c * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))remquo(float2 b, float2 c, int2 *d); +extern float2 __attribute__((overloadable))remquo(float2 b, float2 c, int2* d); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * todo + * Return the quotient and the remainder of b/c * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))remquo(float3 b, float3 c, int3 *d); +extern float3 __attribute__((overloadable))remquo(float3 b, float3 c, int3* d); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) /* - * todo + * Return the quotient and the remainder of b/c * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))remquo(float4 b, float4 c, int4 *d); +extern float4 __attribute__((overloadable))remquo(float4 b, float4 c, int4* d); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -8207,7 +8215,7 @@ extern float4 __attribute__((const, overloadable))sin(float4); * * Supported by API versions 9 and newer. */ -extern float __attribute__((overloadable))sincos(float v, float *cosptr); +extern float __attribute__((overloadable))sincos(float v, float* cosptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -8220,7 +8228,7 @@ extern float __attribute__((overloadable))sincos(float v, float *cosptr); * * Supported by API versions 9 and newer. */ -extern float2 __attribute__((overloadable))sincos(float2 v, float2 *cosptr); +extern float2 __attribute__((overloadable))sincos(float2 v, float2* cosptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -8233,7 +8241,7 @@ extern float2 __attribute__((overloadable))sincos(float2 v, float2 *cosptr); * * Supported by API versions 9 and newer. */ -extern float3 __attribute__((overloadable))sincos(float3 v, float3 *cosptr); +extern float3 __attribute__((overloadable))sincos(float3 v, float3* cosptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) @@ -8246,7 +8254,7 @@ extern float3 __attribute__((overloadable))sincos(float3 v, float3 *cosptr); * * Supported by API versions 9 and newer. */ -extern float4 __attribute__((overloadable))sincos(float4 v, float4 *cosptr); +extern float4 __attribute__((overloadable))sincos(float4 v, float4* cosptr); #endif #if (defined(RS_VERSION) && (RS_VERSION >= 9)) diff --git a/renderscript/lib/arm/libRSSupport.so b/renderscript/lib/arm/libRSSupport.so Binary files differindex 787cd2f..b8de966 100755 --- a/renderscript/lib/arm/libRSSupport.so +++ b/renderscript/lib/arm/libRSSupport.so diff --git a/renderscript/lib/arm/libc.so b/renderscript/lib/arm/libc.so Binary files differindex 20c5a4a..9df26fd 100755 --- a/renderscript/lib/arm/libc.so +++ b/renderscript/lib/arm/libc.so diff --git a/renderscript/lib/arm/libclcore.bc b/renderscript/lib/arm/libclcore.bc Binary files differindex 7ac2f3f..30740e1 100644 --- a/renderscript/lib/arm/libclcore.bc +++ b/renderscript/lib/arm/libclcore.bc diff --git a/renderscript/lib/arm/libm.so b/renderscript/lib/arm/libm.so Binary files differindex 91e5c14..77386b4 100755 --- a/renderscript/lib/arm/libm.so +++ b/renderscript/lib/arm/libm.so diff --git a/renderscript/lib/arm/librsjni.so b/renderscript/lib/arm/librsjni.so Binary files differindex e3cbd86..dc79a4a 100755 --- a/renderscript/lib/arm/librsjni.so +++ b/renderscript/lib/arm/librsjni.so diff --git a/renderscript/lib/arm/librsrt_arm.bc b/renderscript/lib/arm/librsrt_arm.bc Binary files differindex 7ac2f3f..30740e1 100644 --- a/renderscript/lib/arm/librsrt_arm.bc +++ b/renderscript/lib/arm/librsrt_arm.bc diff --git a/renderscript/lib/javalib.jar b/renderscript/lib/javalib.jar Binary files differindex c8b1446..0c3647e 100644 --- a/renderscript/lib/javalib.jar +++ b/renderscript/lib/javalib.jar diff --git a/renderscript/lib/x86/libRSSupport.so b/renderscript/lib/x86/libRSSupport.so Binary files differindex cf868a7..3b7a176 100755 --- a/renderscript/lib/x86/libRSSupport.so +++ b/renderscript/lib/x86/libRSSupport.so diff --git a/renderscript/lib/x86/libc.so b/renderscript/lib/x86/libc.so Binary files differindex 051cd3b..ace3b61 100755 --- a/renderscript/lib/x86/libc.so +++ b/renderscript/lib/x86/libc.so diff --git a/renderscript/lib/x86/libclcore.bc b/renderscript/lib/x86/libclcore.bc Binary files differindex a2ecd96..dbdfa1c 100644 --- a/renderscript/lib/x86/libclcore.bc +++ b/renderscript/lib/x86/libclcore.bc diff --git a/renderscript/lib/x86/libm.so b/renderscript/lib/x86/libm.so Binary files differindex 7e1714f..bfe9757 100755 --- a/renderscript/lib/x86/libm.so +++ b/renderscript/lib/x86/libm.so diff --git a/renderscript/lib/x86/librsjni.so b/renderscript/lib/x86/librsjni.so Binary files differindex aaf9b0d..5491284 100755 --- a/renderscript/lib/x86/librsjni.so +++ b/renderscript/lib/x86/librsjni.so diff --git a/renderscript/lib/x86/librsrt_x86.bc b/renderscript/lib/x86/librsrt_x86.bc Binary files differindex 2791542..d36576d 100644 --- a/renderscript/lib/x86/librsrt_x86.bc +++ b/renderscript/lib/x86/librsrt_x86.bc |