public static enum PixelFormatDescriptor.Flag extends Enum<PixelFormatDescriptor.Flag>
| Enum Constant and Description |
|---|
PIX_FMT_FLAG_ALPHA
The pixel format has an alpha channel.
|
PIX_FMT_FLAG_BE
Pixel format is big-endian.
|
PIX_FMT_FLAG_BITSTREAM
All values of a component are bit-wise packed end to end.
|
PIX_FMT_FLAG_HWACCEL
Pixel format is an HW accelerated format.
|
PIX_FMT_FLAG_PAL
Pixel format has a palette in data[1], values are indexes in this palette.
|
PIX_FMT_FLAG_PLANAR
At least one pixel component is not in the first data plane.
|
PIX_FMT_FLAG_PSEUDOPAL
The pixel format is "pseudo-paletted".
|
PIX_FMT_FLAG_RGB
The pixel format contains RGB-like data (as opposed to YUV/grayscale).
|
| Modifier and Type | Method and Description |
|---|---|
static PixelFormatDescriptor.Flag |
swigToEnum(int swigValue) |
int |
swigValue() |
static PixelFormatDescriptor.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PixelFormatDescriptor.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_BE
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_PAL
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_BITSTREAM
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_HWACCEL
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_PLANAR
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_RGB
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_PSEUDOPAL
public static final PixelFormatDescriptor.Flag PIX_FMT_FLAG_ALPHA
public static PixelFormatDescriptor.Flag[] values()
for (PixelFormatDescriptor.Flag c : PixelFormatDescriptor.Flag.values()) System.out.println(c);
public static PixelFormatDescriptor.Flag valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int swigValue()
public static PixelFormatDescriptor.Flag swigToEnum(int swigValue)
Copyright © 2018 Humble Software. All rights reserved.