Package com.avpkit.core
Enum IStreamCoder.Flags
- java.lang.Object
-
- java.lang.Enum<IStreamCoder.Flags>
-
- com.avpkit.core.IStreamCoder.Flags
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<IStreamCoder.Flags>
- Enclosing class:
- IStreamCoder
public static enum IStreamCoder.Flags extends java.lang.Enum<IStreamCoder.Flags>
AVPKIT Flags that can be passed to the setFlag(Flags, bool) method
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLAG_4MV4 MV per MB allowed / advanced prediction for H.263.FLAG_AC_PREDH.263 advanced intra coding / MPEG-4 AC predictionFLAG_BITEXACTUse only bitexact stuff (except (I)DCT).FLAG_CBP_RDUse rate distortion optimization for cbp.FLAG_CLOSED_GOPFLAG_EMU_EDGEDon't draw edges.FLAG_GLOBAL_HEADERPlace global headers in extradata instead of every keyframe.FLAG_GMCUse GMC.FLAG_GRAYOnly decode/encode grayscale.FLAG_INPUT_PRESERVEDThe parent program guarantees that the input for B-frames containing
streams is not written to for at least s->max_b_frames+1 frames, if
this is not set the input will be copied.FLAG_INTERLACED_DCTUse interlaced DCT.FLAG_INTERLACED_MEinterlaced motion estimationFLAG_LOOP_FILTERloop filterFLAG_LOW_DELAYForce low delay.FLAG_MV0FLAG_NORMALIZE_AQPInput bitstream might be truncated at a random
location instead of only at frame boundaries.FLAG_PASS1Use internal 2pass ratecontrol in first pass mode.FLAG_PASS2Use internal 2pass ratecontrol in second pass mode.FLAG_PSNRerror[?] variables will be set during encoding.FLAG_QP_RDUse rate distortion optimization for qp selectioon.FLAG_QPELUse qpel MC.FLAG_QSCALEUse fixed qscale.FLAG_TRUNCATEDFLAG2_CHUNKSInput bitstream might be truncated at a packet boundaries instead of only at frame boundaries.FLAG2_FASTAllow non spec compliant speedup tricks.FLAG2_LOCAL_HEADERPlace global headers at every keyframe instead of in extradata.FLAG2_NO_OUTPUTSkip bitstream encoding.FLAG2_SHOW_ALLShow all frames before the first keyframeFLAG2_SKIP_RDRD optimal MB level residual skippingFLAG2_STRICT_GOPStrictly enforce GOP size.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IStreamCoder.FlagsswigToEnum(int swigValue)intswigValue()static IStreamCoder.FlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static IStreamCoder.Flags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLAG_QSCALE
public static final IStreamCoder.Flags FLAG_QSCALE
Use fixed qscale.
-
FLAG_4MV
public static final IStreamCoder.Flags FLAG_4MV
4 MV per MB allowed / advanced prediction for H.263.
-
FLAG_QPEL
public static final IStreamCoder.Flags FLAG_QPEL
Use qpel MC.
-
FLAG_GMC
public static final IStreamCoder.Flags FLAG_GMC
Use GMC.
-
FLAG_MV0
public static final IStreamCoder.Flags FLAG_MV0
-
FLAG_INPUT_PRESERVED
public static final IStreamCoder.Flags FLAG_INPUT_PRESERVED
The parent program guarantees that the input for B-frames containing
streams is not written to for at least s->max_b_frames+1 frames, if
this is not set the input will be copied.
-
FLAG_PASS1
public static final IStreamCoder.Flags FLAG_PASS1
Use internal 2pass ratecontrol in first pass mode.
-
FLAG_PASS2
public static final IStreamCoder.Flags FLAG_PASS2
Use internal 2pass ratecontrol in second pass mode.
-
FLAG_GRAY
public static final IStreamCoder.Flags FLAG_GRAY
Only decode/encode grayscale.
-
FLAG_EMU_EDGE
public static final IStreamCoder.Flags FLAG_EMU_EDGE
Don't draw edges.
-
FLAG_PSNR
public static final IStreamCoder.Flags FLAG_PSNR
error[?] variables will be set during encoding.
-
FLAG_TRUNCATED
public static final IStreamCoder.Flags FLAG_TRUNCATED
-
FLAG_NORMALIZE_AQP
public static final IStreamCoder.Flags FLAG_NORMALIZE_AQP
Input bitstream might be truncated at a random
location instead of only at frame boundaries. Normalize adaptive quantization.
-
FLAG_INTERLACED_DCT
public static final IStreamCoder.Flags FLAG_INTERLACED_DCT
Use interlaced DCT.
-
FLAG_LOW_DELAY
public static final IStreamCoder.Flags FLAG_LOW_DELAY
Force low delay.
-
FLAG_GLOBAL_HEADER
public static final IStreamCoder.Flags FLAG_GLOBAL_HEADER
Place global headers in extradata instead of every keyframe.
-
FLAG_BITEXACT
public static final IStreamCoder.Flags FLAG_BITEXACT
Use only bitexact stuff (except (I)DCT).
-
FLAG_AC_PRED
public static final IStreamCoder.Flags FLAG_AC_PRED
H.263 advanced intra coding / MPEG-4 AC prediction
-
FLAG_CBP_RD
public static final IStreamCoder.Flags FLAG_CBP_RD
Use rate distortion optimization for cbp.
-
FLAG_QP_RD
public static final IStreamCoder.Flags FLAG_QP_RD
Use rate distortion optimization for qp selectioon.
-
FLAG_LOOP_FILTER
public static final IStreamCoder.Flags FLAG_LOOP_FILTER
loop filter
-
FLAG_INTERLACED_ME
public static final IStreamCoder.Flags FLAG_INTERLACED_ME
interlaced motion estimation
-
FLAG_CLOSED_GOP
public static final IStreamCoder.Flags FLAG_CLOSED_GOP
-
FLAG2_FAST
public static final IStreamCoder.Flags FLAG2_FAST
Allow non spec compliant speedup tricks.
-
FLAG2_STRICT_GOP
public static final IStreamCoder.Flags FLAG2_STRICT_GOP
Strictly enforce GOP size.
-
FLAG2_NO_OUTPUT
public static final IStreamCoder.Flags FLAG2_NO_OUTPUT
Skip bitstream encoding.
-
FLAG2_LOCAL_HEADER
public static final IStreamCoder.Flags FLAG2_LOCAL_HEADER
Place global headers at every keyframe instead of in extradata.
-
FLAG2_SKIP_RD
public static final IStreamCoder.Flags FLAG2_SKIP_RD
RD optimal MB level residual skipping
-
FLAG2_CHUNKS
public static final IStreamCoder.Flags FLAG2_CHUNKS
Input bitstream might be truncated at a packet boundaries instead of only at frame boundaries.
-
FLAG2_SHOW_ALL
public static final IStreamCoder.Flags FLAG2_SHOW_ALL
Show all frames before the first keyframe
-
-
Method Detail
-
values
public static IStreamCoder.Flags[] 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 (IStreamCoder.Flags c : IStreamCoder.Flags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IStreamCoder.Flags 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
-
swigValue
public final int swigValue()
-
swigToEnum
public static IStreamCoder.Flags swigToEnum(int swigValue)
-
-