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