java.lang.Object
org.mbari.vcr4j.rs422.RS422Timecode
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byte[]static final byte[]static final byte[]static final byte[]static final byte[]static final RS422Timecode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intbyteToHourOrFrame(byte b) static intbyteToMinuteOrSecond(byte b) static intbyteToTime(byte b) Deprecated.Don't use.booleanbyte[]inthashCode()static booleanisTimecodeReply(byte[] cmd) static bytetimeToByte(int i) toString()
-
Field Details
-
ZERO
-
ALT_LTC_TIMECODE
public static final byte[] ALT_LTC_TIMECODE -
LTC_TIMECODE
public static final byte[] LTC_TIMECODE -
TIMER1_TIMECODE
public static final byte[] TIMER1_TIMECODE -
TIMER2_TIMECODE
public static final byte[] TIMER2_TIMECODE -
VTC_TIMECODE
public static final byte[] VTC_TIMECODE
-
-
Constructor Details
-
RS422Timecode
public RS422Timecode(byte[] timecodeBytes)
-
-
Method Details
-
byteToHourOrFrame
public static int byteToHourOrFrame(byte b) -
byteToMinuteOrSecond
public static int byteToMinuteOrSecond(byte b) -
byteToTime
public static int byteToTime(byte b) Deprecated.Don't use. In some cases it will return the wrong frame value. See setTimecodeBytesConvert a byte representing a timecode value to a number- Parameters:
b- A byte of timecode- Returns:
- The decimal timecode value corresponding to the input byte.
-
timeToByte
public static byte timeToByte(int i) -
toString
-
getTimecode
-
getTimecodeBytes
public byte[] getTimecodeBytes() -
isTimecodeReply
public static boolean isTimecodeReply(byte[] cmd) -
equals
-
hashCode
public int hashCode()
-