typedef.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. /**********************************************************************
  2. Each of the companies; Lucent, Motorola, Nokia, and Qualcomm (hereinafter
  3. referred to individually as "Source" or collectively as "Sources") do
  4. hereby state:
  5. To the extent to which the Source(s) may legally and freely do so, the
  6. Source(s), upon submission of a Contribution, grant(s) a free,
  7. irrevocable, non-exclusive, license to the Third Generation Partnership
  8. Project 2 (3GPP2) and its Organizational Partners: ARIB, CCSA, TIA, TTA,
  9. and TTC, under the Source's copyright or copyright license rights in the
  10. Contribution, to, in whole or in part, copy, make derivative works,
  11. perform, display and distribute the Contribution and derivative works
  12. thereof consistent with 3GPP2's and each Organizational Partner's
  13. policies and procedures, with the right to (i) sublicense the foregoing
  14. rights consistent with 3GPP2's and each Organizational Partner's policies
  15. and procedures and (ii) copyright and sell, if applicable) in 3GPP2's name
  16. or each Organizational Partner's name any 3GPP2 or transposed Publication
  17. even though this Publication may contain the Contribution or a derivative
  18. work thereof. The Contribution shall disclose any known limitations on
  19. the Source's rights to license as herein provided.
  20. When a Contribution is submitted by the Source(s) to assist the
  21. formulating groups of 3GPP2 or any of its Organizational Partners, it
  22. is proposed to the Committee as a basis for discussion and is not to
  23. be construed as a binding proposal on the Source(s). The Source(s)
  24. specifically reserve(s) the right to amend or modify the material
  25. contained in the Contribution. Nothing contained in the Contribution
  26. shall, except as herein expressly provided, be construed as conferring
  27. by implication, estoppel or otherwise, any license or right under (i)
  28. any existing or later issuing patent, whether or not the use of
  29. information in the document necessarily employs an invention of any
  30. existing or later issued patent, (ii) any copyright, (iii) any
  31. trademark, or (iv) any other intellectual property right.
  32. With respect to the Software necessary for the practice of any or
  33. all Normative portions of the Enhanced Variable Rate Codec (EVRC) as
  34. it exists on the date of submittal of this form, should the EVRC be
  35. approved as a Specification or Report by 3GPP2, or as a transposed
  36. Standard by any of the 3GPP2's Organizational Partners, the Source(s)
  37. state(s) that a worldwide license to reproduce, use and distribute the
  38. Software, the license rights to which are held by the Source(s), will
  39. be made available to applicants under terms and conditions that are
  40. reasonable and non-discriminatory, which may include monetary compensation,
  41. and only to the extent necessary for the practice of any or all of the
  42. Normative portions of the EVRC or the field of use of practice of the
  43. EVRC Specification, Report, or Standard. The statement contained above
  44. is irrevocable and shall be binding upon the Source(s). In the event
  45. the rights of the Source(s) in and to copyright or copyright license
  46. rights subject to such commitment are assigned or transferred, the
  47. Source(s) shall notify the assignee or transferee of the existence of
  48. such commitments.
  49. *******************************************************************/
  50. /*============================================================================*/
  51. /*===================================================================*/
  52. /* */
  53. /* Conexant Systems, Inc., Qualcomm Inc., Nokia Inc,. Nortel */
  54. /* Networks, Lucent Technologies, and Motorola Inc. grants a free, */
  55. /* irrevocable license to 3GPP2 and its Organizational Partners to */
  56. /* incorporate text or other copyrightable material contained in the */
  57. /* contribution and any modifications thereof in the creation of */
  58. /* 3GPP2 publications; to copyright and sell in Organizational */
  59. /* Partner's name any Organizational Partner's standards publication */
  60. /* even though it may include portions of the contribution; and at */
  61. /* the Organizational Partner's sole discretion to permit others to */
  62. /* reproduce in whole or in part such contributions or the resulting */
  63. /* Organizational Partner's standards publication. The contributor */
  64. /* must also be willing to grant licenses under such contributor */
  65. /* copyrights to third parties on reasonable, non-discriminatory */
  66. /* terms and conditions, as appropriate. */
  67. /* */
  68. /*-------------------------------------------------------------------*/
  69. /* */
  70. /* Copyright 2001 Conexant Systems, Inc. This document is provided */
  71. /* as a discussion instrument only and is not binding on Conexant */
  72. /* Systems, Inc. The contributor reserves the right to add to, amend */
  73. /* or otherwise modify the contents thereof. */
  74. /* */
  75. /* Conexant Systems, Inc. grants a free, irrevocable license to 3GPP2*/
  76. /* and its Organization Partners to incorporate, for any legitimate */
  77. /* 3GPP2 purpose, any copyrightable material contained in this */
  78. /* contribution and any revisions thereof, in publications of 3GPP2. */
  79. /* The contributor may hold one or more patents or applications for */
  80. /* letters patent that cover the information contained in this */
  81. /* contribution. Noting contained in this copyright statement shall */
  82. /* be construed as conferring by implication or estoppel, or */
  83. /* otherwise a license or any other right under any existing or */
  84. /* later issuing patent, whether or not the use of information */
  85. /* herein necessarily employs an invention of any such patent or */
  86. /* later issuing patent. */
  87. /* */
  88. /*-------------------------------------------------------------------*/
  89. /* */
  90. /* Copyright QUALCOMM Incorporated. All rights reserved. */
  91. /* The information contained in this contribution is provided for */
  92. /* the sole purpose of promoting discussion within the 3GPP2 and its */
  93. /* Organization Partners and is not binding on the contributor. */
  94. /* The contributor reserves the right to add to, amend, or withdraw */
  95. /* the statements contained herein. */
  96. /* QUALCOMM Incorporated grants a free, irrevocable license to 3GPP2 */
  97. /* and its Organization Partners to incorporate text or other */
  98. /* copyrightable material contained in the contribution and any */
  99. /* modifications thereof in the creation of 3GPP2 publications; */
  100. /* to copyright and sell in Organizational Partner's name any */
  101. /* Organizational Partner's standards publication even though it may */
  102. /* include portions of the contribution; and at the Organization */
  103. /* Partner's sole discretion to permit others to reproduce in whole */
  104. /* or in part such contributions or the resulting Organizational */
  105. /* Partner's standards publication. The contributor may hold one or */
  106. /* more patents or copyrights that cover information contained in */
  107. /* this contribution. A license will be made available to applicants */
  108. /* under reasonable terms and conditions that are demonstrably free */
  109. /* of any unfair discrimination. */
  110. /* Nothing contained herein shall be construed as conferring by */
  111. /* implication, estoppel, or otherwise any license or right under */
  112. /* any patent, whether or not the use of information herein */
  113. /* necessarily employs an invention of any existing or later issued */
  114. /* patent, or copyright. The contributor reserves the right to use */
  115. /* all material submitted in this contribution for his own purposes, */
  116. /* including republication and distribution to others. */
  117. /* */
  118. /*-------------------------------------------------------------------*/
  119. /* */
  120. /* The proposals in this submission have been formulated by Nokia, */
  121. /* Inc. (Nokia), to assist the 3GPP2 Standards Committee. This */
  122. /* document is offered to the committee as a basis for discussion */
  123. /* and is not binding on Nokia. The requirements are subject to */
  124. /* change in form and in numerical values after more study. Nokia */
  125. /* specifically reserves the right to add to, or amend, the */
  126. /* quantitative statements made herein. Nothing contained herein */
  127. /* shall be construed as conferring by implication, estoppel, or */
  128. /* otherwise any license or right under any patent, whether or not */
  129. /* the use of information herein necessarily employs an invention of */
  130. /* any existing or later issued patent. */
  131. /* Copyright 2001 Nokia, Inc. All Rights Reserved. Nokia hereby */
  132. /* gives permission for copying this submission for the legitimate */
  133. /* purposes of the 3GPP2 Standards Committee, provided Nokia, Inc. */
  134. /* is credited on all copies. Distribution or reproduction of this */
  135. /* document, by any means, electronic, mechanical, or otherwise, in */
  136. /* its entirety, or any portion thereof, for monetary gain or any */
  137. /* non-3GPP2 purposes is expressly prohibited. */
  138. /* */
  139. /*-------------------------------------------------------------------*/
  140. /* */
  141. /* Nortel Networks grants a free, irrevocable license to 3GPP2 and */
  142. /* its Organizational Partners to incorporate text or other */
  143. /* copyrightable material contained in the contribution and any */
  144. /* modifications thereof in the creation of 3GPP2 publications; to */
  145. /* copyright and sell in Organizational Partner's name any */
  146. /* Organizational Partner's standards publication even though it may */
  147. /* include portions of the contribution; and at the Organizational */
  148. /* Partner's sole discretion to permit others to reproduce in whole */
  149. /* or in part such contributions or the resulting Organizational */
  150. /* Partner's standards publication. The contributor must also be */
  151. /* willing to grant licenses under such contributor copyrights to */
  152. /* third parties on reasonable, non-discriminatory terms and */
  153. /* conditions, as appropriate. */
  154. /* */
  155. /*-------------------------------------------------------------------*/
  156. /* */
  157. /* Notice: */
  158. /* This contribution has been prepared by the contributor to assist */
  159. /* 3GPP2 Technical Specifications Group C. This document is offered */
  160. /* to 3GPP2 Technical Specifications Group C as a basis for */
  161. /* discussion and should not be construed as a binding proposal on */
  162. /* Lucent Technologies Inc. or any other company. Specifically, */
  163. /* Lucent Technologies Inc. reserves the right to modify, amend, or */
  164. /* withdraw the statements contained herein. */
  165. /* */
  166. /* Permission is granted to 3GPP2 Technical Specifications Group C */
  167. /* participants to copy any portion of this document for legitimate */
  168. /* purposes of 3GPP2 Technical Specifications Group C. Copying for */
  169. /* monetary gain or other non-3GPP2 Technical Specifications Group C */
  170. /* purposes is prohibited. */
  171. /* */
  172. /*-------------------------------------------------------------------*/
  173. /* */
  174. /* Grant of license Motorola Inc. grants a free, irrevocable license */
  175. /* to 3GPP2 and its organizational partners to incorporate Motorola- */
  176. /* supplied text or other copyrightable material contained in the */
  177. /* contribution and any modifications thereof in the creation of */
  178. /* 3GPP2 publications, to copyright and sell in organizational */
  179. /* partners name any organizational partners standards publications */
  180. /* even though it may include portions of the contribution; and at */
  181. /* the organizational partners sole discretion to permit others */
  182. /* to reproduce in whole or in part such contributions or the */
  183. /* resulting organizational partners standards publication. Motorola */
  184. /* is also willing to grant licenses under such Motorola copyrights */
  185. /* to third parties on reasonable, non-discriminatory terms and */
  186. /* conditions, as appropriate. */
  187. /* */
  188. /* Notice: */
  189. /* This document has been prepared by Motorola Inc. to assist the */
  190. /* 3GPP2 standards committee. This document is offered to the */
  191. /* committee as a basis for discussion and should not be considered */
  192. /* as a binding proposal on Motorola Inc. or any other company. */
  193. /* Specifically, Motorola Inc. reserves the right to modify, amend, */
  194. /* or withdraw the statement contained herein. Permission is granted */
  195. /* to 3GPP2 and its organizational partners to copy any portion of */
  196. /* this document for the legitimate purposes of the 3GPP2. Copying */
  197. /* this document for monetary gain or other non-3GPP2 purpose is */
  198. /* prohibited. Motorola Inc. may hold one or more patents of */
  199. /* copyrights that cover information contained in this contribution, */
  200. /* and agrees that a license under those rights will be made */
  201. /* available on reasonable and non-discriminatory terms and */
  202. /* conditions, subject to receiving a reciprocal license in return. */
  203. /* Nothing contained herein shall be construed as conferring by */
  204. /* implication, estoppel, or otherwise any license or right under */
  205. /* any patent, whether or not the use of information herein */
  206. /* necessarily employs an invention of any existing or later issued */
  207. /* patent, or copyright. */
  208. /* */
  209. /* Notice */
  210. /* Permission is granted to 3GPP2 participants to copy any portion of*/
  211. /* this contribution for the legitimate purpose of the 3GPP2. */
  212. /* Copying this contribution for monetary gain or other non-3GPP2 */
  213. /* purpose is prohibited. */
  214. /* */
  215. /*===================================================================*/
  216. /* FILE: typedef.h */
  217. /*-------------------------------------------------------------------*/
  218. /* PURPOSE : Define types */
  219. /*===================================================================*/
  220. #ifndef __EVRCC_TYPEDEF_H__
  221. #define __EVRCC_TYPEDEF_H__
  222. #if defined(__BORLANDC__) || defined (__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__) || defined(__HIGHC__) || defined (__CYGWIN32__)
  223. typedef long int INT64;
  224. typedef long int INT32;
  225. typedef short int INT16;
  226. typedef unsigned long long UINT64;
  227. typedef unsigned int UINT32;
  228. typedef unsigned short UINT16;
  229. typedef short int FLAG;
  230. typedef double FLOAT64;
  231. typedef float FLOAT32;
  232. #elif defined( __sun)
  233. typedef long INT64;
  234. typedef long INT32;
  235. typedef short INT16;
  236. typedef unsigned long long UINT64;
  237. typedef unsigned int UINT32;
  238. typedef unsigned short UINT16;
  239. typedef int FLAG;
  240. typedef double FLOAT64;
  241. typedef float FLOAT32;
  242. #elif defined(__unix__) || defined(__unix)
  243. typedef long long INT64;
  244. typedef int INT32;
  245. typedef short INT16;
  246. typedef unsigned long long UINT64;
  247. typedef unsigned int UINT32;
  248. typedef unsigned short UINT16;
  249. typedef int FLAG;
  250. typedef double FLOAT64;
  251. typedef float FLOAT32;
  252. #elif defined(VMS) || defined(__VMS)
  253. typedef long INT64;
  254. typedef long INT32;
  255. typedef short INT16;
  256. typedef unsigned long long UINT64;
  257. typedef unsigned int UINT32;
  258. typedef unsigned short UINT16;
  259. typedef int FLAG;
  260. typedef double FLOAT64;
  261. typedef float FLOAT32;
  262. #else
  263. #error COMPILER NOT TESTED typedef.h needs to be updated, see readme
  264. #endif
  265. typedef INT16 Word16;
  266. typedef INT16 Word16Rom;
  267. typedef INT32 Word32;
  268. typedef INT32 Word32Rom;
  269. typedef UINT16 UNS_INT16;
  270. typedef FLOAT64 Word40; /* 40 bit accumulator */
  271. typedef INT32 Longword; /* 32 bit "accumulator" (L_*) */
  272. typedef INT16 Shortword; /* 16 bit "register" (sw*) */
  273. typedef INT16 ShortwordRom; /* 16 bit ROM data (sr*) */
  274. typedef INT32 LongwordRom; /* 32 bit ROM data (L_r*) */
  275. /*============================================================================*/
  276. /*------------------------------------- END ----------------------------------*/
  277. /*============================================================================*/
  278. #endif