org.jcodec.containers.mp4.boxes
Class VideoSampleEntry

java.lang.Object
  extended by org.jcodec.containers.mp4.boxes.Box
      extended by org.jcodec.containers.mp4.boxes.NodeBox
          extended by org.jcodec.containers.mp4.boxes.SampleEntry
              extended by org.jcodec.containers.mp4.boxes.VideoSampleEntry
Direct Known Subclasses:
AVC1Box

public class VideoSampleEntry
extends SampleEntry

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Describes video payload sample

Author:
The JCodec project

Nested Class Summary
static class VideoSampleEntry.MyFactory
           
 
Field Summary
 
Fields inherited from class org.jcodec.containers.mp4.boxes.NodeBox
boxes, factory
 
Fields inherited from class org.jcodec.containers.mp4.boxes.Box
header
 
Constructor Summary
VideoSampleEntry(Header atom)
           
VideoSampleEntry(Header atom, short version, short revision, String vendor, int temporalQual, int spacialQual, short width, short height, long hRes, long vRes, short frameCount, String compressorName, short depth, short drefInd, short clrTbl)
           
 
Method Summary
 void doWrite(ByteBuffer out)
           
 void dump(StringBuilder sb)
           
 String getCompressorName()
           
 long getDepth()
           
 long getFrameCount()
           
 int getHeight()
           
 float gethRes()
           
 String getVendor()
           
 float getvRes()
           
 int getWidth()
           
 void parse(ByteBuffer input)
           
 
Methods inherited from class org.jcodec.containers.mp4.boxes.SampleEntry
getDrefInd, parseExtensions, setDrefInd, setMediaType, writeExtensions
 
Methods inherited from class org.jcodec.containers.mp4.boxes.NodeBox
add, addFirst, dumpBoxes, getBoxes, newBox, parseBox, parseChildBox, removeChildren, replace
 
Methods inherited from class org.jcodec.containers.mp4.boxes.Box
as, findAll, findAll, findFirst, findFirst, getFourcc, getHeader, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VideoSampleEntry

public VideoSampleEntry(Header atom,
                        short version,
                        short revision,
                        String vendor,
                        int temporalQual,
                        int spacialQual,
                        short width,
                        short height,
                        long hRes,
                        long vRes,
                        short frameCount,
                        String compressorName,
                        short depth,
                        short drefInd,
                        short clrTbl)

VideoSampleEntry

public VideoSampleEntry(Header atom)
Method Detail

parse

public void parse(ByteBuffer input)
Overrides:
parse in class SampleEntry

doWrite

public void doWrite(ByteBuffer out)
Overrides:
doWrite in class SampleEntry

getWidth

public int getWidth()

getHeight

public int getHeight()

gethRes

public float gethRes()

getvRes

public float getvRes()

getFrameCount

public long getFrameCount()

getCompressorName

public String getCompressorName()

getDepth

public long getDepth()

getVendor

public String getVendor()

dump

public void dump(StringBuilder sb)
Overrides:
dump in class NodeBox


Copyright © 2013. All Rights Reserved.