![]() |
![]() |
00001 /* ======================================================================= */ 00002 /* DSPF_sp_urand.h -- Optimized C source interface header file */ 00003 /* */ 00004 /* Rev 0.0.1 */ 00005 /* */ 00006 /* Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima */ 00007 /* University and The University of Tokyo. All rights reserved. */ 00008 /* */ 00009 /* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ */ 00010 /* */ 00011 /* */ 00012 /* Redistribution and use in source and binary forms, with or without */ 00013 /* modification, are permitted provided that the following conditions */ 00014 /* are met: */ 00015 /* */ 00016 /* Redistributions of source code must retain the above copyright */ 00017 /* notice, this list of conditions and the following disclaimer. */ 00018 /* */ 00019 /* Redistributions in binary form must reproduce the above copyright */ 00020 /* notice, this list of conditions and the following disclaimer in the */ 00021 /* documentation and/or other materials provided with the */ 00022 /* distribution. */ 00023 /* */ 00024 /* Neither the name of Texas Instruments Incorporated nor the names of */ 00025 /* its contributors may be used to endorse or promote products derived */ 00026 /* from this software without specific prior written permission. */ 00027 /* */ 00028 /* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS */ 00029 /* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT */ 00030 /* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR */ 00031 /* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */ 00032 /* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */ 00033 /* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT */ 00034 /* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, */ 00035 /* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY */ 00036 /* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT */ 00037 /* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE */ 00038 /* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ 00039 /* */ 00040 /* ======================================================================= */ 00041 00042 #ifndef DSPF_SP_URAND_H_ 00043 #define DSPF_SP_URAND_H_ 00044 00045 #ifndef __TI_COMPILER_VERSION__ // for non TI compiler 00046 #include "assert.h" // intrinsics prototypes 00047 #include "C6xSimulator.h" // intrinsics prototypes 00048 #include "C6xSimulator_type_modifiers.h" // define/undefine typing keywords 00049 #endif 00050 00051 #include "..\..\DSP_urand32\c66\DSP_urand32.h" 00052 00053 00055 /* @{ */ 00056 00059 /* @{ */ 00060 00091 void DSPF_sp_urand(unsigned int size, /*The size of the array to be filled*/ 00092 float* vector, /*Pointer to the destination vector*/ 00093 void* state); /*State vector maintained by user*/ 00094 00095 /* }@ */ /* ingroup */ 00096 /* }@ */ /* ingroup */ 00097 00098 #endif /* DSPF_SP_URAND_H_ */ 00099 00100 /* ======================================================================== */ 00101 /* End of file: DSPF_sp_urand.h */ 00102 /* ------------------------------------------------------------------------ */ 00103 /* Copyright (c) 2013 Texas Instruments, Incorporated. */ 00104 /* All Rights Reserved. */ 00105 /* ======================================================================== */