add binfolder path relative filters, fix gbrp color model, vwdw timebar tweaks, title...
[goodguy/history.git] / cinelerra-5.1 / guicast / bccmdl.py
index 0a54694113f102de6f56fc994c48eab59cac735b..97b2fc0ebfa78b881eccb85e87d6ff40642e83b0 100755 (executable)
@@ -327,17 +327,17 @@ base = {
 
   "gbrp": {
     "i8": {
-      "r": " int g = *gip++, b = *bip++, r = *rip++;",
-      "w": " *gop++ = g; *bop++ = b; *rop++ = r;",
+      "r": " int g = *rip++, b = *gip++, r = *bip++;",
+      "w": " *rop++ = g; *gop++ = b; *bop++ = r;",
     },
     "i16": {
-      "r": " int ig = *gip++, g = (ig<<8) | ig, ib = *bip++, b = (ib<<8) | ib," +
-           " ir = *rip++, r = (ir<<8) | ir;",
-      "w": " *gop++ = g >> 8; *bop++ = b >> 8; *rop++ = r >> 8;",
+      "r": " int ig = *rip++, g = (ig<<8) | ig, ib = *gip++, b = (ib<<8) | ib," +
+           " ir = *bip++, r = (ir<<8) | ir;",
+      "w": " *rop++ = g >> 8; *gop++ = b >> 8; *bop++ = r >> 8;",
     },
     "fp": {
-      "r": " float g = *gip++/255.f, b = *bip++/255.f, r = *rip++/255.f;",
-      "w": " *gop++ = clp(256,g); *bop++ = clp(256,b); *rop++ = clp(256,r);",
+      "r": " float g = *rip++/255.f, b = *gip++/255.f, r = *bip++/255.f;",
+      "w": " *rop++ = clp(256,g); *gop++ = clp(256,b); *bop++ = clp(256,r);",
     },
   },