![Texas Instruments DM365 Скачать руководство пользователя страница 109](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517109.webp)
API Reference
4-63
4.6.3 Control
API
Control API is used for controlling the functioning of the algorithm instance
during run-time. This is done by changing the status of the controllable
parameters of the algorithm during run-time. These controllable parameters
are defined in the
DynamicParams
data structure (see Data Structures
section for details).
║
Name
control()
– change run-time parameters and query the status
║
Synopsis
XDAS_Int32 (*control) (IVIDENC1_Handle handle,
IVIDENC1_Cmd id, IVIDENC1_DynamicParams *params,
IVIDENC1_Status *status);
║
Arguments
IVIDENC1_Handle handle; /* algorithm instance handle */
IVIDENC1_Cmd id;
/* algorithm specific control commands*/
IVIDENC1_DynamicParams *params
/*
algorithm
run-time
parameters */
IVIDENC1_Status *status
/*
algorithm instance status
parameters */
║
Return Value
IALG_EOK; /* status indicating success */
IALG_EFAIL; /* status indicating failure */
║
Description
This function changes the run-time parameters of an algorithm instance
and queries the algorithm’s status.
control()
must only be called after a
successful call to
algInit()
and must never be called after a call to
algFree()
.
The first argument to
control()
is a handle to an algorithm instance.
The second argument is an algorithm specific control command. See
XDM_CmdId
enumeration for details.
The third and fourth arguments are pointers to the
IVIDENC1_DynamicParams
and
IVIDENC1_Status
data structures
respectively.
Содержание DM365
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 24: ...Introduction 1 12 This page is intentionally left blank ...
Страница 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Страница 116: ...API Reference 4 70 This page is intentionally left blank ...
Страница 120: ...Error Description B 2 This page is intentionally left blank ...
Страница 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Страница 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Страница 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...