Displaying 6 results from an estimated 6 matches for "_byteswap_ushort".
2014 Mar 08
2
16 bits FLAC file data to 32 bit float buffer for CPU processing
...35.0f;
//FloatFLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress + i ] = ( float ( ( FLAC__int16 ) buffer [ 0 ] [ i ] ) / 65535.0f - 0.5f ) * 2.0f;
//FloatFLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress + i ] = ( float ( _byteswap_ushort ( ( FLAC__int16 ) buffer [ 0 ] [ i ] ) ) / 65535.0f - 0.5f ) * 2.0f;
//FloatFLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress + i ] = ( float ( WORDChannelDataBuffer [ i ] ) / 65535.0f - 0.5f ) * 2.0f;
//FloatFLACDecodingData.LOut [ FloatFLACDecodingDat...
2014 Mar 08
0
16 bits FLAC file data to 32 bit float buffer for CPU processing
...FLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress +
> i ] = ( float ( ( FLAC__int16 ) buffer [ 0 ] [ i ]
> ) / 65535.0f - 0.5f ) * 2.0f;
> //FloatFLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress +
> i ] = ( float ( _byteswap_ushort ( ( FLAC__int16 )
> buffer [ 0 ] [ i ] ) ) / 65535.0f - 0.5f ) * 2.0f;
>
> //FloatFLACDecodingData.LOut [ FloatFLACDecodingData.WriteAddress +
> i ] = ( float ( WORDChannelDataBuffer [ i ] ) /
> 65535.0f - 0.5f ) * 2.0f;
> //FloatFLACDecodingDat...
2011 Feb 28
1
[LLVMdev] [cfe-dev] [PATCH] Windows improvements
...h:
>
> Fix Windows python issue where open temporary files cannot be opened again.
> Needed for clang-c++tests.
Looks good to me. Daniel, would it be enough?
> clang-missing-builtins.patch:
> llvm-interrupt-builtin.patch:
>
> Add builtins needed to implement __debugbreak and _byteswap_ushort from
> intrin.h. Before implementing everything else needed for intrin.h I need to
> know if this is the correct way?
I have no idea, excuse me. :(
> clang-msvc10-fix-mm_malloc-error.patch:
>
> mm_malloc is implemented in Visual Studio 2010, this fixes the compile error
> resul...
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
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
2019 Jan 14
6
[PATCH nbdkit incomplete 0/5] Port to Windows.
This is an incomplete port to Windows. Currently the server compiles
and starts up successfully, but goes into an infinite loop when you
connect to it. Nevertheless I think the approach is ready for
feedback. This being Windows the changes go quite deep.
Rich.