dllumake
上传用户:zhongxx05
上传日期:2007-06-06
资源大小:33641k
文件大小:7k
源码类别:

Symbian

开发平台:

C/C++

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