X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=theme.rst;h=afc22c09591c941b6d0525621e51888177c81968;hb=a93702ec0c01e8624609472f75682cbbaa6a2464;hp=655329e840aa168d810f6b6fac976eb1b3e4fe85;hpb=619d8a89f87a555aabdedb9c60a9ac2902fca18a;p=nageru-docs diff --git a/theme.rst b/theme.rst index 655329e..afc22c0 100644 --- a/theme.rst +++ b/theme.rst @@ -55,7 +55,7 @@ the screen, and in this case, that would be the input):: Note the “hq” parameter. Every chain needs to be able to run in two situations: Both for the stream output (the ”live” pane) and for the preview -displays (the big “preview” pane and the smaller ones). The details have +displays (the big “preview” pane and the :ref:`channels `). The details have to do with Nageru internals (high-quality chains need to have an additional Y'CbCr output), but the distinction is also useful for themes. In particular, some operations, like scaling, can be done in various quality levels, @@ -67,6 +67,7 @@ and then scaled down for the GUI. Preview chains are rendered in exactly the resolution required, although of course, intermediate steps could be bigger. + Setting parameters, and the get_chain entry point ------------------------------------------------- @@ -228,6 +229,8 @@ the transition is over and changes back to showing only one input (presumably the new one). +.. _channels: + Channels -------- @@ -327,7 +330,7 @@ were created like this:: input = chain:add_live_input(false, deint) -Image inputs are instead created by instantiating **ImageInput** and +Image inputs are instead created by instantiating *ImageInput* and adding them manually to the chain:: input = chain:add_effect(ImageInput.new("bg.jpeg"))