common.bmx 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. ' Copyright (c) 2022 Bruce A Henderson
  2. ' Copyright (c) 2007- Blitz Research Ltd
  3. '
  4. ' This software is provided 'as-is', without any express or implied
  5. ' warranty. In no event will the authors be held liable for any damages
  6. ' arising from the use of this software.
  7. '
  8. ' Permission is granted to anyone to use this software for any purpose,
  9. ' including commercial applications, and to alter it and redistribute it
  10. ' freely, subject to the following restrictions:
  11. '
  12. ' 1. The origin of this software must not be misrepresented; you must not
  13. ' claim that you wrote the original software. If you use this software
  14. ' in a product, an acknowledgment in the product documentation would be
  15. ' appreciated but is not required.
  16. '
  17. ' 2. Altered source versions must be plainly marked as such, and must not be
  18. ' misrepresented as being the original software.
  19. '
  20. ' 3. This notice may not be removed or altered from any source
  21. ' distribution.
  22. '
  23. SuperStrict
  24. Import "libjpeg/*.h"
  25. Import "libjpeg/jcapimin.c"
  26. Import "libjpeg/jcapistd.c"
  27. Import "libjpeg/jccoefct.c"
  28. Import "libjpeg/jccolor.c"
  29. Import "libjpeg/jcdctmgr.c"
  30. Import "libjpeg/jchuff.c"
  31. Import "libjpeg/jcinit.c"
  32. Import "libjpeg/jcmainct.c"
  33. Import "libjpeg/jcmarker.c"
  34. Import "libjpeg/jcmaster.c"
  35. Import "libjpeg/jcomapi.c"
  36. Import "libjpeg/jcparam.c"
  37. Import "libjpeg/jcphuff.c"
  38. Import "libjpeg/jcprepct.c"
  39. Import "libjpeg/jcsample.c"
  40. Import "libjpeg/jctrans.c"
  41. Import "libjpeg/jdapimin.c"
  42. Import "libjpeg/jdapistd.c"
  43. Import "libjpeg/jdatadst.c"
  44. Import "libjpeg/jdatasrc.c"
  45. Import "libjpeg/jdcoefct.c"
  46. Import "libjpeg/jdcolor.c"
  47. Import "libjpeg/jddctmgr.c"
  48. Import "libjpeg/jdhuff.c"
  49. Import "libjpeg/jdinput.c"
  50. Import "libjpeg/jdmainct.c"
  51. Import "libjpeg/jdmarker.c"
  52. Import "libjpeg/jdmaster.c"
  53. Import "libjpeg/jdmerge.c"
  54. Import "libjpeg/jdphuff.c"
  55. Import "libjpeg/jdpostct.c"
  56. Import "libjpeg/jdsample.c"
  57. Import "libjpeg/jdtrans.c"
  58. Import "libjpeg/jerror.c"
  59. Import "libjpeg/jfdctflt.c"
  60. Import "libjpeg/jfdctfst.c"
  61. Import "libjpeg/jfdctint.c"
  62. Import "libjpeg/jidctflt.c"
  63. Import "libjpeg/jidctfst.c"
  64. Import "libjpeg/jidctint.c"
  65. Import "libjpeg/jidctred.c"
  66. Import "libjpeg/jmemmgr.c"
  67. Import "libjpeg/jmemnobs.c"
  68. Import "libjpeg/jquant1.c"
  69. Import "libjpeg/jquant2.c"
  70. Import "libjpeg/jutils.c"
  71. Import "libjpeg/loadjpeg.c"
  72. Extern
  73. Function loadjpg:Int(stream:Object,readfunc:Byte Ptr,width:Int Var,height:Int Var,depth:Int Var,pix:Byte Ptr Var)="int loadjpg(void *,void *,int *,int *,int *,char **)"
  74. Function savejpg:Int(stream:Object,writefunc:Byte Ptr,width:Int,height:Int,pitch:Int,pix:Byte Ptr,quality:Int)="int savejpg(void *,void *,int ,int ,int ,char *,int)"
  75. End Extern