| 1 | #pragma once |
| 2 | |
| 3 | namespace CodecRTComponent { |
| 4 | // public ref class WindowsPhoneRuntimeComponent sealed |
| 5 | public ref class CodecRunTimeComponent sealed { |
| 6 | public: |
| 7 | CodecRunTimeComponent(); |
| 8 | int Encode(); |
| 9 | int Decode(); |
| 10 | |
| 11 | //Get encoder info |
| 12 | float GetEncFPS(); |
| 13 | double GetEncTime(); |
| 14 | int GetEncodedFrameNum(); |
| 15 | |
| 16 | //get decoder info |
| 17 | float GetDecFPS(); |
| 18 | double GetDecTime(); |
| 19 | int GetDecodedFrameNum(); |
| 20 | |
| 21 | }; |
| 22 | } |