
5.15 VP6 with Alpha 53
5.15 VP6 with Alpha
5.15.1 Detailed Description
The VP6 codec with support for an alpha channel.
Example Usage:
sc = Flix2_AddCodec(&codec, flix, FE2_CODEC_VP6ALPHA);
//Use 380kbit for the video ..
if(sc == ON2_OK)
sc = Flix2_CodecSetParam(codec, FE2_VP6A_BITRATE, 380.0);
//..and 68kbit for the alpha channel
if(sc == ON2_OK)
sc = Flix2_CodecSetParam(codec, FE2_VP6A_ALPHA_BITRATE, 68.0);
As mentioned in the VP6 section Defaults dependent on bits per pixel some of the codec parameters are
determined by the bits per pixel in the output. Currently the alpha channel parameters, e.g. FE2_VP6A_-
ALPHA_MIN_Q, match their VP6 equivalents.
Codec name
• #define FE2_CODEC_VP6ALPHA
Codec name for use with Flix2_AddCodec().
General VP6 settings
• #define FE2_VP6A_BITRATE
Alias for FE2_CODECPARAM_BITRATE.
• #define FE2_VP6A_ALPHA_BITRATE
Compressed bitrate of the alpha channel in kbit/s.
• #define FE2_VP6A_KFINTTYPE
Alias for FE2_VP6_KFINTTYPE.
• #define FE2_VP6A_KFFREQ
Alias for FE2_VP6_KFFREQ.
• #define FE2_VP6A_RC_MODE
Alias for FE2_VCODECPARAM_RC_MODE.
• #define FE2_VP6A_CXMODE
Alias for FE2_VP6_CXMODE.
• #define FE2_VP6A_SHARPNESS
Alias for FE2_VP6_SHARPNESS.
• #define FE2_VP6A_ALPHA_SHARPNESS
Sharpness for the alpha channel.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji