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

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('HXCOLOR_SHRINK')
  54. project.defines.append('HXCOLOR_STRETCH')
  55. project.defines.append('HXCOLOR_STRETCH2X')
  56. project.defines.append('HXCOLOR_STRETCH2XPLUS')
  57. project.defines.append("HXCOLOR_ALLYUV2RGB")
  58. project.ExportFunction("GetHXColorGUID", "UCHAR* pGUID",
  59.                        "common/include", "hxtypes.h")
  60. project.ExportFunction("InitColorConverter", "void")
  61. project.ExportFunction("GetColorAdjustments",
  62.                        "float* Brightness, float* Contrast, " 
  63.                        "float* Saturation, float* Hue")
  64. project.ExportFunction("SetColorAdjustments",
  65.                        "float Brightness, float Contrast, " 
  66.                        "float Saturation, float Hue")
  67. project.ExportFunction("GetCompatibleColorFormats", "INT32 cidIn, INT32* pcidOut, UINT32* pnSize",
  68. "common/include", "hxtypes.h")
  69. project.ExportFunction("GetColorConverter", "INT32 cidIn, INT32 cidOut",
  70.                        "common/include", "hxtypes.h")
  71. project.ExportFunction("GetColorConverter2", "INT32 cidIn, INT32 cidOut",
  72.                        "common/include", "hxtypes.h")
  73. project.ExportFunction("ScanCompatibleColorFormats",
  74.                        "INT32 cidIn, INT32 cidOutMask, void *pParam, " 
  75.                        "BOOL (*pfnTryIt) (void *pParam, INT32 cidOut, " 
  76.                        "LPHXCOLORCONVERTER pfnCC), INT32",
  77.                        "video/include", "coloracc.h")
  78. project.ExportFunction("ScanAllCompatibleColorFormats",
  79.                        "INT32 cidIn, void *pParam,BOOL (*pfnTryIt) (void " 
  80.                        "*pParam, INT32 cidOut, LPHXCOLORCONVERTER pfnCC), INT32",
  81.                        "video/include", "coloracc.h")
  82. project.ExportFunction("SetSharpnessAdjustments",
  83.                        "float Sharpness, INT16 nExpand",
  84.                        "common/include", "hxtypes.h")
  85. project.ExportFunction("GetSharpnessAdjustments",
  86.                        "float *pSharpness, INT16* pnExpand",
  87.                        "common/include", "hxtypes.h")
  88. project.ExportFunction("Enhance",
  89.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  90.                        "INT32 pitchSrc, float Sharpness",
  91.                        "common/include", "hxtypes.h")
  92. project.ExportFunction("EnhanceUniform",
  93.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  94.                        "INT32 pitchSrc, float Sharpness",
  95.                        "common/include", "hxtypes.h")
  96. project.ExportFunction("I420andYUVA",
  97.                        "unsigned char *src1_ptr, int src1_pels, " 
  98.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  99.                        "int src1_starty, unsigned char *src2_ptr, " 
  100.                        "int src2_pels,   int src2_lines,  int src2_pitch, " 
  101.                        "int src2_startx, int src2_starty, unsigned char *dest_ptr, " 
  102.                        "int dest_pels,   int dest_lines,  int dest_pitch, " 
  103.                        "int dest_startx, int dest_starty, int width, " 
  104.                        "int height,  int color_format")
  105. project.ExportFunction("I420andI420toI420",
  106.                        "unsigned char *src1_ptr, int src1_pels, " 
  107.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  108.                        "int src1_starty, unsigned char *src2_ptr, int src2_pels, " 
  109.                        "int src2_lines,  int src2_pitch, int src2_startx, " 
  110.                        "int src2_starty, unsigned char *dest_ptr, int dest_pels, " 
  111.                        "int dest_lines,  int dest_pitch, int dest_startx, int dest_starty, " 
  112.                        "int width,  int height,  int alpha")
  113. project.SetDLLTypeCodec()
  114. DLLTarget('hxltcolor')
  115. DependTarget()