noplusumake
上传用户: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. CPPSuffixRule()
  35. project.AddIncludes('../../common/include',
  36.                     'pub',
  37.                     '.',
  38.                     '../../common/dbgtool/pub',
  39.                     '../../common/runtime/pub',
  40.                     '../../common/container/pub',
  41.                     '../../common/util/pub',
  42.                     '../include')
  43. project.AddModuleLibraries('common/dbgtool[debuglib]',
  44.                            'common/util[utillib]',
  45.                            'common/system[syslib]',
  46.                            'common/container[contlib]',
  47.                            'common/runtime[runtlib]',
  48.                            'video/vidutil[vidutillib]')
  49. project.AddSources('hxcolor.cpp', 'edge.cpp',
  50.                    'env.c', 'setpal.c', 'setclrs.c',
  51.                    'clip.c', 'rgb2rgb.c', 'rgb2yuv.c',
  52.                    'yuv2rgb.c', 'yuv2yuv.c', 'yuvalpha.c');
  53. project.defines.append('_FAT_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.                        "common/include", "hxtypes.h")
  74. project.ExportFunction("GetCompatibleColorFormats", "INT32 cidIn, INT32* pcidOut, UINT32* pnSize",
  75. "common/include", "hxtypes.h")
  76. project.ExportFunction("GetColorConverter", "INT32 cidIn, INT32 cidOut",
  77.                        "common/include", "hxtypes.h")
  78. project.ExportFunction("GetColorConverter2", "INT32 cidIn, INT32 cidOut",
  79.                        "common/include", "hxtypes.h")
  80. project.ExportFunction("ScanCompatibleColorFormats",
  81.                        "INT32 cidIn, INT32 cidOutMask, void *pParam, " 
  82.                        "BOOL (*pfnTryIt) (void *pParam, INT32 cidOut, " 
  83.                        "LPHXCOLORCONVERTER pfnCC), INT32",
  84.                        "video/include", "coloracc.h")
  85. project.ExportFunction("ScanAllCompatibleColorFormats",
  86.                        "INT32 cidIn, void *pParam,BOOL (*pfnTryIt) (void " 
  87.                        "*pParam, INT32 cidOut, LPHXCOLORCONVERTER pfnCC), INT32",
  88.                        "video/include", "coloracc.h")
  89. project.ExportFunction("ConvertYUVtoRGB",
  90.                        "UCHAR* ySrc, UCHAR* uSrc, UCHAR* vSrc, INT32  nPitchSrc, " 
  91.                        "UCHAR* Dst, INT32  nWidth, INT32  nHeight, INT32  nPitchDst, " 
  92.                        "INT16  nFormat, INT16  nExpand",
  93.                        "common/include", "hxtypes.h")
  94. project.ExportFunction("ConvertRGBtoYUV",
  95.                        "UCHAR* pInput, UCHAR* pOutput, INT32  nWidth, " 
  96.                        "INT32  nHeight, BOOL   bBGR",
  97.                        "common/include", "hxtypes.h")
  98. project.ExportFunction("SetSharpnessAdjustments",
  99.                        "float Sharpness, INT16 nExpand",
  100.                        "common/include", "hxtypes.h")
  101. project.ExportFunction("GetSharpnessAdjustments",
  102.                        "float *pSharpness, INT16* pnExpand",
  103.                        "common/include", "hxtypes.h")
  104. project.ExportFunction("Enhance",
  105.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  106.                        "INT32 pitchSrc, float Sharpness",
  107.                        "common/include", "hxtypes.h")
  108. project.ExportFunction("EnhanceUniform",
  109.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  110.                        "INT32 pitchSrc, float Sharpness",
  111.                        "common/include", "hxtypes.h")
  112. project.ExportFunction("I420andYUVA",
  113.                        "unsigned char *src1_ptr, int src1_pels, " 
  114.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  115.                        "int src1_starty, unsigned char *src2_ptr, " 
  116.                        "int src2_pels,   int src2_lines,  int src2_pitch, " 
  117.                        "int src2_startx, int src2_starty, unsigned char *dest_ptr, " 
  118.                        "int dest_pels,   int dest_lines,  int dest_pitch, " 
  119.                        "int dest_startx, int dest_starty, int width, " 
  120.                        "int height,  int color_format")
  121. project.ExportFunction("I420andI420toI420",
  122.                        "unsigned char *src1_ptr, int src1_pels, " 
  123.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  124.                        "int src1_starty, unsigned char *src2_ptr, int src2_pels, " 
  125.                        "int src2_lines,  int src2_pitch, int src2_startx, " 
  126.                        "int src2_starty, unsigned char *dest_ptr, int dest_pels, " 
  127.                        "int dest_lines,  int dest_pitch, int dest_startx, int dest_starty, " 
  128.                        "int width,  int height,  int alpha")
  129. project.SetDLLTypeCodec()
  130. DLLTarget('cvt1')
  131. DependTarget()