Enum openh264_sys2::ENCODER_OPTION [−][src]
#[repr(i32)]
pub enum ENCODER_OPTION {
Show 32 variants
ENCODER_OPTION_DATAFORMAT,
ENCODER_OPTION_IDR_INTERVAL,
ENCODER_OPTION_SVC_ENCODE_PARAM_BASE,
ENCODER_OPTION_SVC_ENCODE_PARAM_EXT,
ENCODER_OPTION_FRAME_RATE,
ENCODER_OPTION_BITRATE,
ENCODER_OPTION_MAX_BITRATE,
ENCODER_OPTION_INTER_SPATIAL_PRED,
ENCODER_OPTION_RC_MODE,
ENCODER_OPTION_RC_FRAME_SKIP,
ENCODER_PADDING_PADDING,
ENCODER_OPTION_PROFILE,
ENCODER_OPTION_LEVEL,
ENCODER_OPTION_NUMBER_REF,
ENCODER_OPTION_DELIVERY_STATUS,
ENCODER_LTR_RECOVERY_REQUEST,
ENCODER_LTR_MARKING_FEEDBACK,
ENCODER_LTR_MARKING_PERIOD,
ENCODER_OPTION_LTR,
ENCODER_OPTION_COMPLEXITY,
ENCODER_OPTION_ENABLE_SSEI,
ENCODER_OPTION_ENABLE_PREFIX_NAL_ADDING,
ENCODER_OPTION_SPS_PPS_ID_STRATEGY,
ENCODER_OPTION_CURRENT_PATH,
ENCODER_OPTION_DUMP_FILE,
ENCODER_OPTION_TRACE_LEVEL,
ENCODER_OPTION_TRACE_CALLBACK,
ENCODER_OPTION_TRACE_CALLBACK_CONTEXT,
ENCODER_OPTION_GET_STATISTICS,
ENCODER_OPTION_STATISTICS_LOG_INTERVAL,
ENCODER_OPTION_IS_LOSSLESS_LINK,
ENCODER_OPTION_BITS_VARY_PERCENTAGE,
}
Expand description
@brief Option types introduced in SVC encoder application
Variants
< IDR period,0/-1 means no Intra period (only the first frame); lager than 0 means the desired IDR period, must be multiple of (2^temporal_layer)
< structure of Base Param
< structure of Extension Param
< maximal input frame rate, current supported range: MAX_FRAME_RATE = 30,MIN_FRAME_RATE = 1
< 0:disable padding;1:padding
< assgin the profile for each layer
< assgin the level for each layer
< the number of refererence frame
< the delivery info which is a feedback from app level
< 0:disable LTR;larger than 0 enable LTR; LTR number is fixed to be 2 in current encoder
< enable SSEI: true–enable ssei; false–disable ssei
< enable prefix: true–enable prefix; false–disable prefix
< different stategy in adjust ID in SPS/PPS: 0- constant ID, 1-additional ID, 6-mapping and additional
< dump layer reconstruct frame to a specified file
< trace info based on the trace level
< a void ()(void context, int level, const char* message) function which receives log messages
< context info of trace callback
< read only
< log interval in millisecond
< advanced algorithmetic settings
< bit vary percentage
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ENCODER_OPTION
impl Send for ENCODER_OPTION
impl Sync for ENCODER_OPTION
impl Unpin for ENCODER_OPTION
impl UnwindSafe for ENCODER_OPTION
Blanket Implementations
Mutably borrows from an owned value. Read more