search for: sint16

Displaying 6 results from an estimated 6 matches for "sint16".

Did you mean: uint16
2013 Nov 25
2
[LLVMdev] How do downcast signed integers?
I was looking at "trunc" to downcast a signed integer, say sint32 to sint16, but it seems to handle unsigned integers only. How do you downcast a signed integer? P.S. This question is for my "Mapping High-Level Constructs to LLVM IR" document :-) -- Mikael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.or...
2013 Nov 25
0
[LLVMdev] How do downcast signed integers?
Hello > I was looking at "trunc" to downcast a signed integer, say sint32 to sint16, > but it seems to handle unsigned integers only. No. In twos-complement notation (which LLVM assumes) there no difference between signed and unsigned truncation - you just throw out the spare sign bits and that's all. Please note that that the "numbers" in LLVM IR is neither sign...
2000 Oct 05
4
Macintosh support (again)
...evision 1.3 diff -u -2 -r1.3 os_types.h.in --- vorbis/include/vorbis/os_types.h.in 2000/08/30 07:09:46 1.3 +++ vorbis/include/vorbis/os_types.h.in 2000/10/05 20:35:38 @@ -37,4 +37,14 @@ typedef _G_int16_t ogg_int16_t; #endif + +#elif defined(macintosh) + +#include <sys/types.h> + +typedef SInt16 ogg_int16_t; +typedef SInt32 ogg_int32_t; +typedef UInt32 ogg_uint32_t; +typedef SInt64 ogg_int64_t; + #else --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.o...
2000 Sep 11
4
longs
Please change all longs to int, and never use them in the future :) They arent needed as on most platforms they are the same size. (which is the assumption made in the ogg code anyway) The reason for this is i will have vorbis support on playstation 2, but long is 64 bits, and they are excruciatingly slow. cheers Brett Paterson --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg
2015 Jun 03
5
[PATCH 1/1] Updated opus_types.h to correctly support 8 and 64 bit types.
...typedef __int32 opus_int32; + typedef unsigned __int32 opus_uint32; + typedef __int64 opus_int64; + typedef unsigned __int64 opus_uint64; # endif #elif defined(__MACOS__) # include <sys/types.h> + typedef SInt8 opus_int8; + typedef UInt8 opus_uint8; typedef SInt16 opus_int16; typedef UInt16 opus_uint16; typedef SInt32 opus_int32; typedef UInt32 opus_uint32; + typedef SInt64 opus_int64; + typedef UInt64 opus_uint64; #elif (defined(__APPLE__) && defined(__MACH__)) /* MacOS X Framework build */ -# include <sys/types.h> +# in...
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...# else /* MSVC/Borland */ typedef __int64 spx_int64_t; typedef __int32 spx_int32_t; typedef unsigned __int32 spx_uint32_t; typedef __int16 spx_int16_t; typedef unsigned __int16 spx_uint16_t; # endif #elif defined(__MACOS__) # include <sys/types.h> typedef SInt16 spx_int16_t; typedef UInt16 spx_uint16_t; typedef SInt32 spx_int32_t; typedef UInt32 spx_uint32_t; typedef SInt64 spx_int64_t; #elif defined(__MACOSX__) /* MacOS X Framework build */ # include <sys/types.h> typedef int16_t spx_int16_t; typedef u_int16_t spx_uint16_t; t...