summaryrefslogtreecommitdiff
path: root/rotord/rotor.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/rotor.h')
-rwxr-xr-xrotord/rotor.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/rotord/rotor.h b/rotord/rotor.h
index 8e6e9b7..3d260e4 100755
--- a/rotord/rotor.h
+++ b/rotord/rotor.h
@@ -1,3 +1,4 @@
+
/*
nodes can have many inputs but only 1 output
@@ -68,7 +69,7 @@ extern "C" {
#include "xmlIO.h"
#include "utils.h" //fequal
#include "libavwrapper.h"
-#include "image.h"
+#include "cvimage.h"
namespace Rotor {
#define IDLE 0
@@ -565,8 +566,8 @@ namespace Rotor {
image->RGBdata[(i*frame.w+j)*3]=(uint8_t)((int)((i+(frame.time*25.0f)*hs))%255);
image->RGBdata[((i*frame.w+j)*3)+1]=(uint8_t)((int)((j+(frame.time*100.0f)*hs))%255);
image->RGBdata[((i*frame.w+j)*3)+2]=(uint8_t)(0);
- image->Adata[i*frame.w+j]=(uint8_t)255;
- image->Zdata[i*frame.w+j]=(uint16_t)512; //1.0 in fixed point 8.8 bits
+ //image->Adata[i*frame.w+j]=(uint8_t)255;
+ //image->Zdata[i*frame.w+j]=(uint16_t)512; //1.0 in fixed point 8.8 bits
}
}
return image;