Main Page
Namespaces
Classes
Files
File List
File Members
wrappers
java
src
main
java
org
openkinect
freenect
VideoFormat.java
Go to the documentation of this file.
1
25
package
org.openkinect.freenect;
26
27
import
java.util.HashMap;
28
import
java.util.Map;
29
30
public
enum
VideoFormat
{
31
RGB
(0),
32
BAYER
(1),
33
IR_8BIT
(2),
34
IR_10BIT
(3),
35
IR_10BIT_PACKED
(4),
36
YUV_RGB
(5),
37
YUV_RAW
(6);
38
39
private
final
int
value
;
40
private
static
final
Map<Integer, VideoFormat> MAP =
new
HashMap<Integer, VideoFormat>(7);
41
static
{
42
for
(
VideoFormat
v :
VideoFormat
.values()) {
43
MAP.put(v.intValue(), v);
44
}
45
}
46
47
private
VideoFormat
(
int
value) {
48
this.value = value;
49
}
50
51
public
int
intValue
() {
52
return
value;
53
}
54
55
public
static
VideoFormat
fromInt
(
int
value) {
56
return
MAP.get(value);
57
}
58
}
org.openkinect.freenect.VideoFormat.BAYER
BAYER
Definition:
VideoFormat.java:32
org.openkinect.freenect.VideoFormat.intValue
int intValue()
Definition:
VideoFormat.java:51
org.openkinect.freenect.VideoFormat.IR_8BIT
IR_8BIT
Definition:
VideoFormat.java:33
org.openkinect.freenect.VideoFormat.value
final int value
Definition:
VideoFormat.java:39
org.openkinect.freenect.VideoFormat.VideoFormat
VideoFormat(int value)
Definition:
VideoFormat.java:47
org.openkinect.freenect.VideoFormat.fromInt
static VideoFormat fromInt(int value)
Definition:
VideoFormat.java:55
org.openkinect.freenect.VideoFormat.YUV_RGB
YUV_RGB
Definition:
VideoFormat.java:36
org.openkinect.freenect.VideoFormat.IR_10BIT
IR_10BIT
Definition:
VideoFormat.java:34
org.openkinect.freenect.VideoFormat.YUV_RAW
YUV_RAW
Definition:
VideoFormat.java:37
org.openkinect.freenect.VideoFormat.RGB
RGB
Definition:
VideoFormat.java:31
org.openkinect.freenect.VideoFormat.IR_10BIT_PACKED
IR_10BIT_PACKED
Definition:
VideoFormat.java:35
org.openkinect.freenect.VideoFormat
Definition:
VideoFormat.java:30
libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42