
public static enum Codec.CodecCapability extends Enum<Codec.CodecCapability>
| Enum Constant and Description |
|---|
CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
|
CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container
|
CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to
give the complete and correct output. NOTE: If this flag is not set, the codec is guaranteed to never be fed with with NULL data. |
CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
If not set, it might not use get_buffer() at all or use operations that assume the buffer was allocated by avcodec_default_get_buffer. |
CAP_DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
|
CAP_EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental
encoders |
CAP_FRAME_THREADS
Codec supports frame-level multithreading.
|
CAP_HWACCEL |
CAP_HWACCEL_VDPAU
Codec can export data for HW decoding (VDPAU).
|
CAP_INTRA_ONLY
Codec is intra only.
|
CAP_LOSSLESS
Codec is lossless.
|
CAP_NEG_LINESIZES
Codec is able to deal with negative linesizes
|
CAP_PARAM_CHANGE
Codec supports changed parameters at any point.
|
CAP_SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
|
CAP_SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
This can be used to prevent truncation of the last audio samples. |
CAP_SUBFRAMES
Codec can output multiple frames per AVPacket
Normally demuxers return one frame at a time, demuxers which do not do are connected to a parser to split what they return into proper frames. This flag is reserved to the very rare category of codecs which have a bitstream that cannot be split into frames without timeconsuming operations like full decoding. |
CAP_TRUNCATED |
CAP_VARIABLE_FRAME_SIZE
Audio encoder supports receiving a different number of samples in each call.
|
| Modifier and Type | Method and Description |
|---|---|
static Codec.CodecCapability |
swigToEnum(int swigValue) |
int |
swigValue() |
static Codec.CodecCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Codec.CodecCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Codec.CodecCapability CAP_DRAW_HORIZ_BAND
public static final Codec.CodecCapability CAP_DR1
public static final Codec.CodecCapability CAP_TRUNCATED
public static final Codec.CodecCapability CAP_HWACCEL
public static final Codec.CodecCapability CAP_DELAY
public static final Codec.CodecCapability CAP_SMALL_LAST_FRAME
public static final Codec.CodecCapability CAP_HWACCEL_VDPAU
public static final Codec.CodecCapability CAP_SUBFRAMES
public static final Codec.CodecCapability CAP_EXPERIMENTAL
public static final Codec.CodecCapability CAP_CHANNEL_CONF
public static final Codec.CodecCapability CAP_NEG_LINESIZES
public static final Codec.CodecCapability CAP_FRAME_THREADS
public static final Codec.CodecCapability CAP_SLICE_THREADS
public static final Codec.CodecCapability CAP_PARAM_CHANGE
public static final Codec.CodecCapability CAP_AUTO_THREADS
public static final Codec.CodecCapability CAP_VARIABLE_FRAME_SIZE
public static final Codec.CodecCapability CAP_INTRA_ONLY
public static final Codec.CodecCapability CAP_LOSSLESS
public static Codec.CodecCapability[] values()
for (Codec.CodecCapability c : Codec.CodecCapability.values()) System.out.println(c);
public static Codec.CodecCapability 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 Codec.CodecCapability swigToEnum(int swigValue)
Copyright © 2018 Humble Software. All rights reserved.