Codec manipulation, 41 codec manipulation, Codec interface – Google Flix Engine Linux Reference Manual User Manual
Page 183: Codec, Flix2_addcodec(), Functions, 1 function documentation
5.41 Codec Manipulation
177
5.41
Codec Manipulation
Functions
•
∗pPlgn, const
flix, const char
∗plgn_name)
Add a codec to the encoder’s codec chain.
•
plgn)
Remove a codec from the encoder’s codec chain.
•
on2sc Flix2_CodecSetParamAsStr
plgn, const char ∗name, const
∗value)
Set the value of a parameter in a codec instance using a string representation.
•
on2sc Flix2_CodecGetParamAsStr
plgn, const char ∗name,
∗value,
∗len)
Retrieve the value of a parameter in a codec instance represented as a string.
•
plgn, const char ∗name, double inDblVal)
Set the value of a parameter in a codec instance using a double representation.
•
plgn,
const
char
∗name,
double
∗outDblVal)
Retrieve the value of a parameter in a codec instance represented as a double.
5.41.1
Function Documentation
5.41.1.1
on2sc Flix2_AddCodec (FLIX2PLGNHANDLE ∗ pPlgn, const FLIX2HANDLE flix, const
char ∗ plgn_name)
Add a codec to the encoder’s codec chain.
Initializes a FLIX2PLGNHANDLE mapped to plgn_name for use in subsequent codec calls.
Parameters:
→ pPlgn Storage location to receive the value of the created FLIX2PLGNHANDLE
← flix Handle to the flix engine returned from
or
← plgn_name Name of the codec to add to the chain
Return values:
the engine successfully added the codec and initialized a FLIX2PLGNHANDLE for use in
codec related functions.
should one or more of the preconditions fail
memory could not be allocated for the FLIX2PLGNHANDLE
the underlying communication layer failed
Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen