Commit Graph

231 Commits

Author SHA1 Message Date
johan
fc1e4bc6c8 Added the option to specify the color byte order
Former-commit-id: f911d0f26c25345bbe5e9014fbc31568b7386f08
2013-11-04 20:52:57 +01:00
johan
e5395951a5 Fixed endianness issue in LDP6803 device
Former-commit-id: 6762890065d791f3ad5f24526f2f735822b451e1
2013-11-02 19:30:19 +01:00
T. van der Zwan
491dcc706b Finshed the Ldp6803 implementation (I think)
Former-commit-id: 856d9575923134ded63cded746cb4125b78e0623
2013-11-02 05:56:14 +00:00
T. van der Zwan
518ca910b7 Implemented the Ldp6803 device.
Former-commit-id: e38f7d697fbf137d89bfefb1503848a771f51dad
2013-11-02 05:51:41 +00:00
T. van der Zwan
f158236910 Created first implementation of SPI-dev abstraction and added Ldp6803 as derived led device.
Former-commit-id: 4701ed1ffe72accf3be818c73b95fb025c72149e
2013-11-01 22:48:39 +00:00
johan
3e4c38b57a Added smoothing to the Hyperion configuration
Former-commit-id: 85e27d54841de5030199dd7f70bb0f29250abb6a
2013-10-27 21:06:35 +01:00
johan
0b08341ef1 Initial commit including a linear color smoother
Former-commit-id: ffc00087996324f989e56dc5c95ab734c7c86dfa
2013-10-27 18:04:37 +01:00
johan
2471bd8753 added flag to have BGR output instead of RGB
Former-commit-id: dbd35d6dd4a84d95e0a034b99843be4949a6e169
2013-10-27 10:18:31 +01:00
johan
a3e59f0243 Rewrite of black border detector to fix problems with overscan and xbmc video calibration settings
Former-commit-id: ed6dd4e6872ea69d682096a82e108a3f7e7ca4ae
2013-10-27 09:25:02 +01:00
johan
3939380b5e Fixed bug where the size of te image processor had not been set
Former-commit-id: 21b559899fad808a4878ebe7e0e108d8dc11bcae
2013-10-21 21:13:01 +02:00
johan
293a2e7c19 Added reading the enable flag for the border detector
Former-commit-id: d2cf4df9a7684107b30f9bc01d5aa90b321ce1b5
2013-10-20 22:27:05 +02:00
johan
c57dee892f added extra console output to the xbmc checker
Former-commit-id: 3c34b85519338a724312cc677bec6a75ff13ea5f
2013-10-20 11:01:14 +02:00
johan
204f9d549c added extra console output to the xbmc checker
Former-commit-id: e7620cd1a8e2aafe1a8a862a618e103014364b6f
2013-10-20 10:46:15 +02:00
johan
641767a7e0 added extra console output to the xbmc checker
Former-commit-id: 3af9227391b72fc16b05895f1ab3daa7babb4f9e
2013-10-20 10:37:04 +02:00
T. van der Zwan
6756db2417 Added default values for color transform configuration.
Former-commit-id: a0d7c9279d5789ea3d19c8bb3004e1f596c39623
2013-10-17 07:44:42 +00:00
johan
64b9316a04 Added some extra checks to be more tolerant for configration faults
Former-commit-id: 5061311d8116f848f36808f2c77dcff011ceb571
2013-10-16 23:19:40 +02:00
T. van der Zwan
d50aec63f7 Fixed incorrect assignment of min and max Y-fractions
Former-commit-id: d02351a62e2ff24d39892536bb1e2da7297a9778
2013-10-16 20:53:45 +00:00
T. van der Zwan
b0ba91e5c5 Added message to show selected boot-sequence
Former-commit-id: 4903a6a060a317916b8e65c9c0fd37c7d638c4a4
2013-10-16 20:53:27 +00:00
johan
745691288f Deploy binaries updated
Former-commit-id: 87d5cf36e4608ddcc443dc6fd9db5ac672208e47
2013-10-16 18:51:08 +02:00
poljvd
d07ddc8009 Check type case insensitive
Former-commit-id: 07cebb35933bba53012b7f05bc467f11a28bcc8c
2013-10-16 18:13:31 +02:00
poljvd
62909c05ec Changed default settings of HyperCon;
Fixed configuration mismatch between Hyperion and HyperCon


Former-commit-id: 20ee2dd709e4a02934d5badee60da9d6a6f3c6d4
2013-10-16 17:04:38 +02:00
poljvd
51b6967947 Removed unused includes
Former-commit-id: bd5ffa2d701729d86ecb9b9cf0182f1774e0fec8
2013-10-16 12:53:53 +02:00
johan
e2983283cb enabled grabbing flags
Former-commit-id: 9bb8d3a417bb6edc37ce4f1751e32d35b1c85cab
2013-10-14 18:25:54 +02:00
johan
bb620f6408 Changed request string to c++11 raw string
Former-commit-id: 4fae155658d4ded771f0b01974d4e47bb15f58f4
2013-10-14 18:21:36 +02:00
johan
d526b8c9c1 Changed format of proto color from bytes array to int32
Former-commit-id: 7dcf0256a81bfafb4a8f69a5a2e2a582d43a1d0d
2013-10-13 20:22:32 +02:00
johan
91dcbd0758 fixed checking for proto parsing errors
Former-commit-id: 7831e93bf6c65e574b185d30856af096171b43ac
2013-10-13 17:58:41 +02:00
johan
6db1db3129 Added ProtoServer to the Hyperion server;
Updated the configuration file and schema to be more flexible;


Former-commit-id: 0f670ae6f9512abedf279fe0b014802e31f2f16f
2013-10-13 14:48:59 +02:00
johan
9247c577ba Proto server added for better performance of remote application using a binary protocol;
gpio2spi added which can be used to switch the GPIO pins into SPI mode if necessary;


Former-commit-id: 237f495289ce2f4afae49b36684f464937dbd30f
2013-10-11 10:06:24 +02:00
T. van der Zwan
79be6ea4a2 Updated the snapshot creation based on the latest release of VideoCore (included backwards compatibility if correct)
Former-commit-id: 5bb8d6d7cd673ac8c08a2c9a8f1995231074d327
2013-10-02 07:46:12 +00:00
T. van der Zwan
5817c753dc Added framegrabber and bootsequence to schema
Former-commit-id: 9d94f2ad96bb1405015cdaed937abb8ad48b42c0
2013-10-02 07:42:31 +00:00
johan
876100249e Added configuration to XBMC video checker
Former-commit-id: 82a73ca5a31c7152572f06bff50befd26053d8df
2013-09-24 21:45:27 +02:00
johan
f31ed069ef Ignore messages which are not a reply to the request
Former-commit-id: 23aeecabb9dba84d8118ee83a16a964a8163a363
2013-09-24 21:26:50 +02:00
johan
cf0f94224f Changed XBMC Video checker from emitting all black on a lower channel than the grabber to commanding the grabber 2013-09-23 22:33:38 +02:00
johan
82617dea51 Fix bug in rgb2hsv transform 2013-09-13 14:24:49 +02:00
johan
02fa8f5679 Fix bug in hsv2rgb transform 2013-09-13 14:03:12 +02:00
T. van der Zwan
94a8dfad2f Enabled KnightRider boot sequence 2013-09-12 18:42:16 +00:00
T. van der Zwan
ecdd7775c5 Fixed doxygen warnings 2013-09-09 20:35:28 +00:00
T. van der Zwan
b9826e06ee Added doxygen comments 2013-09-09 17:14:49 +00:00
T. van der Zwan
a567f0feeb Added abstract boot sequence to handle events and iteration count.
Implemented KnightRider bootsequence (KittBootSequence).
2013-09-09 15:24:36 +00:00
T. van der Zwan
db708da60a Changed the constructor of LedDeviceW2801 (only incl required parameters)
Changed the call sign of the write functions (included const declaration of color parameter)
2013-09-09 15:23:44 +00:00
T. van der Zwan
8441dd51cc Added/Updated/Fixed doxygen comments 2013-09-09 02:54:13 +00:00
T. van der Zwan
d2d7265f02 Added doxygen comments 2013-09-06 19:26:58 +00:00
johan
3187fc84a6 Doxygen comments added 2013-08-31 14:36:54 +02:00
T. van der Zwan
4a19095234 Added factory to boot-sequence
Added json-config for boot-sequence.
2013-08-25 16:20:19 +00:00
johan
213545afe7 Added config file settings for XBMCVideoChecker 2013-08-24 11:51:52 +02:00
johan
026937d5e1 Changed XBMC video checker from HTPP (using QNetworkAccessManager) to a plain TCP socket because of thre required CPU 2013-08-23 21:40:42 +02:00
johan
c4eb715592 XBMC video checker added 2013-08-23 20:44:53 +02:00
T. van der Zwan
3d02fecc7a Added 'rainbow' boot sequence
Moved color transform to utils lib
2013-08-23 16:24:10 +00:00
T. van der Zwan
6ee94409dc Added blackborder detection and processing to the image processor 2013-08-23 05:09:09 +00:00
T. van der Zwan
046c68574e Added parameters to constructor of blackborder processor
Added blur line removal
Moved blackborder classes to hyperion namespace
2013-08-23 05:08:44 +00:00
T. van der Zwan
e2eb5ecd7f Merge branch 'HEAD' of https://github.com/tvdzwan/hyperion.git
Conflicts:
	libsrc/hyperion/Hyperion.cpp
2013-08-22 19:34:39 +00:00
T. van der Zwan
1e6c361dab Fixed schema from resource in static lib 2013-08-22 19:32:40 +00:00
johan
9fe2fcfdd0 Changed hue in HsvTransform from uint_8 to uint16_t 2013-08-22 20:31:57 +02:00
T. van der Zwan
decc41965d Merge branch 'HEAD' of https://github.com/tvdzwan/hyperion.git 2013-08-21 20:46:43 +00:00
T. van der Zwan
0ff4058ba4 Added wrapper for the blackborder detector to maintain state about detected borders.
Added simple unit test for blackborder processor.
2013-08-21 20:44:17 +00:00
johan
ee7a596d53 - HSV transform added
- Moved transform of led values to before the device write so transform changes are taken into account
2013-08-21 21:50:17 +02:00
T. van der Zwan
7c9ac7d151 Added border-ignore to the image-to-leds mapping.
Added doxygen comments.
2013-08-21 15:24:42 +00:00
T. van der Zwan
b880603a30 Added void-call to avoid warning in release mode 2013-08-21 15:23:32 +00:00
T. van der Zwan
f262a9eb11 Updated the scan-algorithm to only use half of each border.
Added doxygen comments to the header file.
2013-08-21 14:52:03 +00:00
T. van der Zwan
f8c8fa6c74 Moved open and close of display to the 'grab' method, solving resolution switches.
Added doxygen comments to the dispmanx header.
2013-08-21 14:37:00 +00:00
T. van der Zwan
240b118ce9 Added config-schema of Hyperion as resource.
Added constructor to Hyperion using filename.
Added config-filename as commandline parameter for hyperiond.
Added implementation of blackborder detector.
Added test for blackborder detector.
2013-08-21 14:25:27 +00:00
johan
10a566e2ca Get server info implemented for jsonserver 2013-08-19 20:33:36 +02:00
johan
cb38baa985 Implemented set transform for the json server 2013-08-19 19:57:35 +02:00
johan
0a9bbe86a4 Set image implemented 2013-08-18 20:55:59 +02:00
johan
1766212b70 clear and clear all implemented 2013-08-18 13:33:56 +02:00
johan
638d5aa424 set color on json connection implemented 2013-08-18 12:21:07 +02:00
johan
46076998a0 Schema checking for all commands added 2013-08-18 12:02:17 +02:00
johan
b66c397a46 json schema added for checking incoming messages 2013-08-17 19:20:19 +02:00
johan
59e13a2b5f restructured project structure: move projects into sub-folders, split dispmanx-grabber from hyperion 2013-08-17 16:12:42 +02:00
johan
16c260b3dc added skeleton for the json connection server 2013-08-17 15:39:29 +02:00
T. van der Zwan
4031a33f04 Added simple test for image2led map.
Added test executable for creating png from frame grabber.
Added test-device for exporting color values of leds to text file.
Updated configuration to match new color transform.
Finished first version of the Hyperion structure (IT WORKS [1% CPU]!)
2013-08-15 19:11:02 +00:00
T. van der Zwan
b457c444f6 Changed the image-to-leds map by using offset-pointing.
Moved the image-buffer from processor to dispmanx-wrapper.
Added timeout handling to Hyperion.
2013-08-14 15:02:09 +00:00
T. van der Zwan
7bdd10859e Created first draft of 'hyperion-d'. 2013-08-14 08:54:49 +00:00
T. van der Zwan
2ec9f9202e Deleted all files referencing/using boblight 2013-08-13 10:03:00 +00:00
T. van der Zwan
39b98386dd Added simple QT-based grabber.
Moved ImageToLedsMap from include to libsrc.
Moved instantiation of objects to Hyperion (no JSON required outside this class).
2013-08-13 11:10:45 +02:00
johan
491d6ff608 ColorTransform functions added to repo 2013-08-05 23:49:17 +02:00
T. van der Zwan
cbbb1d740b Fixed memory overwrite bug. This fixes the png writer and led control. 2013-08-03 23:24:22 +02:00
T. van der Zwan
240218a6bd Added HyperionPng with similar interface as Hyperion to test frame-capture and handling. 2013-08-02 11:54:09 +02:00
T. van der Zwan
f6672499f5 Added first quick and dirty implementation of own server (HyperionDispmanX.cpp). 2013-08-01 17:08:58 +02:00
T. van der Zwan
a695ab91bb Added simple direct implementation of the frame-grabber using dispmanx (copied from https://github.com/brooc/boblight-rpi/tree/master/src/clients/boblight-dispmanx) 2013-07-31 17:28:01 +02:00
T. van der Zwan
10b5b80675 First working version with some test executables 2013-07-26 20:38:34 +00:00