Package bdsup2sub.supstream.bd
Class SubPictureBD
java.lang.Object
bdsup2sub.supstream.SubPicture
bdsup2sub.supstream.bd.SubPictureBD
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Configurationprivate List<ImageObject>list of ODS packets containing image infoprivate intobjectID 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 intFPS type (e.g.private intheight of subtitle window (might be larger than image)private intwidth of subtitle window (might be larger than image)private intupper left corner of subtitle window xprivate intupper left corner of subtitle window y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint(package private) ImageObjectGet image object containing RLE data(package private) ImageObjectgetImageObject(int index) Get image object containing RLE dataint(package private) intintgetType()intintint(package private) intint(package private) intbooleanisMergableWith(SubPictureBD previous) private booleanisThisImageObjectIdenticalWith(ImageObject previousImageObject) voidsetObjectID(int objectID) voidsetType(int type) voidsetWindowHeight(int windowHeight) voidsetWindowWidth(int windowWidth) voidsetXWindowOffset(int xWindowOffset) voidsetYWindowOffset(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:
getImageWidthin classSubPicture
-
getImageHeight
public int getImageHeight()- Overrides:
getImageHeightin classSubPicture
-
getXOffset
public int getXOffset()- Overrides:
getXOffsetin classSubPicture
-
getYOffset
public int getYOffset()- Overrides:
getYOffsetin 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
-