Package bdsup2sub.supstream
Class SubPicture
java.lang.Object
bdsup2sub.supstream.SubPicture
- Direct Known Subclasses:
SubPictureBD
,SubPictureDVD
,SubPictureHD
,SubPictureXml
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
composition number - increased at start and end PCSprivate long
end time in millisecondsprivate List<ErasePatch>
list of erase patchesprivate boolean
exclude from export?private boolean
if true, this is a forced subtitleprivate int
screen heightprivate int
height of subtitle imageprivate int
width of subtitle imageprivate long
start time in millisecondsprivate boolean
frame was already decodedprivate int
screen widthprivate int
upper left corner of subtitle xprivate int
upper left corner of subtitle y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
long
int
int
int
long
int
getWidth()
int
int
boolean
boolean
isForced()
boolean
void
setCompositionNumber
(int compositionNumber) void
setEndTime
(long endTime) void
setErasePatch
(List<ErasePatch> erasePatch) void
setExcluded
(boolean excluded) void
setForced
(boolean forced) void
setHeight
(int height) void
setImageHeight
(int h) void
setImageWidth
(int w) void
setOfsX
(int ofs) void
setOfsY
(int ofs) void
setStartTime
(long startTime) void
setWasDecoded
(boolean wasDecoded) void
setWidth
(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
-