implement proto forwarding for osxgrabber and framebuffer. prepare forwarding in amlogic and dispmanx

Former-commit-id: d67fc2b7fe8877e6eadf31a8c76e4a68110c6680
This commit is contained in:
redpanther
2016-02-17 00:44:06 +01:00
parent 46c5a2ec05
commit a9e8f0264a
8 changed files with 29 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#include "LedDeviceFadeCandy.h"
static const unsigned MAX_NUM_LEDS = 10000; // OPC can handle 21845 leds - in theory, fadecandy device should handle 10000 leds
static const signed MAX_NUM_LEDS = 10000; // OPC can handle 21845 leds - in theory, fadecandy device should handle 10000 leds
static const unsigned OPC_SET_PIXELS = 0; // OPC command codes
static const unsigned OPC_HEADER_SIZE = 4; // OPC header size