org.jaudiotagger.audio.asf.data
Class VideoStreamChunk
java.lang.Object
org.jaudiotagger.audio.asf.data.Chunk
org.jaudiotagger.audio.asf.data.StreamChunk
org.jaudiotagger.audio.asf.data.VideoStreamChunk
public class VideoStreamChunk
- extends StreamChunk
- Author:
- Christian Laireiter
Field Summary |
private byte[] |
codecId
Stores the codecs id. |
private long |
pictureHeight
This field stores the height of the video stream. |
private long |
pictureWidth
This field stores the width of the video stream. |
Constructor Summary |
VideoStreamChunk(java.math.BigInteger chunkLen)
Creates an instance. |
Methods inherited from class org.jaudiotagger.audio.asf.data.StreamChunk |
getStreamNumber, getStreamSpecificDataSize, getStreamType, getTimeOffset, getTypeSpecificDataSize, isContentEncrypted, setContentEncrypted, setStreamNumber, setStreamSpecificDataSize, setTimeOffset, setTypeSpecificDataSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
codecId
private byte[] codecId
- Stores the codecs id. Normally the Four-CC (4-Bytes).
pictureHeight
private long pictureHeight
- This field stores the height of the video stream.
pictureWidth
private long pictureWidth
- This field stores the width of the video stream.
VideoStreamChunk
public VideoStreamChunk(java.math.BigInteger chunkLen)
- Creates an instance.
- Parameters:
chunkLen
- Length of the entire chunk (including guid and size)
getCodecId
public byte[] getCodecId()
- Returns:
- Returns the codecId.
getCodecIdAsString
public java.lang.String getCodecIdAsString()
- Returns the
getCodecId()
, as a String, where each byte has been
converted to a char
.
- Returns:
- Codec Id as String.
getPictureHeight
public long getPictureHeight()
- Returns:
- Returns the pictureHeight.
getPictureWidth
public long getPictureWidth()
- Returns:
- Returns the pictureWidth.
prettyPrint
public java.lang.String prettyPrint(java.lang.String prefix)
- (overridden)
- Overrides:
prettyPrint
in class StreamChunk
- Parameters:
prefix
- each line gets this string prepended.
- Returns:
- Information of current Chunk Object.
- See Also:
StreamChunk.prettyPrint(String)
setCodecId
public void setCodecId(byte[] codecIdentifier)
- Parameters:
codecIdentifier
- The codecId to set.
setPictureHeight
public void setPictureHeight(long picHeight)
- Parameters:
picHeight
-
setPictureWidth
public void setPictureWidth(long picWidth)
- Parameters:
picWidth
-