From a16a35c3c0844984fc2886bd1f95ad9ddec3584b Mon Sep 17 00:00:00 2001 From: Comment Date: Wed, 13 Feb 2013 17:12:05 +0000 Subject: initial commit --- interfaces.h | 68 +++++++++++++++++++++++++++++++++++++++++++++++ interfaces01.h | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 151 insertions(+) create mode 100644 interfaces.h create mode 100644 interfaces01.h diff --git a/interfaces.h b/interfaces.h new file mode 100644 index 0000000..0210ad8 --- /dev/null +++ b/interfaces.h @@ -0,0 +1,68 @@ +/* +Native linux applicatioon with no graphic interface +runs as a daemon and is managed remotely via socket etc + +debian - -any problems with proprietary codecs etc? + +is it called from ruby on rails? +is the best way a RESTful interface? + +what's the best library to create a native server that implements http RESTful server +??boost++?? + +rendering- begins a thread +eventually - manage threads and create new servers on EC2 + +eventually - detailed memory management +"rendering engine will probably be completely rewritten" + +the part that WON'T be rewritten is the meta-language that templates are written in + +renderGraph is a graph of loaded objects +method to traverse graph, get preview image etc +node knows where it sits on the canvas **here** - GUI doesn't keep its own state +properties of a node - connections + time +nodes are timeline based as well as flow- timeline is created when the song is analysed- + +node-time interface +1- timeless node - applies equally to all frames +2- node with in and out points - mainly for footage +3- node with absolute keyframes - added manually to relate to an actual song +4- node with meta-keyframes - belonging to a template, these relate to instantiable music feature cues + +2 types of graphs - instanced and abstract + + +*/ + +class rotor_renderer() { + startRender(rotor_renderSettings *settings); + rotor_renderStatus getRenderStatus(rotor_threadID id); + rotor_renderProcess *activeRenders; +}; + +class rotor_renderSettings() { + vector inputFiles; + rotor_renderGraphDescription graph; + string output; +}; + +class rotror_renderProcess() { +}; + +class rotor_managerInterface() { + TCPserver server; +} + +class rotor_renderGraphManager() { + rotor_renderGraph renderGraph; + +}; + +class rotor_renderGraph() { +}; + +class rotor_renderNode() { +}; + + diff --git a/interfaces01.h b/interfaces01.h new file mode 100644 index 0000000..00971fc --- /dev/null +++ b/interfaces01.h @@ -0,0 +1,83 @@ +/* +Native linux applicatioon with no graphic interface +runs as a daemon and is managed remotely via socket etc + +debian - -any problems with proprietary codecs etc? + +is it called from ruby on rails? +is the best way a RESTful interface? + +what's the best library to create a native server that implements http RESTful server +??boost++?? + +rendering- begins a thread +eventually - manage threads and create new servers on EC2 + +eventually - detailed memory management +"rendering engine will probably be completely rewritten" + +the part that WON'T be rewritten is the meta-language that templates are written in + +renderGraph is a graph of loaded objects +method to traverse graph, get preview image etc +node knows where it sits on the canvas **here** - GUI doesn't keep its own state +properties of a node - connections + time +nodes are timeline based as well as flow- timeline is created when the song is analysed- + +node-time interface +1- timeless node - applies equally to all frames +2- node with in and out points - mainly for footage +3- node with absolute keyframes - added manually to relate to an actual song +4- node with meta-keyframes - belonging to a template, these relate to instantiable music feature cues + +2 types of graphs - instanced and abstract - distinct? + +build it up from the smallest interface or down from the top? +try and make the simplest interface that can support the described features + +==> for now, no distinction between instanced and abstract graph except filling in filenames etc + +using POCO application framework seems good +what remains to be defined? + +*/ + +class rotor_renderer { + startRender(rotor_renderSettings *settings); + rotor_renderStatus getRenderStatus(rotor_threadID id); + rotor_renderProcess *activeRenders; +}; + +class rotor_renderSettings { + vector inputFiles; + rotor_renderGraphDescription graph; + string outputFile; + rotor_format renderFormat; +}; + +class rotor_format{ + //describes the output format of a video render + string vcodec; + string acodec; + int w,h; +} + +class rotor_renderProcess { +}; + +class rotor_managerInterface { + TCPserver server; +} + +class rotor_graphManager { + rotor_renderGraph renderGraph; + +}; + +class rotor_graph { +}; + +class rotor_node { +}; + + -- cgit v1.2.3