Last change
on this file since 2 was
2,
checked in by hhi, 14 years ago
|
inital import
|
-
Property svn:eol-style set to
native
|
File size:
1.8 KB
|
Rev | Line | |
---|
[2] | 1 | |
---|
| 2 | |
---|
| 3 | #include <list> |
---|
| 4 | #include <stdio.h> |
---|
| 5 | #include <fcntl.h> |
---|
| 6 | #include <assert.h> |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | #ifndef __TAppRendererTOP__ |
---|
| 10 | #define __TAppRendererTOP__ |
---|
| 11 | |
---|
| 12 | |
---|
| 13 | #include "../../Lib/TLibRenderer/TRenTop.h" |
---|
| 14 | #include "../../Lib/TLibVideoIO/TVideoIOYuv.h" |
---|
| 15 | #include "../../Lib/TLibVideoIO/TVideoIOBits.h" |
---|
| 16 | #include "../../Lib/TLibCommon/TComBitStream.h" |
---|
| 17 | #include "TAppRendererCfg.h" |
---|
| 18 | #include "TAppRendererTop.h" |
---|
| 19 | #include "../../Lib/TLibRenderer/TRenModel.h" |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | // ==================================================================================================================== |
---|
| 23 | // Class definition |
---|
| 24 | // ==================================================================================================================== |
---|
| 25 | |
---|
| 26 | /// encoder application class |
---|
| 27 | class TAppRendererTop : public TAppRendererCfg |
---|
| 28 | { |
---|
| 29 | private: |
---|
| 30 | // class interface |
---|
| 31 | std::vector<TVideoIOYuv*> m_apcTVideoIOYuvVideoInput; |
---|
| 32 | std::vector<TVideoIOYuv*> m_apcTVideoIOYuvDepthInput; |
---|
| 33 | std::vector<TVideoIOYuv*> m_apcTVideoIOYuvSynthOutput; |
---|
| 34 | |
---|
| 35 | // RendererInterface |
---|
| 36 | TRenTop* m_pcRenTop; |
---|
| 37 | |
---|
| 38 | protected: |
---|
| 39 | // initialization |
---|
| 40 | Void xCreateLib (); ///< create renderer class and video io |
---|
| 41 | Void xInitLib (); ///< initialize renderer class |
---|
| 42 | Void xDestroyLib (); ///< destroy renderer class and video io |
---|
| 43 | Void xRenderModelFromString(); ///< render using model using setup string |
---|
| 44 | Void xRenderModelFromNums(); ///< render using model using synth view numbers |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | public: |
---|
| 48 | TAppRendererTop(); |
---|
| 49 | virtual ~TAppRendererTop(); |
---|
| 50 | |
---|
| 51 | Void render (); ///< main encoding function |
---|
| 52 | Void renderModel (); |
---|
| 53 | Void go (); |
---|
| 54 | Void renderUsedPelsMap(); |
---|
| 55 | |
---|
| 56 | };// END CLASS DEFINITION TAppRendererTop |
---|
| 57 | |
---|
| 58 | #endif // __TAppRendererTOP__ |
---|
| 59 | |
---|
Note: See
TracBrowser for help on using the repository browser.