Package bdsup2sub.supstream.bd
Class SubPictureBD
java.lang.Object
bdsup2sub.supstream.SubPicture
bdsup2sub.supstream.bd.SubPictureBD
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Configuration
private List<ImageObject>
list of ODS packets containing image infoprivate int
objectID used in decoded objectprivate List<List<PaletteInfo>>
list of (list of) palette info - there are up to 8 palettes per epoch, each can be updated several timesprivate int
FPS type (e.g.private int
height of subtitle window (might be larger than image)private int
width of subtitle window (might be larger than image)private int
upper left corner of subtitle window xprivate int
upper left corner of subtitle window y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
(package private) ImageObject
Get image object containing RLE data(package private) ImageObject
getImageObject
(int index) Get image object containing RLE dataint
(package private) int
int
getType()
int
int
int
(package private) int
int
(package private) int
boolean
isMergableWith
(SubPictureBD previous) private boolean
isThisImageObjectIdenticalWith
(ImageObject previousImageObject) void
setObjectID
(int objectID) void
setType
(int type) void
setWindowHeight
(int windowHeight) void
setWindowWidth
(int windowWidth) void
setXWindowOffset
(int xWindowOffset) void
setYWindowOffset
(int yWindowOffset) Methods inherited from class bdsup2sub.supstream.SubPicture
getCompositionNumber, getEndTime, getErasePatch, getHeight, getStartTime, getWidth, isExcluded, isForced, isWasDecoded, setCompositionNumber, setEndTime, setErasePatch, setExcluded, setForced, setHeight, setImageHeight, setImageWidth, setOfsX, setOfsY, setStartTime, setWasDecoded, setWidth
-
Field Details
-
configuration
-
objectID
private int objectIDobjectID used in decoded object -
imageObjectList
list of ODS packets containing image info -
windowWidth
private int windowWidthwidth of subtitle window (might be larger than image) -
windowHeight
private int windowHeightheight of subtitle window (might be larger than image) -
xWindowOffset
private int xWindowOffsetupper left corner of subtitle window x -
yWindowOffset
private int yWindowOffsetupper left corner of subtitle window y -
type
private int typeFPS type (e.g. 0x10 = 24p) -
palettes
list of (list of) palette info - there are up to 8 palettes per epoch, each can be updated several times
-
-
Constructor Details
-
SubPictureBD
public SubPictureBD() -
SubPictureBD
-
-
Method Details
-
isMergableWith
-
isThisImageObjectIdenticalWith
-
getImageWidth
public int getImageWidth()- Overrides:
getImageWidth
in classSubPicture
-
getImageHeight
public int getImageHeight()- Overrides:
getImageHeight
in classSubPicture
-
getXOffset
public int getXOffset()- Overrides:
getXOffset
in classSubPicture
-
getYOffset
public int getYOffset()- Overrides:
getYOffset
in classSubPicture
-
getImageObject
Get image object containing RLE data- Parameters:
index
- index of subtitle- Returns:
- image object containing RLE data
-
getImageObject
ImageObject getImageObject()Get image object containing RLE data- Returns:
- image object containing RLE data
-
getObjectID
int getObjectID() -
setObjectID
public void setObjectID(int objectID) -
getImageObjectList
-
getWindowWidth
public int getWindowWidth() -
setWindowWidth
public void setWindowWidth(int windowWidth) -
getWindowHeight
public int getWindowHeight() -
setWindowHeight
public void setWindowHeight(int windowHeight) -
getXWindowOffset
int getXWindowOffset() -
setXWindowOffset
public void setXWindowOffset(int xWindowOffset) -
getYWindowOffset
int getYWindowOffset() -
setYWindowOffset
public void setYWindowOffset(int yWindowOffset) -
getType
public int getType() -
setType
public void setType(int type) -
getPalettes
-