Package bdsup2sub.supstream.dvd
Interface DvdSubtitleStream
- All Superinterfaces:
SubtitleStream
Interface fot SUB/IDX and SUP/IFO handling.
-
Method Summary
Modifier and TypeMethodDescriptionint[]
getFrameAlpha
(int index) Get frame alpha values.int[]
getFramePalette
(int index) Get frame Palette.int
Get language index read from Idx.int[]
getOriginalFrameAlpha
(int index) Get original frame alpha values (as they were before editing).int[]
getOriginalFramePalette
(int index) Get original frame Palette (as they were before editing).Get imported 16 color DVD Palette.void
setSrcPalette
(Palette pal) Replace imported 16 color DVD Palette with a new Palette.Methods inherited from interface bdsup2sub.supstream.SubtitleStream
close, decode, getBitmap, getEndTime, getForcedFrameCount, getFrameCount, getImage, getImage, getPalette, getPrimaryColorIndex, getStartOffset, getStartTime, getSubPicture, isForced
-
Method Details
-
getFrameAlpha
int[] getFrameAlpha(int index) Get frame alpha values.- Parameters:
index
- Index of caption- Returns:
- Integer array with 4 entries representing the frame alpha values
-
getFramePalette
int[] getFramePalette(int index) Get frame Palette.- Parameters:
index
- Index of caption- Returns:
- Integer array with 4 entries representing the frame palette
-
getOriginalFrameAlpha
int[] getOriginalFrameAlpha(int index) Get original frame alpha values (as they were before editing).- Parameters:
index
- Index of caption- Returns:
- Integer array with 4 entries representing the original frame alpha values.
-
getOriginalFramePalette
int[] getOriginalFramePalette(int index) Get original frame Palette (as they were before editing).- Parameters:
index
- index of caption- Returns:
- Integer array with 4 entries representing the original frame palette.
-
getSrcPalette
Palette getSrcPalette()Get imported 16 color DVD Palette.- Returns:
- Imported 16 color DVD Palette.
-
setSrcPalette
Replace imported 16 color DVD Palette with a new Palette.- Parameters:
pal
- New Palette
-
getLanguageIndex
int getLanguageIndex()Get language index read from Idx.- Returns:
- language index.
-