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

Symbian

开发平台:

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