Dolda2000 GitWeb
/
kaka
/
cakelight.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fire mode
[kaka/cakelight.git]
/
src
/
kaka
/
cakelight
/
Configuration.java
diff --git
a/src/kaka/cakelight/Configuration.java
b/src/kaka/cakelight/Configuration.java
index
9975658
..
755586f
100644
(file)
--- a/
src/kaka/cakelight/Configuration.java
+++ b/
src/kaka/cakelight/Configuration.java
@@
-53,6
+53,7
@@
public class Configuration {
public int height;
public int bpp;
public int format;
public int height;
public int bpp;
public int format;
+ public boolean mjpg;
public double saturation;
public String device;
public boolean deviceIsAutomatic;
public double saturation;
public String device;
public boolean deviceIsAutomatic;
@@
-72,6
+73,9
@@
public class Configuration {
case "YVYU":
format = Imgproc.COLOR_YUV2BGR_YVYU;
break;
case "YVYU":
format = Imgproc.COLOR_YUV2BGR_YVYU;
break;
+ case "MJPG":
+ format = 0;
+ mjpg = true;
default:
format = Imgproc.COLOR_YUV2BGR_UYVY;
}
default:
format = Imgproc.COLOR_YUV2BGR_UYVY;
}