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

Symbian

开发平台:

Visual C++

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