80 likes | 252 Views
OpenTV PC Simulator. Problems:. Reference platform Development environment requires complicated equipment from the early stages of development Testing and verification process under reference platform is time consuming Demonstration of prototype requires appropriate equipment. Solution:.
E N D
OpenTV PC Simulator Functional Simulation Overview
Problems: • Reference platform Development environment requires complicated equipment from the early stages of development • Testing and verification process under reference platform is time consuming • Demonstration of prototype requires appropriate equipment Solution: PC simulator allows: • Fast development and source debugging • Fast test of GUIfunctionality • Fast prototyping of conceptual solutions Functional Simulation Overview
Targets of simulations: • OpenTV system functions (time, timers, events, etc.) • OpenTV Graphics (Gadgets, Gadget tree, Shapes) • OpenTV Resource Manager (including dynamic attaching) • User Input (virtual Remote Control) • O_ui_interactive_dispatch() • Tuner (functional simulation and message flow only) • MPEG Still (message flow and rendering corresponded BMP/JPEG) Functional Simulation Overview
User Interface Example Functional Simulation Overview
PC Simulator Architecture • Remote Control Thread: • USER INPUT simulation • ApplicationThread: • Client Application real code • OpenTV API • Windows toolbar: • Resource insertion simulation • Interruptions simulation • Custom conditions • Windows Simulator Thread • OpenTV API simulation • Win32 Glue (mapping to Windows API and CGI GFX) • Tracing utilities (memory managements, message flow, etc.) Functional Simulation Overview
Development Environment Architecture • Client Application • Source code and header files (CLIENT) • OpenTV Wrapper API • Header files (OpenTV) • OpenTV API simulation • assembled into static library • Remote Control • user input simulation • Windows Simulator & Win32/MFC Glue • assembled into static library Functional Simulation Overview
Development Environment Architecture (MS Visual Studio) Functional Simulation Overview
Features: • step-by-step source code debugging • conditional breakpoints • tracing memory allocations and memory leaks • bounds checking • extremely fast development cycle without loading to a set top box • allows developing up to 75% of GUI and application logic • simplifies development and debugging process, save time, resources and expenses Functional Simulation Overview