search for: __int16

Displaying 14 results from an estimated 14 matches for "__int16".

2012 Feb 09
2
[PATCH] Remove even more CPP hackery
...h integers (int8_t, uint8_t, int16_t etc). Erik I would recommend including with the distribution a file for windows developers to use. It's fairly simple /* since windows doesn't have stdint.h */ typedef unsigned __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef unsigned __int16 uint16_t; typedef unsigned __int8 uint8_t; typedef __int64 int64_t; typedef __int32 int32_t; typedef __int16 int16_t; typedef __int8 int8_t; #if defined(_M_IX64) typedef unsigned __int128 uint128_t; typedef __int128 int128_t; #endif
2009 Jan 08
1
[LLVMdev] Integer typedefs for MSVC
...ed __int64 uint64_t; typedef signed int int32_t; typedef unsigned int uint32_t; typedef short int16_t; typedef unsigned short uint16_t; typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed int ssize_t; #endif it would be preferable to use these: typedef __int8 int8_t; typedef __int16 int16_t; typedef __int32 int32_t; typedef __int64 int64_t; typedef unsigned __int8 uint8_t; typedef unsigned __int16 uint16_t; typedef unsigned __int32 uint32_t; typedef unsigned __int64 uint64_t; Does anyone feel strongly about this? - Mark Leone -------------- next part -------------- An HTML a...
2012 Feb 09
1
[PATCH] Remove even more CPP hackery
...would recommend including with the distribution a file for >> windows developers to use. It's fairly simple >> >> >> /* since windows doesn't have stdint.h */ typedef unsigned >> __int64 uint64_t; typedef unsigned __int32 uint32_t; typedef >> unsigned __int16 uint16_t; typedef unsigned __int8 uint8_t; >> typedef __int64 int64_t; typedef __int32 int32_t; typedef __int16 >> int16_t; typedef __int8 int8_t; #if defined(_M_IX64) typedef >> unsigned __int128 uint128_t; typedef __int128 int128_t; #endif > > Also, I agree with the con...
2005 Oct 17
2
speex_encode_int() - pls help..
...s I'm eventually porting to ARM processor but I encountered a problem with speex_encode_int(), which I used in place of speex_encode(). I gave it a short instead of a float (manual says it takes a short for the audio - 2nd parameter) but the compiler says it could not convert the short [160] to __int16? same error if I feed it a float (which I know I'm not supposed to do anyway). Any ideas what could be wrong? Thank you very much, Monica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20051017/1ee0a9ea/att...
2002 Dec 10
2
mingw compiling problem for libogg
...mingw... i have attached a patch that will fix this problem (i hope it attaches correctly) thx, Nehal --- os_types.h.old Fri Jul 19 02:25:52 2002 +++ os_types.h Tue Dec 10 14:15:44 2002 @@ -32,6 +32,13 @@ typedef __int32 ogg_int32_t; typedef unsigned __int32 ogg_uint32_t; typedef __int16 ogg_int16_t; +# elif defined(__MINGW32_VERSION) + /* Mingw */ +# include <stdint.h> + typedef int64_t ogg_int64_t; + typedef int32_t ogg_int32_t; + typedef uint32_t ogg_uint32_t; + typedef int16_t ogg_int16_t; # else /* Cygwin */ #include <_G_config.h> --- >8 -...
2008 Jan 07
2
Problem related to Voice activity detection
...t through these steps. 1. Captured voice through Waveform Functions of Windows Multimedia API 2. Started Speex Preprocessing liberary 3. Turned on preprocessor by calling speex_preprocess_state_init and passing it 20 ms frame size and sampling rate 4. Set VAD on 5. Copied byte data into __int16 variables and passed it to speex_preprocess_run function. in return of these steps i got wrong date back to me. could you please send me the sample code or could you identify the problem? i'll be thankful regards --------------------------------- Be a better friend, newshound, a...
2012 Feb 09
0
[PATCH] Remove even more CPP hackery
...Erik > > I would recommend including with the distribution a file for windows > developers to use. It's fairly simple > > > /* since windows doesn't have stdint.h */ > typedef unsigned __int64 uint64_t; > typedef unsigned __int32 uint32_t; > typedef unsigned __int16 uint16_t; > typedef unsigned __int8 uint8_t; > typedef __int64 int64_t; > typedef __int32 int32_t; > typedef __int16 int16_t; > typedef __int8 int8_t; > #if defined(_M_IX64) > typedef unsigned __int128 uint128_t; > typedef __int128 int128_t; > #endif Also, I agre...
2005 Dec 12
0
Real time in ARM - please help
...after sampleenc and I haven't tried using Ogg.. my source code is attached below in case anyone's interested. I wonder what I'm doing wrong.. Appreciate any help, thanks a lot. Mon int PCMToSpx (BSTR FileOpen, BSTR FileSave, bool VAD, short BitRateChoice) { __int8 Speex [6]; __int16 SamplingRate = 8000; __int8 BitsPerSampleX8 = 2 /* ie 2*8=16-bit */, NumBytes /*aka nBytes or nbBytes */; FILE *fin, *fout; void *state; int FrameSize, NumFrames = 0; int BitRate, temp; __int16 in [MaxFrameSize]; __int8 cbits [MaxFrameBytes]; SpeexBits bits; // ***...
2015 Jun 03
5
[PATCH 1/1] Updated opus_types.h to correctly support 8 and 64 bit types.
...int opus_uint32; + typedef long long opus_int64; + typedef unsigned long long opus_uint64; # else /* MSVC/Borland */ - typedef __int32 opus_int32; - typedef unsigned __int32 opus_uint32; + typedef __int8 opus_int8; + typedef unsigned __int8 opus_uint8; typedef __int16 opus_int16; typedef unsigned __int16 opus_uint16; + 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> + typede...
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
...ig.h> +#endif + +#if !(defined(_MSC_VER) || defined(__BORLANDC__)) #include <inttypes.h> #endif +#if HAVE_STDINT_H +#include <stdint.h> +#endif + typedef signed char FLAC__int8; typedef unsigned char FLAC__uint8; @@ -46,13 +54,6 @@ typedef __int64 FLAC__int64; typedef unsigned __int16 FLAC__uint16; typedef unsigned __int32 FLAC__uint32; typedef unsigned __int64 FLAC__uint64; -#elif defined(__EMX__) -typedef short FLAC__int16; -typedef long FLAC__int32; -typedef long long FLAC__int64; -typedef unsigned short FLAC__uint16; -typedef unsigned long FLAC__uint32; -typedef unsigned l...
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
I want to compile ogg and vorbis(version 1.01) under mingw. In the console i typed ./configure make but there is a lot of error while making. here is the errors $ ./configure checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific
2012 Jun 23
9
[PATCH 0/5] btrfs: lz4/lz4hc compression
WARNING: This is not compatible with the previous lz4 patchset. If you''re using experimental compression that isn''t in mainline kernels, be prepared to backup and restore or decompress before upgrading, and have backups in case it eats data (which appears not to be a problem any more, but has been during development). These patches add lz4 and lz4hc compression
2005 May 25
3
Speex on TI C6x, Problem with TI C5x Patch
...typedef int spx_int32_t; typedef unsigned int spx_uint32_t; typedef short spx_int16_t; typedef unsigned short spx_uint16_t; # 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(__M...
2012 Feb 13
10
[RFB] add LZ4 compression method to btrfs
Hi, so here it is, LZ4 compression method inside btrfs. The patchset is based on top of current Chris'' for-linus + Andi''s snappy implementation + the fixes from Li Zefan. Passes xfstests and stresstests. I haven''t measured performance on wide range of hardware or workloads, rather wanted to publish the patches before I get distracted again. I''d like to ask