Class VideoEncodeAcceleratorCapability


  • public class VideoEncodeAcceleratorCapability
    extends java.lang.Object
    Describes a supported video encoding profile with its associated maximum resolution and maximum framerate
    • Method Summary

      Modifier and Type Method Description
      java.lang.Integer getMaxFramerateDenominator()  
      java.lang.Integer getMaxFramerateNumerator()
      Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g.
      Size getMaxResolution()
      Maximum video dimensions in pixels supported for this |profile|.
      java.lang.String getProfile()
      Video codec profile that is supported, e.g H264 Main.
      void setMaxFramerateDenominator​(java.lang.Integer maxFramerateDenominator)  
      void setMaxFramerateNumerator​(java.lang.Integer maxFramerateNumerator)
      Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g.
      void setMaxResolution​(Size maxResolution)
      Maximum video dimensions in pixels supported for this |profile|.
      void setProfile​(java.lang.String profile)
      Video codec profile that is supported, e.g H264 Main.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VideoEncodeAcceleratorCapability

        public VideoEncodeAcceleratorCapability()
    • Method Detail

      • getProfile

        public java.lang.String getProfile()
        Video codec profile that is supported, e.g H264 Main.
      • setProfile

        public void setProfile​(java.lang.String profile)
        Video codec profile that is supported, e.g H264 Main.
      • getMaxResolution

        public Size getMaxResolution()
        Maximum video dimensions in pixels supported for this |profile|.
      • setMaxResolution

        public void setMaxResolution​(Size maxResolution)
        Maximum video dimensions in pixels supported for this |profile|.
      • getMaxFramerateNumerator

        public java.lang.Integer getMaxFramerateNumerator()
        Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.
      • setMaxFramerateNumerator

        public void setMaxFramerateNumerator​(java.lang.Integer maxFramerateNumerator)
        Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. 24/1 fps, 24000/1001 fps, etc.
      • getMaxFramerateDenominator

        public java.lang.Integer getMaxFramerateDenominator()
      • setMaxFramerateDenominator

        public void setMaxFramerateDenominator​(java.lang.Integer maxFramerateDenominator)