Class VLCVideoPlayer.VLCCodecInterface

java.lang.Object
com.igrium.videolib.vlc.VLCVideoPlayer.VLCCodecInterface
All Implemented Interfaces:
CodecInterface
Enclosing class:
VLCVideoPlayer

public class VLCVideoPlayer.VLCCodecInterface extends Object implements CodecInterface
  • Constructor Details

    • VLCCodecInterface

      public VLCCodecInterface()
  • Method Details

    • getWidth

      public int getWidth()
      Description copied from interface: CodecInterface
      Get the width of the video.
      Specified by:
      getWidth in interface CodecInterface
      Returns:
      Width in pixels.
    • getHeight

      public int getHeight()
      Description copied from interface: CodecInterface
      Get the height of the video.
      Specified by:
      getHeight in interface CodecInterface
      Returns:
      Height in pixels.
    • getFrameRate

      public float getFrameRate()
      Description copied from interface: CodecInterface
      Get the frame rate of this video.
      Specified by:
      getFrameRate in interface CodecInterface
      Returns:
      Frames per second.
    • getAspectRatio

      public float getAspectRatio()
      Description copied from interface: CodecInterface
      Get the aspect ratio of this video.
      Specified by:
      getAspectRatio in interface CodecInterface
      Returns:
      The aspect ratio in the form [x]:1, where x is this return value. If the video uses square pixels, this is equivilent to getWidth() / getHeight()