opwaveumake
上传用户: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.AddDefines('ADS12')
  36. project.AddIncludes('../../common/include',
  37.                     'pub',
  38.                     '.',
  39.                     '../../common/dbgtool/pub',
  40.                     '../../common/runtime/pub',
  41.                     '../../common/container/pub',
  42.                     '../../common/util/pub',
  43.                     '../include')
  44. project.AddModuleLibraries('common/dbgtool[debuglib]',
  45.                            'common/util[utillib]',
  46.                            'common/system[syslib]',
  47.                            'common/container[contlib]',
  48.                            'common/runtime[runtlib]',
  49.                            'video/vidutil[vidutillib]')
  50. project.AddSources('platform/openwave/hxcolor.cpp', 'edge.cpp',
  51.                    'env.c', 'setpal.c', 'setclrs.c',
  52.                    'clip.c', 'rgb2rgb.c', 'rgb2yuv.c',
  53.                    'yuv2rgb.c', 'yuv2yuv.c', 'yuvalpha.c');
  54. project.defines.append('HXCOLOR_SHRINK')
  55. project.defines.append('HXCOLOR_STRETCH')
  56. project.defines.append('HXCOLOR_STRETCH2X')
  57. project.defines.append('HXCOLOR_STRETCH2XPLUS')
  58. project.defines.append("HXCOLOR_ALLYUV2RGB")
  59. project.ExportFunction("GetHXColorGUID", "UCHAR* pGUID",
  60.                        "common/include", "hxtypes.h")
  61. project.ExportFunction("InitColorConverter", "void")
  62. project.ExportFunction("GetColorAdjustments",
  63.                        "float* Brightness, float* Contrast, " 
  64.                        "float* Saturation, float* Hue")
  65. project.ExportFunction("SetColorAdjustments",
  66.                        "float Brightness, float Contrast, " 
  67.                        "float Saturation, float Hue")
  68. project.ExportFunction("GetCompatibleColorFormats", "INT32 cidIn, INT32* pcidOut, UINT32* pnSize",
  69. "common/include", "hxtypes.h")
  70. project.ExportFunction("GetColorConverter", "INT32 cidIn, INT32 cidOut",
  71.                        "common/include", "hxtypes.h")
  72. project.ExportFunction("GetColorConverter2", "INT32 cidIn, INT32 cidOut",
  73.                        "common/include", "hxtypes.h")
  74. #project.ExportFunction("ScanCompatibleColorFormats",
  75. #    "INT32 cidIn, INT32 cidOutMask, void *pParam, "  
  76. #                       "BOOL (*pfnTryIt) (void *pParam, INT32 cidOut, " 
  77. #                       "LPHXCOLORCONVERTER pfnCC), INT32",
  78. #                       "video/include", "coloracc.h")
  79. #project.ExportFunction("ScanAllCompatibleColorFormats",
  80. #                       "BOOL (*pfnTryIt) (void " 
  81. #                       "*pParam, INT32 cidOut, LPHXCOLORCONVERTER pfnCC), " 
  82. #    "INT32 cidIn, void *pParam",
  83. #                       "video/include", "coloracc.h")
  84. project.ExportFunction("SetSharpnessAdjustments",
  85.                        "float Sharpness, INT16 nExpand",
  86.                        "common/include", "hxtypes.h")
  87. project.ExportFunction("GetSharpnessAdjustments",
  88.                        "float *pSharpness, INT16* pnExpand",
  89.                        "common/include", "hxtypes.h")
  90. project.ExportFunction("Enhance",
  91.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  92.                        "INT32 pitchSrc, float Sharpness",
  93.                        "common/include", "hxtypes.h")
  94. project.ExportFunction("EnhanceUniform",
  95.                        "UCHAR *yuv420in, INT32 inheight, INT32  inwidth, " 
  96.                        "INT32 pitchSrc, float Sharpness",
  97.                        "common/include", "hxtypes.h")
  98. project.ExportFunction("I420andYUVA",
  99.                        "unsigned char *src1_ptr, int src1_pels, " 
  100.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  101.                        "int src1_starty, unsigned char *src2_ptr, " 
  102.                        "int src2_pels,   int src2_lines,  int src2_pitch, " 
  103.                        "int src2_startx, int src2_starty, unsigned char *dest_ptr, " 
  104.                        "int dest_pels,   int dest_lines,  int dest_pitch, " 
  105.                        "int dest_startx, int dest_starty, int width, " 
  106.                        "int height,  int color_format")
  107. project.ExportFunction("I420andI420toI420",
  108.                        "unsigned char *src1_ptr, int src1_pels, " 
  109.                        "int src1_lines,  int src1_pitch, int src1_startx, " 
  110.                        "int src1_starty, unsigned char *src2_ptr, int src2_pels, " 
  111.                        "int src2_lines,  int src2_pitch, int src2_startx, " 
  112.                        "int src2_starty, unsigned char *dest_ptr, int dest_pels, " 
  113.                        "int dest_lines,  int dest_pitch, int dest_startx, int dest_starty, " 
  114.                        "int width,  int height,  int alpha")
  115. project.SetDLLTypeCodec()
  116. DLLTarget('hxltcolor')
  117. DependTarget()