org.jaudiotagger.audio.asf.data
Class VideoStreamChunk

java.lang.Object
  extended by org.jaudiotagger.audio.asf.data.Chunk
      extended by org.jaudiotagger.audio.asf.data.StreamChunk
          extended by 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.
 
Fields inherited from class org.jaudiotagger.audio.asf.data.Chunk
chunkLength, guid, position
 
Constructor Summary
VideoStreamChunk(java.math.BigInteger chunkLen)
          Creates an instance.
 
Method Summary
 byte[] getCodecId()
           
 java.lang.String getCodecIdAsString()
          Returns the getCodecId(), as a String, where each byte has been converted to a char.
 long getPictureHeight()
           
 long getPictureWidth()
           
 java.lang.String prettyPrint(java.lang.String prefix)
          (overridden)
 void setCodecId(byte[] codecIdentifier)
           
 void setPictureHeight(long picHeight)
           
 void setPictureWidth(long picWidth)
           
 
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 org.jaudiotagger.audio.asf.data.Chunk
getChunckEnd, getChunkEnd, getChunkLength, getGuid, getPosition, setPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

VideoStreamChunk

public VideoStreamChunk(java.math.BigInteger chunkLen)
Creates an instance.

Parameters:
chunkLen - Length of the entire chunk (including guid and size)
Method Detail

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 -