GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OpenMaxIL-cpp/src/Clock.cpp at master · dridri/OpenMaxIL-cpp Expand file tree/ Copy pathClock.cppMore file actions 36 lines (30 loc) · 1.01 KB / Copy pathClock.cppFile metadata and controls36 lines (30 loc) · 1.01 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 #include "Clock.h" #include <IL/OMX_Video.h> #include <IL/OMX_Core.h> #include <IL/OMX_Types.h> #include <IL/OMX_Component.h> #include <IL/OMX_Broadcom.h> using namespace IL; Clock::Clock( bool verbose ) : Component( "OMX.broadcom.clock", std::vector< PortInit >(), { PortInit( 80, PortType::Clock ), PortInit( 81, PortType::Clock ), PortInit( 82, PortType::Clock ), PortInit( 83, PortType::Clock ), PortInit( 84, PortType::Clock ), PortInit( 85, PortType::Clock ) }, verbose ) { OMX_TIME_CONFIG_CLOCKSTATETYPE state; OMX_INIT_STRUCTURE( state ); state.eState = OMX_TIME_ClockStateRunning; state.nStartTime = { 0UL, 0UL }; state.nOffset = { 0UL, 0UL }; state.nWaitMask = 0; SetConfig( OMX_IndexConfigTimeClockState, &state ); } Clock::~Clock() { } OMX_ERRORTYPE Clock::SetupTunnel( Component* next, uint8_t port_input ) { for ( uint32_t i = 80; i <= 85; i++ ) { if ( mOutputPorts[i].bTunneled == false ) { return Component::SetupTunnel( mOutputPorts[i].nPort, next, port_input ); } } return OMX_ErrorNoMore; } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |