[FFmpeg-devel] [PATCH] tools/graph2dot: fancy output.

Michael Niedermayer michaelni at gmx.at
Sun Dec 23 20:00:51 CET 2012


On Sun, Dec 23, 2012 at 07:12:52PM +0100, Stefano Sabatini wrote:
> On date Sunday 2012-12-23 00:29:23 +0100, Clément Bœsch encoded:
> > Hi,
> > 
> > Here is a small attempt to improve the output. See attached image for
> > example. I know colors are ugly, feel free to propose any better palette.
> 
> Some generic considerations.
> 
> In our left-to-right culture it is more natural to expect input pads
> on the left, and output pad on the right.
> 
> This is the way I usually draw filters on paper when I need a
> graphical representation:
> 
>          |      |
>        +---+  +---+
>        |in0|  |in1|
>       +------------+
>       |   filter   |
>       |            |
>       +------------+
>           |out0|
>           +----+
>             |
> 
> Ideally it would be nice to have a similar representation, or in
> alternative:
> 
>       +--------------+
>       | +---+  +---+ |
>       | |in0|  |in1| |
>       | +---+  +---+ |
>       |    filter    |
>       |    +----+    |     
>       |    |out0|    |
>       |    +----+    |
>       +--------------+
> 
> but may be hard to achieve.


         |  |   |
       -------------
      /  ---    --- \
     | |in0|  |in1|  |
     |  ---    ---   |
     | _   filter  _ |
     | \\_________// | :
     |  ...out0...   |  :
     |     ---- \\   | :
     +-----------\\  |__
           _|_    \\|   |
            |      \____/
           / \

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121223/1d352957/attachment.asc>


More information about the ffmpeg-devel mailing list