TrellisControl

Description

 

 

The TrellisControl enumerator is used to control trellis quantization in AVC encoder. The application can turn it on or off for any combination of I, P and B frames by combining different enumerator values. For example, “MFX_TRELLIS_I | MFX_TRELLIS_B” turns it on for I and B frames.

Due to performance reason on some target usages trellis quantization is always turned off and this control is ignored by the SDK encoder.

 

Name/Description

 

 

MFX_TRELLIS_UNKNOWN

Default value, it is up to the SDK encoder to turn trellis quantization on or off.

 

 

MFX_TRELLIS_OFF

Turn trellis quantization off for all frame types.

 

 

MFX_TRELLIS_I

Turn trellis quantization on for I frames.

 

 

MFX_TRELLIS_P

Turn trellis quantization on for P frames.

 

 

MFX_TRELLIS_B

Turn trellis quantization on for B frames.

 

Change History

 

This enumerator is available since SDK API 1.7.

 

For more complete information about compiler optimizations, see our Optimization Notice.