Stefan Schuermans commited on 2017-05-20 17:13:05
Showing 22 changed files, with 57 additions and 57 deletions.
"FlexiPix" is a registered trademark
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-# JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+# JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
# |
3 | 3 |
# Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
# |
... | ... |
@@ -27,9 +27,9 @@ JAVAC=javac |
27 | 27 |
JAR=jar |
28 | 28 |
KEYTOOL=keytool |
29 | 29 |
JARSIGNER=jarsigner |
30 |
-KEYPASS=JFlexiPix |
|
30 |
+KEYPASS=JEtherPix |
|
31 | 31 |
JAVA=java |
32 |
-PKG_PATH=org/blinkenarea/JFlexiPix |
|
32 |
+PKG_PATH=org/blinkenarea/JEtherPix |
|
33 | 33 |
PKG_PATH_EX=$(PKG_PATH)/examples |
34 | 34 |
|
35 | 35 |
CLASSES=AddrParser Config Constants Display Distri \ |
... | ... |
@@ -50,10 +50,10 @@ all: jar $(CLASS_FILES_EX) |
50 | 50 |
clean: |
51 | 51 |
rm -f $(PKG_PATH)/Version.java |
52 | 52 |
rm -f $(CLASS_FILES) |
53 |
- rm -f JFlexiPix.jar |
|
53 |
+ rm -f JEtherPix.jar |
|
54 | 54 |
rm -f $(CLASS_FILES_EX) |
55 | 55 |
|
56 |
-jar: JFlexiPix.jar |
|
56 |
+jar: JEtherPix.jar |
|
57 | 57 |
|
58 | 58 |
blink: $(PKG_PATH_EX)/Blink.class |
59 | 59 |
$(JAVA) -classpath . $(subst /,.,$(basename $<)) $(CONFIG_EX) |
... | ... |
@@ -64,7 +64,7 @@ fade: $(PKG_PATH_EX)/Fade.class |
64 | 64 |
$(CLASS_FILES_EX): $(CLASS_FILES) |
65 | 65 |
|
66 | 66 |
$(PKG_PATH)/Version.java: Makefile |
67 |
- echo "package org.blinkenarea.JFlexiPix;" >$@ |
|
67 |
+ echo "package org.blinkenarea.JEtherPix;" >$@ |
|
68 | 68 |
echo "public class Version {" >>$@ |
69 | 69 |
echo " public static int Major = $(VERSION_MAJOR);" >>$@ |
70 | 70 |
echo " public static int Minor = $(VERSION_MINOR);" >>$@ |
... | ... |
@@ -74,10 +74,10 @@ $(PKG_PATH)/Version.java: Makefile |
74 | 74 |
%.class: %.java |
75 | 75 |
$(JAVAC) -classpath $(CLASSPATH) $< |
76 | 76 |
|
77 |
-JFlexiPix.keystore: |
|
78 |
- $(KEYTOOL) -genkey -alias JFlexiPix -dname CN=JFlexiPix,O=blinkenarea,C=org -keypass $(KEYPASS) -keystore $@ -storepass $(KEYPASS) -validity 3652 |
|
77 |
+JEtherPix.keystore: |
|
78 |
+ $(KEYTOOL) -genkey -alias JEtherPix -dname CN=JEtherPix,O=blinkenarea,C=org -keypass $(KEYPASS) -keystore $@ -storepass $(KEYPASS) -validity 3652 |
|
79 | 79 |
|
80 |
-JFlexiPix.jar: JFlexiPix.keystore $(CLASS_FILES) |
|
80 |
+JEtherPix.jar: JEtherPix.keystore $(CLASS_FILES) |
|
81 | 81 |
$(JAR) cf $@ $(CLASS_FILES) |
82 |
- $(JARSIGNER) -keystore $< -storepass $(KEYPASS) $@ JFlexiPix |
|
82 |
+ $(JARSIGNER) -keystore $< -storepass $(KEYPASS) $@ JEtherPix |
|
83 | 83 |
|
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
|
3 | 3 |
FlexPix is a large scale display architecure that is driven using UDP/IP. |
4 | 4 |
It consists of single pixels that are connected to chains. A number of those |
... | ... |
@@ -7,7 +7,7 @@ receives data over ethernet and distributes it to the pixel chains. |
7 | 7 |
|
8 | 8 |
The protocol used on UDP is MCUF (microcontroller unit frame, see |
9 | 9 |
http://wiki.blinkenarea.org/index.php/MicroControllerUnitFrame). However, |
10 |
-as FlexiPix displays can have more than 65536 pixels, multiple MCUF packets |
|
10 |
+as EtherPix displays can have more than 65536 pixels, multiple MCUF packets |
|
11 | 11 |
are sent for one frame - a single MCUF frame to every distributor. |
12 | 12 |
The coordinates of the pixels in the MCUF packets do not correspond to pixel |
13 | 13 |
locations, but to pixel addresses. The y coordinate is the number of the |
... | ... |
@@ -15,11 +15,11 @@ output of the distributor and the x coordinate is the number of the pixel |
15 | 15 |
in the chain. The number of channels is always 3 (RGB) and the maximum value |
16 | 16 |
is always 255 (8 bit per channel). |
17 | 17 |
|
18 |
-This library can be used to send the required UDP packets to the FlexiPix |
|
18 |
+This library can be used to send the required UDP packets to the EtherPix |
|
19 | 19 |
display to make it show images and/or videos. |
20 | 20 |
As the libarary has to know how the pixels are wired and where there are |
21 | 21 |
located (i.e. which pixel in the source image they represent), a rather |
22 | 22 |
complex config file is needed. Examples of config files can be found in |
23 |
-"org/blinkenarea/JFlexiPix/examples/config" and example code showing how |
|
24 |
-to use the library is located in "org/blinkenarea/JFlexiPix/examples". |
|
23 |
+"org/blinkenarea/JEtherPix/examples/config" and example code showing how |
|
24 |
+to use the library is located in "org/blinkenarea/JEtherPix/examples". |
|
25 | 25 |
|
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,7 +16,7 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
import java.net.*; |
22 | 22 |
import java.util.regex.*; |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,7 +16,7 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
import java.io.*; |
22 | 22 |
import java.net.*; |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,12 +16,12 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
/// package global constants |
22 | 22 |
class Constants |
23 | 23 |
{ |
24 |
- // FlexiPix hardware constants |
|
24 |
+ // EtherPix hardware constants |
|
25 | 25 |
static int distriMaxCnt = 4096; /**< maximum number of distributors |
26 | 26 |
* that can be in the system, |
27 | 27 |
* number of distributor addresses |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,11 +16,11 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
import java.net.*; |
22 | 22 |
|
23 |
-/// FlexiPix display |
|
23 |
+/// EtherPix display |
|
24 | 24 |
public class Display |
25 | 25 |
{ |
26 | 26 |
/** |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,12 +16,12 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
import java.net.*; |
22 | 22 |
import java.util.Arrays; |
23 | 23 |
|
24 |
-/// FlexiPix distributor |
|
24 |
+/// EtherPix distributor |
|
25 | 25 |
class Distri |
26 | 26 |
{ |
27 | 27 |
/** |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,10 +16,10 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
/** |
22 |
- * FlexiPix mapping information |
|
22 |
+ * EtherPix mapping information |
|
23 | 23 |
* |
24 | 24 |
* values of channels are mapped according to following formula: |
25 | 25 |
* <display value> := <base> + <factor> * <original value> ^ (1 / <gamma>) |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,7 +16,7 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
/// message callback interface |
22 | 22 |
public interface MessageIf |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,7 +16,7 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
/// message type |
22 | 22 |
public enum MsgType { Err, Warn, Info } |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,9 +16,9 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 |
-/// FlexiPix pixel |
|
21 |
+/// EtherPix pixel |
|
22 | 22 |
class Pixel |
23 | 23 |
{ |
24 | 24 |
/// constructor |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,7 +16,7 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix; |
|
19 |
+package org.blinkenarea.JEtherPix; |
|
20 | 20 |
|
21 | 21 |
import java.util.regex.*; |
22 | 22 |
|
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,9 +16,9 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix.examples; |
|
19 |
+package org.blinkenarea.JEtherPix.examples; |
|
20 | 20 |
|
21 |
-import org.blinkenarea.JFlexiPix.*; |
|
21 |
+import org.blinkenarea.JEtherPix.*; |
|
22 | 22 |
|
23 | 23 |
public class Blink |
24 | 24 |
{ |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,9 +16,9 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix.examples; |
|
19 |
+package org.blinkenarea.JEtherPix.examples; |
|
20 | 20 |
|
21 |
-import org.blinkenarea.JFlexiPix.*; |
|
21 |
+import org.blinkenarea.JEtherPix.*; |
|
22 | 22 |
|
23 | 23 |
public class Fade |
24 | 24 |
{ |
... | ... |
@@ -1,4 +1,4 @@ |
1 |
-/* JFlexiPix - Java implementation of FlexiPix output library |
|
1 |
+/* JEtherPix - Java implementation of EtherPix output library |
|
2 | 2 |
* |
3 | 3 |
* Copyright 2010-2011 Stefan Schuermans <stefan schuermans info> |
4 | 4 |
* |
... | ... |
@@ -16,9 +16,9 @@ |
16 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
-package org.blinkenarea.JFlexiPix.examples; |
|
19 |
+package org.blinkenarea.JEtherPix.examples; |
|
20 | 20 |
|
21 |
-import org.blinkenarea.JFlexiPix.*; |
|
21 |
+import org.blinkenarea.JEtherPix.*; |
|
22 | 22 |
|
23 | 23 |
public class Msg implements MessageIf |
24 | 24 |
{ |
... | ... |
@@ -1,7 +1,7 @@ |
1 |
-# FlexiPix configuration file |
|
1 |
+# EtherPix configuration file |
|
2 | 2 |
|
3 | 3 |
# the address to bind the local socket to |
4 |
-# - the FlexiPix network 10.70.80.0/16 must be reachable from this address |
|
4 |
+# - the EtherPix network 10.70.80.0/16 must be reachable from this address |
|
5 | 5 |
bindAddr = 0.0.0.0:0 |
6 | 6 |
|
7 | 7 |
# the size of the display |
... | ... |
@@ -1,7 +1,7 @@ |
1 |
-# FlexiPix configuration file |
|
1 |
+# EtherPix configuration file |
|
2 | 2 |
|
3 | 3 |
# the address to bind the local socket to |
4 |
-# - the FlexiPix network 10.70.80.0/16 must be reachable from this address |
|
4 |
+# - the EtherPix network 10.70.80.0/16 must be reachable from this address |
|
5 | 5 |
bindAddr = 0.0.0.0:0 |
6 | 6 |
|
7 | 7 |
# the size of the display |
8 | 8 |