Stefan Schuermans
continue implementing config file parsing
Stefan Schuermans commited 653cc09 at 2017-06-10 20:17:07
5x2panels8x12.etps
# EtherPix simulator configuration file for screen with 5x2 panels of 8x12 pixels each
# configure distributors
# syntax:
# distributor <distno> = <outputs>,<pixels>
# description:
# distno: number of distributor
# outputs: number of outputs per distributor
# pixels: number of pixels per output
distributor 0 = 32,96
# set address of simulated distributor
# IP must be a valid the host running the simulator
# syntax:
# distributorAddr = <IPv4>:<port>
# description:
# IPv4: IPv4 address
# port: UDP port number
distributorAddr 0 = 127.0.0.1:23000
# configure mapping between the color channel values in the video
# and the values transmitted to the display
# a mapping is configured per distributor and applies to all pixels
# connected to it
# syntax:
# mapping <distno> (red|green|blue) = <base> <factor> <gamma>
# description:
# distno: number of distributor
# base, factor, gamma: floating-point values used in formula
# mapping formula:
# display := base + factor * video ** (1.0 / gamma)
# description:
# display: the value sent to the actual pixel connected to the distributor
# video: the color channel value taken from the video
mapping 0 red = 0.0 1.0 1.0
mapping 0 green = 0.0 1.0 1.0
mapping 0 blue = 0.0 1.0 1.0
# specify positions of the simulated pixels at outputs of the simulated
# distributor
# for each pixel, the position and size if specified relative to the
# simulator window dimensions
# syntax:
# output <distno>,<outno> = <px 1 x>,<px 1 y>,<px 1 r>
# <px 2 x>,<px 2 y>,<px 2 r> ... <pixel N>
# description:
# distno: number of distributor
# outno: number of output of distributor
# px i x/y: the x/y coordinates of the simulated pixel of the video pixel
# in the simulator window
# px i r: the radius of the simulated pixel of the video pixel in the
 
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX