public static enum FrameEncoders.Encoders extends java.lang.Enum<FrameEncoders.Encoders> implements IntegerValuedEnum
Enum Constant and Description |
---|
H264_NVENC
H.264 encoder using Nvidia Video Codec.
|
H264_OPENH264
H.264 encoder using OpenH264.
|
JPEG
JPEG encoder.
|
NONE
Internal usage.
|
PNG
PNG encoder.
|
Modifier and Type | Method and Description |
---|---|
static FrameEncoders.Encoders |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static FrameEncoders.Encoders |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static FrameEncoders.Encoders |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FrameEncoders.Encoders[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FrameEncoders.Encoders NONE
public static final FrameEncoders.Encoders JPEG
public static final FrameEncoders.Encoders PNG
public static final FrameEncoders.Encoders H264_NVENC
public static final FrameEncoders.Encoders H264_OPENH264
public static FrameEncoders.Encoders[] values()
for (FrameEncoders.Encoders c : FrameEncoders.Encoders.values()) System.out.println(c);
public static FrameEncoders.Encoders valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static FrameEncoders.Encoders fromValue(int val)
valueOf(int)
instead.public static FrameEncoders.Encoders valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com