|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.desy.acop.video.displayer.VideoHeaderV2
public final class VideoHeaderV2
VideoHeaderV2
implements marshaling of a Video System v2 (VSv2)
data array (usually just received via the network) to a Video System v3 TINE
IMAGE datatype for usage with the rest of Video System v3 Java code.
Note:This class is only a very basic construct and might be
substantially changed in future. It fits its purpose currently but will not
win a price for meaningful class design!
Field Summary | |
---|---|
static int |
HDRSIZE
size in bytes of a VSv2 header that each VSv2 data array starts off with |
static long |
HUFFYUV_FOURCC
video codec typical FOURCC (four character code) of HUFFYUV 'HFYU' |
Constructor Summary | |
---|---|
VideoHeaderV2()
|
Method Summary | |
---|---|
boolean |
packageV2BlobIntoIMAGE(java.lang.String cameraPortName,
byte[] imageV2blob,
de.desy.tine.types.IMAGE destTineImage)
interprets an input array (aImageV2blob) as a Video System v2 data block (header plus possibly additional format header plus image bits). |
boolean |
parseImageV2blob(byte[] buf)
interprets an input array (buffer) as a Video System v2 header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int HDRSIZE
public static final long HUFFYUV_FOURCC
Constructor Detail |
---|
public VideoHeaderV2()
Method Detail |
---|
public boolean packageV2BlobIntoIMAGE(java.lang.String cameraPortName, byte[] imageV2blob, de.desy.tine.types.IMAGE destTineImage)
cameraPortName
- camera port description to be put in resulting IMAGE
aDestImageimageV2blob
- input data set (should contain VSv2 image data block)destTineImage
- TINE IMAGE datatype output
public boolean parseImageV2blob(byte[] buf)
buf
- VSv2 header as byte array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |