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

Symbian

开发平台:

Visual C++

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