|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.desy.video.sw.CVideoHeader2
public final class CVideoHeader2
CVideoHeader2
implements marshalling 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 | |
---|---|
CVideoHeader2()
performs default initialisation of private members |
Method Summary | |
---|---|
boolean |
import_from_bytebuf(byte[] buf)
interprets an input array (buf) as a Video System v2 header. |
boolean |
packageV2BlobIntoIMAGE(java.lang.String aCamPort,
byte[] aImageV2blob,
IMAGE aDestImage)
interprets an input array (aImageV2blob) as a Video System v2 data block (header plus possibly additional format header plus image bits). |
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 CVideoHeader2()
Method Detail |
---|
public boolean packageV2BlobIntoIMAGE(java.lang.String aCamPort, byte[] aImageV2blob, IMAGE aDestImage)
aCamPort
- camera port description to be put in resulting IMAGE aDestImageaImageV2blob
- input data set (should contain VSv2 image data block)aDestImage
- TINE IMAGE datatype output
public boolean import_from_bytebuf(byte[] buf)
buf
- VSv2 header as byte array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |