Package bdsup2sub.supstream
Class SubPicture
java.lang.Object
bdsup2sub.supstream.SubPicture
- Direct Known Subclasses:
SubPictureBD,SubPictureDVD,SubPictureHD,SubPictureXml
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intcomposition number - increased at start and end PCSprivate longend time in millisecondsprivate List<ErasePatch>list of erase patchesprivate booleanexclude from export?private booleanif true, this is a forced subtitleprivate intscreen heightprivate intheight of subtitle imageprivate intwidth of subtitle imageprivate longstart time in millisecondsprivate booleanframe was already decodedprivate intscreen widthprivate intupper left corner of subtitle xprivate intupper left corner of subtitle y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongintintintlongintgetWidth()intintbooleanbooleanisForced()booleanvoidsetCompositionNumber(int compositionNumber) voidsetEndTime(long endTime) voidsetErasePatch(List<ErasePatch> erasePatch) voidsetExcluded(boolean excluded) voidsetForced(boolean forced) voidsetHeight(int height) voidsetImageHeight(int h) voidsetImageWidth(int w) voidsetOfsX(int ofs) voidsetOfsY(int ofs) voidsetStartTime(long startTime) voidsetWasDecoded(boolean wasDecoded) voidsetWidth(int width)
-
Field Details
-
imageWidth
private int imageWidthwidth of subtitle image -
imageHeight
private int imageHeightheight of subtitle image -
xOffset
private int xOffsetupper left corner of subtitle x -
yOffset
private int yOffsetupper left corner of subtitle y -
width
private int widthscreen width -
height
private int heightscreen height -
startTime
private long startTimestart time in milliseconds -
endTime
private long endTimeend time in milliseconds -
forced
private boolean forcedif true, this is a forced subtitle -
compositionNumber
private int compositionNumbercomposition number - increased at start and end PCS -
wasDecoded
private boolean wasDecodedframe was already decoded -
excluded
private boolean excludedexclude from export? -
erasePatch
list of erase patches
-
-
Constructor Details
-
SubPicture
public SubPicture() -
SubPicture
-
-
Method Details
-
getImageWidth
public int getImageWidth() -
getImageHeight
public int getImageHeight() -
getXOffset
public int getXOffset() -
getYOffset
public int getYOffset() -
setImageWidth
public void setImageWidth(int w) -
setImageHeight
public void setImageHeight(int h) -
setOfsX
public void setOfsX(int ofs) -
setOfsY
public void setOfsY(int ofs) -
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHeight
public int getHeight() -
setHeight
public void setHeight(int height) -
getStartTime
public long getStartTime() -
setStartTime
public void setStartTime(long startTime) -
getEndTime
public long getEndTime() -
setEndTime
public void setEndTime(long endTime) -
isForced
public boolean isForced() -
setForced
public void setForced(boolean forced) -
getCompositionNumber
public int getCompositionNumber() -
setCompositionNumber
public void setCompositionNumber(int compositionNumber) -
isWasDecoded
public boolean isWasDecoded() -
setWasDecoded
public void setWasDecoded(boolean wasDecoded) -
isExcluded
public boolean isExcluded() -
setExcluded
public void setExcluded(boolean excluded) -
getErasePatch
-
setErasePatch
-