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

ENCODER_OPTION_DATAFORMAT
ENCODER_OPTION_IDR_INTERVAL

< 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)

ENCODER_OPTION_SVC_ENCODE_PARAM_BASE

< structure of Base Param

ENCODER_OPTION_SVC_ENCODE_PARAM_EXT

< structure of Extension Param

ENCODER_OPTION_FRAME_RATE

< maximal input frame rate, current supported range: MAX_FRAME_RATE = 30,MIN_FRAME_RATE = 1

ENCODER_OPTION_BITRATE
ENCODER_OPTION_MAX_BITRATE
ENCODER_OPTION_INTER_SPATIAL_PRED
ENCODER_OPTION_RC_MODE
ENCODER_OPTION_RC_FRAME_SKIP
ENCODER_PADDING_PADDING

< 0:disable padding;1:padding

ENCODER_OPTION_PROFILE

< assgin the profile for each layer

ENCODER_OPTION_LEVEL

< assgin the level for each layer

ENCODER_OPTION_NUMBER_REF

< the number of refererence frame

ENCODER_OPTION_DELIVERY_STATUS

< the delivery info which is a feedback from app level

ENCODER_LTR_RECOVERY_REQUEST
ENCODER_LTR_MARKING_FEEDBACK
ENCODER_LTR_MARKING_PERIOD
ENCODER_OPTION_LTR

< 0:disable LTR;larger than 0 enable LTR; LTR number is fixed to be 2 in current encoder

ENCODER_OPTION_COMPLEXITY
ENCODER_OPTION_ENABLE_SSEI

< enable SSEI: true–enable ssei; false–disable ssei

ENCODER_OPTION_ENABLE_PREFIX_NAL_ADDING

< enable prefix: true–enable prefix; false–disable prefix

ENCODER_OPTION_SPS_PPS_ID_STRATEGY

< different stategy in adjust ID in SPS/PPS: 0- constant ID, 1-additional ID, 6-mapping and additional

ENCODER_OPTION_CURRENT_PATH
ENCODER_OPTION_DUMP_FILE

< dump layer reconstruct frame to a specified file

ENCODER_OPTION_TRACE_LEVEL

< trace info based on the trace level

ENCODER_OPTION_TRACE_CALLBACK

< a void ()(void context, int level, const char* message) function which receives log messages

ENCODER_OPTION_TRACE_CALLBACK_CONTEXT

< context info of trace callback

ENCODER_OPTION_GET_STATISTICS

< read only

ENCODER_OPTION_STATISTICS_LOG_INTERVAL

< log interval in millisecond

< advanced algorithmetic settings

ENCODER_OPTION_BITS_VARY_PERCENTAGE

< bit vary percentage

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.