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

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.   "video/include",
  36.                           "datatype/rm/include",
  37.   "datatype/rm/video/codec/rv89combo",
  38.   "datatype/rm/video/codec/rv89combo/frontend",
  39.   "common/system/pub",
  40.   "common/container/pub",
  41.                           "common/runtime/pub")
  42. project.AddSources( 'frontend/rv30api.cpp')
  43. project.AddDefines('CPK','BUILD_RV30_FRONTEND')
  44. # for symbian arm linking order, runtlib should be last
  45. project.AddLibraries(GetSDKPath("rv89combo_libs")+'[rv3xlib]', 
  46. GetSDKPath("rvcodcom_lib"))
  47. project.AddModuleLibraries(
  48. "datatype/common/util[dtutillib]",
  49. "common/util[utillib]",
  50. "common/dbgtool[debuglib]",
  51. "common/system[syslib]",
  52. "common/container[contlib]",
  53. "common/runtime[runtlib]"
  54. )
  55. project.ExportFunction("PNCodec_Open",
  56.                        "HX_MOFTAG moftFormatTag,HXCODEC *codecRef",
  57.                        "datatype/rm/include",
  58.                        "hxcodec.h")
  59. project.ExportFunction("PNCodec_Close",
  60.                        "HXCODEC codecRef",
  61.                        "datatype/rm/include",
  62.                        "hxcodec.h")
  63. project.ExportFunction("PNCodec_GetUIName",
  64.                        "HXCODEC codecRef,char *nameBuf",
  65.                        "datatype/rm/include",
  66.                        "hxcodec.h")
  67. project.ExportFunction("PNCodec_GetVersion",
  68.                        "HXCODEC codecRef, ULONG32 *pVersion",
  69.                        "datatype/rm/include",
  70.                        "hxcodec.h")
  71. project.ExportFunction("PNCodec_QueryMediaFormat",
  72.                        "HXCODEC codecRef,HX_MOF * pmofIn, " 
  73.                        "HX_MOF * pmofOut, UINT16 ioDirection",
  74.                        "datatype/rm/include",
  75.                        "hxcodec.h")
  76. project.ExportFunction("PNCodec_PreferredMediaFormat",
  77.                        "HXCODEC codecRef,HX_MOF * pmofIn, " 
  78.                        "HX_MOF * pmofOut, UINT16 ioDirection",
  79.                        "datatype/rm/include",
  80.                        "hxcodec.h")
  81. project.ExportFunction("PNCodec_GetMediaFormats",
  82.                        "HXCODEC codecRef, UINT16 ioDirection, " 
  83.                        "FP_MEDIAFORMATSCALLBACK fpCallback, void *userData",
  84.                        "datatype/rm/include",
  85.                        "hxcodec.h")
  86. project.ExportFunction("PNCodec_StreamOpen",
  87.                        "HXCODEC codecRef,HXSTREAM *streamRef,HXCODEC_INIT *params",
  88.                        "datatype/rm/include",
  89.                        "hxcodec.h")
  90. project.ExportFunction("PNCodec_Input",
  91.                        "HXCODEC codecRef, HXCODEC_DATA *pData",
  92.                        "datatype/rm/include",
  93.                        "hxcodec.h")
  94. project.ExportFunction("PNStream_Close",
  95.                        "HXSTREAM streamRef",
  96.                        "datatype/rm/include",
  97.                        "hxcodec.h")
  98. project.ExportFunction("PNStream_SetDataCallback",
  99.                        "HXSTREAM streamRef,HXSTREAM callbackRef," 
  100.                        "HXMEMORY memoryRef, FP_STREAM_DATA data_callback",
  101.                        "datatype/rm/include",
  102.                        "hxcodec.h")
  103. project.ExportFunction("PNStream_GetStreamHeaderSize",
  104.                        "HXSTREAM streamRef, ULONG32 *puSize",
  105.                        "datatype/rm/include",
  106.                        "hxcodec.h")
  107. project.ExportFunction("PNStream_GetStreamHeader",
  108.                        "HXSTREAM streamRef, HX_MOF *pHeader",
  109.                        "datatype/rm/include",
  110.                        "hxcodec.h")
  111. project.ExportFunction("PNStream_Input",
  112.                        "HXSTREAM streamRef, HXSTREAM fromStreamRef, " 
  113.                        "HXCODEC_DATA *pData",
  114.                        "datatype/rm/include",
  115.                        "hxcodec.h")
  116. project.ExportFunction("PNStream_SetOutputPacketSize",
  117.                        "HXSTREAM streamRef,ULONG32 prefSize, " 
  118.                        "ULONG32 maxSize,ULONG32 *actualSize",
  119.                        "datatype/rm/include",
  120.                        "hxcodec.h")
  121. project.ExportFunction("PNStream_GetInputBufferSize",
  122.                        "HXSTREAM streamRef,ULONG32 *puSize",
  123.                        "datatype/rm/include",
  124.                        "hxcodec.h")
  125. project.ExportFunction("PNStream_GetProperty",
  126.                        "HXSTREAM streamRef, ULONG32 prop, void *pValue",
  127.                        "datatype/rm/include",
  128.                        "hxcodec.h")
  129. project.ExportFunction("PNStream_SetProperty",
  130.                        "HXSTREAM streamRef, ULONG32 prop, void *pValue",
  131.                        "datatype/rm/include",
  132.                        "hxcodec.h")
  133. project.ExportFunction("PNStream_OpenSettingsBox",
  134.                        "HXSTREAM streamRef, void * platformData",
  135.                        "datatype/rm/include",
  136.                        "hxcodec.h")
  137. project.ExportFunction("PNStream_GetIPNUnknown",
  138.                        "HXSTREAM streamRef",
  139.                        "datatype/rm/include",
  140.                        "hxcodec.h")
  141. DLLTarget('rv30')
  142. DependTarget()