public enum CodecCapability extends Enum<CodecCapability>
| Enum Constant and Description |
|---|
AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
|
CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of
container
|
DELAY
Encoder or decoder requires flushing with NULL input at the end in order
to give the complete and correct output.
|
DR1
Codec uses get_buffer() for allocating buffers and supports custom
allocators.
|
DRAW_HORIZ_BAND
Decoder can use draw_horiz_band callback.
|
EXPERIMENTAL
Codec is experimental and is thus avoided in favor of non experimental
encoders
|
FRAME_THREADS
Codec supports frame-level multithreading.
|
HWACCEL
Codec can export data for HW decoding (XvMC).
|
HWACCEL_VDPAU
Codec can export data for HW decoding (VDPAU).
|
INTRA_ONLY
Codec is intra only.
|
LOSSLESS
Codec is lossless.
|
NEG_LINESIZES
Codec is able to deal with negative linesizes
|
PARAM_CHANGE
Codec supports changed parameters at any point.
|
SLICE_THREADS
Codec supports slice-based (or partition-based) multithreading.
|
SMALL_LAST_FRAME
Codec can be fed a final frame with a smaller size.
|
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.
|
TRUNCATED |
VARIABLE_FRAME_SIZE
Audio encoder supports receiving a different number of samples in each
call.
|
| Modifier and Type | Method and Description |
|---|---|
static CodecCapability |
byId(int id)
Get a
CodecCapability that matches to the specified FFmpeg id. |
int |
value()
Get the codec capability id defined in FFmpeg.
|
static CodecCapability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodecCapability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodecCapability DRAW_HORIZ_BAND
public static final CodecCapability DR1
public static final CodecCapability TRUNCATED
public static final CodecCapability HWACCEL
public static final CodecCapability DELAY
public static final CodecCapability SMALL_LAST_FRAME
public static final CodecCapability HWACCEL_VDPAU
public static final CodecCapability SUBFRAMES
public static final CodecCapability EXPERIMENTAL
public static final CodecCapability CHANNEL_CONF
public static final CodecCapability NEG_LINESIZES
public static final CodecCapability FRAME_THREADS
public static final CodecCapability SLICE_THREADS
public static final CodecCapability PARAM_CHANGE
public static final CodecCapability AUTO_THREADS
public static final CodecCapability VARIABLE_FRAME_SIZE
public static final CodecCapability INTRA_ONLY
public static final CodecCapability LOSSLESS
public static CodecCapability[] values()
for (CodecCapability c : CodecCapability.values()) System.out.println(c);
public static 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 value()
public static CodecCapability byId(int id)
CodecCapability that matches to the specified FFmpeg id.id - FFmpeg codec capability id.null if id is not defined.Copyright © 2013. All Rights Reserved.