Flix2_codecgetparam(), Flix2_codecgetparamasstr, Flix2_codecgetparam – Google Flix Engine Linux Reference Manual User Manual

Page 184

Advertising
background image

178

Flix Engine Linux Module Documentation

Precondition:

pPlgn

is not NULL

flix

is not NULL

plgn_name

is not NULL

See also:

Codecs

5.41.1.2

on2sc Flix2_CodecGetParam (FLIX2PLGNHANDLE plgn, const char ∗ name, double ∗
outDblVal)

Retrieve the value of a parameter in a codec instance represented as a double.

Parameters:

← plgn Handle to the codec returned from

Flix2_AddCodec()

← name Name of the parameter to retrieve

→ outDblVal Storage location to receive the value

Return values:

ON2_OK

on success

ON2_INVALID_PARAMS

should the precondition fail

ON2_NOT_SUPP

the codec does not support this parameter/representation

ON2_NET_ERROR

the underlying communication layer failed

Precondition:

plgn

is not NULL

outDblVal

is not NULL

See also:

Codecs

5.41.1.3

on2sc Flix2_CodecGetParamAsStr (FLIX2PLGNHANDLE plgn, const char ∗ name,
on2tc ∗ value, int32_t ∗ len)

Retrieve the value of a parameter in a codec instance represented as a string.

Parameters:

← plgn Handle to the codec returned from

Flix2_AddCodec()

← name Name of the parameter to retrieve

→ value Storage location to receive the value

↔ len Pointer to buffer length variable. Should contain the maximum size of the buffer. This call

updates this variable with the size of the returned string.

Return values:

ON2_OK

on success

Generated on Tue Jul 20 17:39:03 2010 for Flix Engine Linux by Doxygen

Advertising