-
public final class VideoEncodeAcceleratorCapabilityDescribes a supported video encoding profile with its associated maximum resolution and maximum framerate.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringprofileprivate final SizemaxResolutionprivate final IntegermaxFramerateNumeratorprivate final IntegermaxFramerateDenominator
-
Constructor Summary
Constructors Constructor Description VideoEncodeAcceleratorCapability(String profile, Size maxResolution, Integer maxFramerateNumerator, Integer maxFramerateDenominator)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Sizecomponent2()final Integercomponent3()final Integercomponent4()final VideoEncodeAcceleratorCapabilitycopy(String profile, Size maxResolution, Integer maxFramerateNumerator, Integer maxFramerateDenominator)final StringgetProfile()Video codec profile that is supported, e.g H264 Main. final SizegetMaxResolution()Maximum video dimensions in pixels supported for this |profile|. final IntegergetMaxFramerateNumerator()Maximum encoding framerate in frames per second supported for this |profile|, as fraction's numerator and denominator, e.g. final IntegergetMaxFramerateDenominator()-
-
Method Detail
-
component1
final String component1()
-
component2
final Size component2()
-
component3
final Integer component3()
-
component4
final Integer component4()
-
copy
final VideoEncodeAcceleratorCapability copy(String profile, Size maxResolution, Integer maxFramerateNumerator, Integer maxFramerateDenominator)
-
getProfile
final String getProfile()
Video codec profile that is supported, e.g H264 Main.
-
getMaxResolution
final Size getMaxResolution()
Maximum video dimensions in pixels supported for this |profile|.
-
getMaxFramerateNumerator
final 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.
-
getMaxFramerateDenominator
final Integer getMaxFramerateDenominator()
-
-
-
-