org.mobicents.media.server.impl.resource.mediaplayer.mpeg
Class VisualSampleEntry

java.lang.Object
  extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
      extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SampleEntry
          extended by org.mobicents.media.server.impl.resource.mediaplayer.mpeg.VisualSampleEntry

public class VisualSampleEntry
extends SampleEntry

Author:
amit bhayani

Field Summary
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.SampleEntry
dataReferenceIndex, reserved
 
Fields inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
bytetoTypeMap
 
Constructor Summary
VisualSampleEntry(long size)
           
 
Method Summary
 CleanApertureBox getCleanApertureBox()
           
 java.lang.String getCompressorname()
           
 int getDepth()
           
 ESDBox getESDBox()
           
 int getFrameCount()
           
 int getHeight()
           
 double getHorizresolution()
           
 PixelAspectRatioBox getPixelAspectRatioBox()
           
 int[] getPredefined()
           
 double getVertresolution()
           
 int getWidth()
           
protected  int load(java.io.DataInputStream fin)
          Loads Box from stream.
 
Methods inherited from class org.mobicents.media.server.impl.resource.mediaplayer.mpeg.Box
comparebytes, getSize, getType, read, read16, read24, read32, readFixedPoint1616, readText, readType, readU32, readU64
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VisualSampleEntry

public VisualSampleEntry(long size)
Method Detail

load

protected int load(java.io.DataInputStream fin)
            throws java.io.IOException
Description copied from class: Box
Loads Box from stream.

Overrides:
load in class SampleEntry
Parameters:
fin - the stream to load box from
Returns:
the number of bytes readed from stream; *
Throws:
java.io.IOException - if some I/O error occured.

getPredefined

public int[] getPredefined()

getWidth

public int getWidth()

getHeight

public int getHeight()

getHorizresolution

public double getHorizresolution()

getVertresolution

public double getVertresolution()

getFrameCount

public int getFrameCount()

getCompressorname

public java.lang.String getCompressorname()

getDepth

public int getDepth()

getPixelAspectRatioBox

public PixelAspectRatioBox getPixelAspectRatioBox()

getCleanApertureBox

public CleanApertureBox getCleanApertureBox()

getESDBox

public ESDBox getESDBox()


Copyright © 2010. All Rights Reserved.