Functions | |
on2sc | Flix2_AddMuxer (FLIX2PLGNHANDLE *pPlgn, const FLIX2HANDLE flix, const char *plgn_name) |
Set the desired muxer. | |
on2sc | Flix2_RemoveMuxer (FLIX2PLGNHANDLE plgn) |
Remove the specified muxer. | |
on2sc | Flix2_MuxerSetParamAsStr (FLIX2PLGNHANDLE plgn, const char *name, const on2tc *value) |
Set the value of a parameter in a muxer instance using a string representation. | |
on2sc | Flix2_MuxerGetParamAsStr (FLIX2PLGNHANDLE plgn, const char *name, on2tc *value, int32_t *len) |
Retrieve the value of a parameter in a muxer instance represented as a string. | |
on2sc | Flix2_MuxerSetParam (FLIX2PLGNHANDLE plgn, const char *name, double inDblVal) |
Set the value of a parameter in a muxer instance using a double representation. | |
on2sc | Flix2_MuxerGetParam (FLIX2PLGNHANDLE plgn, const char *name, double *outDblVal) |
Retrieve the value of a parameter in a muxer instance represented as a double. |
on2sc Flix2_AddMuxer | ( | FLIX2PLGNHANDLE * | pPlgn, | |
const FLIX2HANDLE | flix, | |||
const char * | plgn_name | |||
) |
Set the desired muxer.
Initializes a FLIX2PLGNHANDLE
mapped to plgn_name
for use in subsequent muxer calls.
[out] | pPlgn | Storage location to receive the value of the created FLIX2PLGNHANDLE |
[in] | flix | Handle to the flix engine returned from Flix2_Create() or Flix2_CreateEx() |
[in] | plgn_name | Name of the desired muxer |
ON2_OK | the engine successfully added the muxer and initialized a FLIX2PLGNHANDLE for use in muxer related functions. | |
ON2_INVALID_PARAMS | should one or more of the preconditions fail | |
ON2_NO_MEM | memory could not be allocated for the FLIX2PLGNHANDLE |
NULL
NULL
NULL
on2sc Flix2_MuxerGetParam | ( | FLIX2PLGNHANDLE | plgn, | |
const char * | name, | |||
double * | outDblVal | |||
) |
Retrieve the value of a parameter in a muxer instance represented as a double.
[in] | plgn | Handle to the muxer returned from Flix2_AddMuxer() |
[in] | name | Name of the parameter to retrieve |
[out] | outDblVal | Storage location to receive the value |
ON2_OK | on success | |
ON2_INVALID_PARAMS | should the precondition fail | |
ON2_NOT_SUPP | the muxer does not support this parameter/representation |
NULL
NULL
on2sc Flix2_MuxerGetParamAsStr | ( | FLIX2PLGNHANDLE | plgn, | |
const char * | name, | |||
on2tc * | value, | |||
int32_t * | len | |||
) |
Retrieve the value of a parameter in a muxer instance represented as a string.
[in] | plgn | Handle to the muxer returned from Flix2_AddMuxer() |
[in] | name | Name of the parameter to retrieve |
[out] | value | Storage location to receive the value |
[in,out] | 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. |
ON2_OK | on success | |
ON2_INVALID_PARAMS | should one or more of the preconditions fail | |
ON2_NOT_SUPP | the muxer does not support this parameter |
NULL
NULL
NULL
on2sc Flix2_MuxerSetParam | ( | FLIX2PLGNHANDLE | plgn, | |
const char * | name, | |||
double | inDblVal | |||
) |
Set the value of a parameter in a muxer instance using a double representation.
[in] | plgn | Handle to the muxer returned from Flix2_AddMuxer() |
[in] | name | Name of the parameter to set |
[in] | inDblVal | New value for the parameter |
ON2_OK | on success | |
ON2_INVALID_PARAMS | should the precondition fail | |
ON2_NOT_SUPP | the muxer does not support this parameter |
NULL
on2sc Flix2_MuxerSetParamAsStr | ( | FLIX2PLGNHANDLE | plgn, | |
const char * | name, | |||
const on2tc * | value | |||
) |
Set the value of a parameter in a muxer instance using a string representation.
[in] | plgn | Handle to the muxer returned from Flix2_AddMuxer() |
[in] | name | Name of the parameter to set |
[in] | value | New value for the parameter |
ON2_OK | on success | |
ON2_INVALID_PARAMS | should the precondition fail | |
ON2_NOT_SUPP | the muxer does not support this parameter |
NULL
on2sc Flix2_RemoveMuxer | ( | FLIX2PLGNHANDLE | plgn | ) |
Remove the specified muxer.
[in] | plgn | Handle to the muxer returned from Flix2_AddMuxer() |
ON2_OK | on success | |
ON2_INVALID_PARAMS | should the precondition fail |
NULL