dllumake
上传用户:dangjiwu
上传日期:2013-07-19
资源大小:42019k
文件大小:8k
源码类别:

Symbian

开发平台:

Visual C++

  1. # ***** BEGIN LICENSE BLOCK *****
  2. # Source last modified: $Id: dllumake,v 1.6.4.1 2004/07/09 02:00:18 hubbe Exp $
  3. # Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
  4. # The contents of this file, and the files included with this file,
  5. # are subject to the current version of the RealNetworks Public
  6. # Source License (the "RPSL") available at
  7. # http://www.helixcommunity.org/content/rpsl unless you have licensed
  8. # the file under the current version of the RealNetworks Community
  9. # Source License (the "RCSL") available at
  10. # http://www.helixcommunity.org/content/rcsl, in which case the RCSL
  11. # will apply. You may also obtain the license terms directly from
  12. # RealNetworks.  You may not use this file except in compliance with
  13. # the RPSL or, if you have a valid RCSL with RealNetworks applicable
  14. # to this file, the RCSL.  Please see the applicable RPSL or RCSL for
  15. # the rights, obligations and limitations governing use of the
  16. # contents of the file.
  17. # Alternatively, the contents of this file may be used under the
  18. # terms of the GNU General Public License Version 2 or later (the
  19. # "GPL") in which case the provisions of the GPL are applicable
  20. # instead of those above. If you wish to allow use of your version of
  21. # this file only under the terms of the GPL, and not to allow others
  22. # to use your version of this file under the terms of either the RPSL
  23. # or RCSL, indicate your decision by deleting the provisions above
  24. # and replace them with the notice and other provisions required by
  25. # the GPL. If you do not delete the provisions above, a recipient may
  26. # use your version of this file under the terms of any one of the
  27. # RPSL, the RCSL or the GPL.
  28. # This file is part of the Helix DNA Technology. RealNetworks is the
  29. # developer of the Original Code and owns the copyrights in the
  30. # portions it created.
  31. # This file, and the files included with this file, is distributed
  32. # and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
  33. # KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
  34. # ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
  35. # OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
  36. # ENJOYMENT OR NON-INFRINGEMENT.
  37. # Technology Compatibility Kit Test Suite(s) Location:
  38. #    http://www.helixcommunity.org/content/tck
  39. # Contributor(s):
  40. # ***** END LICENSE BLOCK *****
  41. UmakefileVersion(2,2)
  42. project.AddIncludes("../../common/include",
  43.                     "pub",
  44.                     ".",
  45.                     "../../common/dbgtool/pub",
  46.                     "../../common/runtime/pub",
  47.                     "../../common/container/pub",
  48.                     "../../common/util/pub",
  49.                     "../include")
  50. project.AddModuleLibraries("common/dbgtool[debuglib]",
  51.                            "common/util[utillib]",
  52.                            "common/system[syslib]",
  53.                            "common/container[contlib]",
  54.                            "common/runtime[runtlib]",
  55.                            "video/vidutil[vidutillib]")
  56. project.AddSources("hxcolor.cpp", "edge.cpp",
  57.                    "env.c", "setpal.c", "setclrs.c",
  58.                    "clip.c", "rgb2rgb.c", "rgb2yuv.c",
  59.                    "yuv2rgb.c", "yuv2yuv.c", "yuvalpha.c");
  60. project.defines.append("_FAT_HXCOLOR")
  61. project.defines.append("_PLUS_HXCOLOR")
  62. project.defines.append("_8_BIT_SUPPORT")
  63. project.defines.append("HXCOLOR_SHRINK")
  64. project.defines.append("HXCOLOR_STRETCH")
  65. project.defines.append("HXCOLOR_STRETCH2X")
  66. project.defines.append("HXCOLOR_STRETCH2XPLUS")
  67. project.defines.append("HXCOLOR_ALLYUV2RGB")
  68. project.ExportFunction("GetHXColorGUID", "UCHAR* pGUID",
  69.                        "common/include", "hxtypes.h")
  70. project.ExportFunction("InitColorConverter", "void")
  71. project.ExportFunction("GetColorAdjustments",
  72.                        "float* Brightness, float* Contrast, " 
  73.                        "float* Saturation, float* Hue")
  74. project.ExportFunction("SetColorAdjustments",
  75.                        "float Brightness, float Contrast, " 
  76.                        "float Saturation, float Hue")
  77. project.ExportFunction("SetChromaResamplingMode", "int nNewMode")
  78. project.ExportFunction("SuggestRGB8Palette", "int nColors, UINT32 *lpRGBVals",
  79.                        "common/include", "hxtypes.h")
  80. project.ExportFunction("SetRGB8Palette", "int nColors, UINT32 *lpRGBVals, int *lpIndices")
  81. project.ExportFunction("GetCompatibleColorFormats", "INT32 cidIn, INT32* pcidOut, UINT32* pnSize",
  82. "common/include", "hxtypes.h")
  83. project.ExportFunction("GetColorConverter", "INT32 cidIn, INT32 cidOut",
  84.                        "common/include", "hxtypes.h")
  85. project.ExportFunction("GetColorConverter2", "INT32 cidIn, INT32 cidOut",
  86.                        "common/include", "hxtypes.h")
  87. project.ExportFunction("ScanCompatibleColorFormats",
  88.                        "INT32 cidIn, INT32 cidOutMask, void *pParam, " 
  89.                        "BOOL (*pfnTryIt) (void *pParam, INT32 cidOut, " 
  90.                        "LPHXCOLORCONVERTER pfnCC), INT32",
  91.                        "video/include", "coloracc.h")
  92. project.ExportFunction("ScanAllCompatibleColorFormats",
  93.                        "INT32 cidIn, void *pParam,BOOL (*pfnTryIt) (void " 
  94.                        "*pParam, INT32 cidOut, LPHXCOLORCONVERTER pfnCC), INT32",
  95.                        "video/include", "coloracc.h")
  96. project.ExportFunction("ConvertYUVtoRGB",
  97.                        "UCHAR* ySrc, UCHAR* uSrc, UCHAR* vSrc, INT32  nPitchSrc, " 
  98.                        "UCHAR* Dst, INT32  nWidth, INT32  nHeight, INT32  nPitchDst, " 
  99.                        "INT16  nFormat, INT16  nExpand",
  100.                        "common/include", "hxtypes.h")
  101. project.ExportFunction("ConvertRGBtoYUV",
  102.                        "UCHAR* pInput, UCHAR* pOutput, INT32  nWidth, " 
  103.                        "INT32  nHeight, BOOL   bBGR",
  104.                        "common/include", "hxtypes.h")
  105. project.ExportFunction("SetSharpnessAdjustments",
  106.                        "float Sharpness, INT16 nExpand",
  107.                        "common/include", "hxtypes.h")
  108. project.ExportFunction("GetSharpnessAdjustments",
  109.                        "float *pSharpness, INT16* pnExpand",
  110.                        "common/include", "hxtypes.h")
  111. project.ExportFunction("Enhance",
  112.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  113.                        "INT32 pitchSrc, float Sharpness",
  114.                        "common/include", "hxtypes.h")
  115. project.ExportFunction("EnhanceUniform",
  116.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  117.                        "INT32 pitchSrc, float Sharpness",
  118.                        "common/include", "hxtypes.h")
  119. project.ExportFunction("I420andYUVA",
  120.                        "unsigned char *src1_ptr, int src1_pels, " 
  121.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  122.                        "int src1_starty, unsigned char *src2_ptr, " 
  123.                        "int src2_pels,   int src2_lines,  int src2_pitch, " 
  124.                        "int src2_startx, int src2_starty, unsigned char *dest_ptr, " 
  125.                        "int dest_pels,   int dest_lines,  int dest_pitch, " 
  126.                        "int dest_startx, int dest_starty, int width, " 
  127.                        "int height,  int color_format")
  128. project.ExportFunction("I420andI420toI420",
  129.                        "unsigned char *src1_ptr, int src1_pels, " 
  130.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  131.                        "int src1_starty, unsigned char *src2_ptr, int src2_pels, " 
  132.                        "int src2_lines,  int src2_pitch, int src2_startx, " 
  133.                        "int src2_starty, unsigned char *dest_ptr, int dest_pels, " 
  134.                        "int dest_lines,  int dest_pitch, int dest_startx, int dest_starty, " 
  135.                        "int width,  int height,  int alpha")
  136. project.ExportFunction("ConvertRGB24toXRGB",
  137.                        "UCHAR* pSrc, UCHAR* pDest, ULONG32 srcSize, " 
  138.                        "ULONG32 destSize, INT32 nWidth, INT32 nHeight" )
  139. project.SetDLLTypeCodec()
  140. DLLTarget("colorcvt")
  141. DependTarget()