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

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. project.AddModuleIncludes("common/include",
  35.                           "datatype/rm/include")
  36.     
  37. project.AddSources("backend/rv20decapi.cpp")
  38. project.AddModuleLibraries(
  39. "common/dbgtool[debuglib]",
  40. "common/runtime[runtlib]"
  41. )
  42. project.AddLibraries(GetSDKPath("rvg2dec_libs")+'[drv2lib]',
  43.                            GetSDKPath("rvcodcom_lib"))
  44. if 'symbian-armi' in sysinfo.family_list:
  45.      project.AddLibraries(GetSDKPath("rvg2dec_libs") + '[cdecg2]')
  46. project.ExportFunction("RV20toYUV420Init",
  47.                        "void *prv10Init,void **global")
  48. project.ExportFunction("RV20toYUV420Free",
  49.                        "void *global")
  50. project.ExportFunction("RV20toYUV420Transform",
  51.                        "UCHAR *pRV10Packets, UCHAR *pDecodedFrameBuffer, " 
  52.                        "void *pInputParams, void *pOutputParams, void *global",
  53.                        "common/include",
  54.                        "hxtypes.h")
  55. project.ExportFunction("RV20toYUV420CustomMessage",
  56.                        "void *msg_id, void *global")
  57. project.ExportFunction("RV20toYUV420HiveMessage",
  58.                        "ULONG32 *msg, void *global",
  59.                        "common/include",
  60.                        "hxtypes.h")
  61. project.ExportFunction("RV20toYUV420_RN_FRU_Init",
  62.                        "void **HX_FRU_ref, ULONG32 pels, ULONG32 lines, " 
  63.                        "ULONG32 luma_pitch, ULONG32 chroma_pitch",
  64.                        "common/include",
  65.                        "hxtypes.h")
  66. project.ExportFunction("RV20toYUV420_RN_FRU_Setup",
  67.                        "void *HX_FRU_ref,ULONG32 mode, UCHAR* A[3], "   
  68.                        "UCHAR* B[3], ULONG32 quant,ULONG32 pict_type, " 
  69.                        "ULONG32 dt, void* fru_mv_info",
  70.                        "common/include",
  71.                        "hxtypes.h")
  72. project.ExportFunction("RV20toYUV420_RN_FRU_GetFrame",
  73.                        "void *HX_FRU_ref, ULONG32 timePlacement, UCHAR* dst[3]",
  74.                        "common/include",
  75.                        "hxtypes.h")
  76. project.ExportFunction("RV20toYUV420_RN_FRU_Free",
  77.                        "void *HX_FRU_ref")
  78. project.ExportFunction("GetGUID",
  79.                        "UCHAR* pGUID",
  80.                        "common/include",
  81.                        "hxtypes.h")
  82.                        
  83. project.SetDLLTypeCodec()
  84. DLLTarget('drv2')
  85. DependTarget()