Class Picture


  • public final class Picture
    extends Object
    Picture.
    • Constructor Detail

      • Picture

        public Picture​(uk.co.caprica.vlcj.binding.internal.libvlc_picture_t picture)
        Create a picture.
        Parameters:
        picture - native picture instance
      • Picture

        public Picture​(int width,
                       int height,
                       PictureType type,
                       int stride,
                       long time,
                       byte[] buffer,
                       int size)
    • Method Detail

      • width

        public int width()
        Get the picture width.
        Returns:
        width
      • height

        public int height()
        Get the picture height.
        Returns:
        height
      • stride

        public int stride()
        Get the picture stride (depth).
        Returns:
        stride
      • type

        public PictureType type()
        Get the picture type.
        Returns:
        type
      • time

        public long time()
        Get the timestamp when the picture was taken.
        Returns:
        time
      • buffer

        public byte[] buffer()
        Get the picture buffer.
        Returns:
        buffer
      • size

        public int size()
        Get the picture buffer size.
        Returns:
        buffer size