public class TheoraInfo extends HighLevelOggStreamPacket implements TheoraPacket
TYPE_COMMENTS, TYPE_IDENTIFICATION, TYPE_SETUP
Constructor and Description |
---|
TheoraInfo() |
TheoraInfo(OggPacket pkt) |
Modifier and Type | Method and Description |
---|---|
int |
getColourSpace()
Colour space, from the indexed list
|
int |
getFrameHeight()
The height of a frame, in Pixels
|
int |
getFrameHeightMB()
The height of a frame, in Macro Blocks
|
long |
getFrameNumBlocks()
The number of blocks in a frame
|
long |
getFrameNumMacroBlocks()
The number of marco blocks in a frame
|
long |
getFrameNumSuperBlocks()
The number of super blocks in a frame
|
long |
getFrameRateDenominator()
The frame rate denominator
|
long |
getFrameRateNumerator()
The frame rate numerator
|
int |
getFrameWidth()
The width of a frame, in Pixels
|
int |
getFrameWidthMB()
The width of a frame, in Macro Blocks
|
int |
getKeyFrameNumberGranuleShift()
Shift for splitting the granule position between
the frame number of the last frame, and the number
of frames since then
|
int |
getMajorVersion() |
int |
getMinorVersion() |
long |
getNominalBitrate()
Nominal bitrate, in bits per second, or zero if the
encoder couldn't guess
|
long |
getPictureRegionHeight()
The height of the picture region, in pixels
|
long |
getPictureRegionWidth()
The width of the picture region, in pixels
|
int |
getPictureRegionXOffset()
The x offset to the start of the picture region, in pixels
|
int |
getPictureRegionYOffset()
The y offset to the start of the picture region, in pixels
|
long |
getPixelAspectDenomerator()
Pixel aspect ratio denomerator
|
long |
getPixelAspectNumerator()
Pixel aspect ratio numerator
|
int |
getPixelFormat()
????
|
int |
getQualityHint()
Quality hint - higher is better
|
int |
getRevisionVersion() |
String |
getVersion() |
void |
setColourSpace(int colourSpace) |
void |
setFrameHeightMB(int frameHeightMB) |
void |
setFrameNumBlocks(long frameNumBlocks) |
void |
setFrameNumMacroBlocks(long frameNumMacroBlocks) |
void |
setFrameNumSuperBlocks(long frameNumSuperBlocks) |
void |
setFrameRateDenominator(long frameRateDenominator) |
void |
setFrameRateNumerator(long frameRateNumerator) |
void |
setFrameWidthMB(int frameWidthMB) |
void |
setKeyFrameNumberGranuleShift(int keyFrameNumberGranuleShift) |
void |
setNominalBitrate(long nominalBitrate) |
void |
setPictureRegionHeight(long pictureRegionHeight) |
void |
setPictureRegionWidth(long pictureRegionWidth) |
void |
setPictureRegionXOffset(int pictureRegionXOffset) |
void |
setPictureRegionYOffset(int pictureRegionYOffset) |
void |
setPixelAspectDenomerator(long pixelAspectDenomerator) |
void |
setPixelAspectNumerator(long pixelAspectNumerator) |
void |
setPixelFormat(int pixelFormat) |
void |
setQualityHint(int qualityHint) |
OggPacket |
write() |
getData, getOggPacket, setData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, setData
public TheoraInfo()
public TheoraInfo(OggPacket pkt)
public OggPacket write()
write
in interface OggStreamPacket
write
in class HighLevelOggStreamPacket
public String getVersion()
public int getMajorVersion()
public int getMinorVersion()
public int getRevisionVersion()
public int getFrameWidth()
public int getFrameHeight()
public int getFrameWidthMB()
public void setFrameWidthMB(int frameWidthMB)
public int getFrameHeightMB()
public void setFrameHeightMB(int frameHeightMB)
public long getFrameNumSuperBlocks()
public void setFrameNumSuperBlocks(long frameNumSuperBlocks)
public long getFrameNumBlocks()
public void setFrameNumBlocks(long frameNumBlocks)
public long getFrameNumMacroBlocks()
public void setFrameNumMacroBlocks(long frameNumMacroBlocks)
public long getPictureRegionWidth()
public void setPictureRegionWidth(long pictureRegionWidth)
public long getPictureRegionHeight()
public void setPictureRegionHeight(long pictureRegionHeight)
public int getPictureRegionXOffset()
public void setPictureRegionXOffset(int pictureRegionXOffset)
public int getPictureRegionYOffset()
public void setPictureRegionYOffset(int pictureRegionYOffset)
public long getFrameRateNumerator()
public void setFrameRateNumerator(long frameRateNumerator)
public long getFrameRateDenominator()
public void setFrameRateDenominator(long frameRateDenominator)
public long getPixelAspectNumerator()
public void setPixelAspectNumerator(long pixelAspectNumerator)
public long getPixelAspectDenomerator()
public void setPixelAspectDenomerator(long pixelAspectDenomerator)
public int getColourSpace()
public void setColourSpace(int colourSpace)
public int getPixelFormat()
public void setPixelFormat(int pixelFormat)
public long getNominalBitrate()
public void setNominalBitrate(long nominalBitrate)
public int getQualityHint()
public void setQualityHint(int qualityHint)
public int getKeyFrameNumberGranuleShift()
public void setKeyFrameNumberGranuleShift(int keyFrameNumberGranuleShift)
Copyright © 2015. All rights reserved.