entagged.audioformats.asf.data
Class VideoStreamChunk

java.lang.Object
  extended by entagged.audioformats.asf.data.Chunk
      extended by entagged.audioformats.asf.data.StreamChunk
          extended by entagged.audioformats.asf.data.VideoStreamChunk

public class VideoStreamChunk
extends StreamChunk

Author:
Christian Laireiter

Field Summary
 
Fields inherited from class entagged.audioformats.asf.data.Chunk
chunkLength, guid, position
 
Constructor Summary
VideoStreamChunk(long pos, BigInteger chunkLen)
          Creates an instance.
 
Method Summary
 byte[] getCodecId()
           
 String getCodecIdAsString()
          Returns the getCodecId(), as a String, where each byte has been converted to a char.
 long getPictureHeight()
           
 long getPictureWidth()
           
 String prettyPrint()
          (overridden)
 void setCodecId(byte[] codecId)
           
 void setPictureHeight(long picHeight)
           
 void setPictureWidth(long picWidth)
           
 
Methods inherited from class entagged.audioformats.asf.data.StreamChunk
getStreamNumber, getStreamSpecificDataSize, getTimeOffset, getTypeSpecificDataSize, isContentEncrypted, setContentEncrypted, setStreamNumber, setStreamSpecificDataSize, setTimeOffset, setTypeSpecificDataSize
 
Methods inherited from class entagged.audioformats.asf.data.Chunk
getChunckEnd, getChunkLength, getGuid, getPosition, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VideoStreamChunk

public VideoStreamChunk(long pos,
                        BigInteger chunkLen)
Creates an instance.

Parameters:
pos - Position of the current chunk in the asf file or stream.
chunkLen - Length of the entire chunk (including guid and size)
Method Detail

getCodecId

public byte[] getCodecId()
Returns:
Returns the codecId.

getCodecIdAsString

public 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 String prettyPrint()
(overridden)

Overrides:
prettyPrint in class StreamChunk
Returns:
Information of current Chunk Object.
See Also:
StreamChunk.prettyPrint()

setCodecId

public void setCodecId(byte[] codecId)
Parameters:
codecId - The codecId to set.

setPictureHeight

public void setPictureHeight(long picHeight)
Parameters:
picHeight -

setPictureWidth

public void setPictureWidth(long picWidth)
Parameters:
picWidth -


Copyright © 2007-2008. All Rights Reserved.