Enum SoRemoteVizClient.VideoDecoderType
- java.lang.Object
-
- java.lang.Enum<SoRemoteVizClient.VideoDecoderType>
-
- com.openinventor.remoteviz.clients.nodes.SoRemoteVizClient.VideoDecoderType
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoRemoteVizClient.VideoDecoderType>
- Enclosing class:
- SoRemoteVizClient
public static enum SoRemoteVizClient.VideoDecoderType extends java.lang.Enum<SoRemoteVizClient.VideoDecoderType> implements IntegerValuedEnum
Video decoder values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTEL_QUICKSYNC
Intel QuickSync enables to use an Intel CPU or GPU for H.264 and VP9 hardware accelerated decoding.NONE
The video decoder is not yet initialized or the streaming mode is not StreamingMode.VIDEO.NVDECODE
NVIDIA Video Codec enables to use an NVIDIA GPU for H.264 and VP9 hardware accelerated decoding.OPENH264
OpenH264 is a H.264 software decoding implementation.VPX
libvpx is a VP9 software decoding implementation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoRemoteVizClient.VideoDecoderType
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoRemoteVizClient.VideoDecoderType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoRemoteVizClient.VideoDecoderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SoRemoteVizClient.VideoDecoderType NONE
The video decoder is not yet initialized or the streaming mode is not StreamingMode.VIDEO.
-
OPENH264
public static final SoRemoteVizClient.VideoDecoderType OPENH264
OpenH264 is a H.264 software decoding implementation.
It does not require specific hardware.
-
INTEL_QUICKSYNC
public static final SoRemoteVizClient.VideoDecoderType INTEL_QUICKSYNC
Intel QuickSync enables to use an Intel CPU or GPU for H.264 and VP9 hardware accelerated decoding.
It requires compatible hardware and Intel Media SDK. See https://ark.intel.com/ to check the hardware compatibility.
This decoder is not supported on macOS.
-
NVDECODE
public static final SoRemoteVizClient.VideoDecoderType NVDECODE
NVIDIA Video Codec enables to use an NVIDIA GPU for H.264 and VP9 hardware accelerated decoding.
It requires compatible hardware and CUDA toolkit 10.1 or higher. See https://developer.nvidia.com/nvidia-video-codec-sdk to check the hardware compatibility.
This decoder is not supported on macOS.
-
VPX
public static final SoRemoteVizClient.VideoDecoderType VPX
libvpx is a VP9 software decoding implementation.
It does not require specific hardware.
-
-
Method Detail
-
values
public static SoRemoteVizClient.VideoDecoderType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoRemoteVizClient.VideoDecoderType c : SoRemoteVizClient.VideoDecoderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoRemoteVizClient.VideoDecoderType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoRemoteVizClient.VideoDecoderType valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-