Class SubPicture

java.lang.Object
bdsup2sub.supstream.SubPicture
Direct Known Subclasses:
SubPictureBD, SubPictureDVD, SubPictureHD, SubPictureXml

public class SubPicture extends Object
  • Field Details

    • imageWidth

      private int imageWidth
      width of subtitle image
    • imageHeight

      private int imageHeight
      height of subtitle image
    • xOffset

      private int xOffset
      upper left corner of subtitle x
    • yOffset

      private int yOffset
      upper left corner of subtitle y
    • width

      private int width
      screen width
    • height

      private int height
      screen height
    • startTime

      private long startTime
      start time in milliseconds
    • endTime

      private long endTime
      end time in milliseconds
    • forced

      private boolean forced
      if true, this is a forced subtitle
    • compositionNumber

      private int compositionNumber
      composition number - increased at start and end PCS
    • wasDecoded

      private boolean wasDecoded
      frame was already decoded
    • excluded

      private boolean excluded
      exclude from export?
    • erasePatch

      private List<ErasePatch> erasePatch
      list of erase patches
  • Constructor Details

    • SubPicture

      public SubPicture()
    • SubPicture

      public SubPicture(SubPicture other)
  • 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

      public List<ErasePatch> getErasePatch()
    • setErasePatch

      public void setErasePatch(List<ErasePatch> erasePatch)