
5.56 Deprecated 261
Return values:
ON2_OK The bitrate enable status was successfully retrieved from the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
If a value other than ON2_OK is returned, the output variables should not be considered valid.
Deprecated
Use the Codec Interface along with the FE2_CODECPARAM_BITRATE parameter. This function
will be removed in a future release. See also:
Video Codecs.
5.56.2.12 on2sc video_options_GetVideoCodec (const FLIX2HANDLE flix, FE2_VideoCodec ∗
pVideoCodec)
Determine which video codec will be used.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
→ pVideoCodec Current video codec (one of FE2_VideoCodec)
Return values:
ON2_OK The selected video codec was successfully retrieved from the engine.
ON2_NET_ERROR The underlying communication layer failed.
Note:
If a value other than ON2_OK is returned, the output variables should not be considered valid.
Deprecated
Use the Codec Interface. This function will be removed in a future release. See also: Video Codecs.
5.56.2.13 on2sc video_options_SetAlphaPercentage (FLIX2HANDLE flix, const int32_t
percentage)
Sets the percentage of the video bitrate to be used to encode the alpha channel.
Parameters:
← flix Handle to the Flix Engine returned from Flix2_Create() or Flix2_CreateEx()
← percentage Alpha percentage
Return values:
ON2_OK Success.
ON2_INVALID_PARAMS The value is out of range.
ON2_NET_ERROR The underlying communication layer failed.
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen
Komentarze do niniejszej Instrukcji