API Reference
4-37
║
Name
process()
– basic encoding/decoding call
║
Synopsis
XDAS_Int32 (*process)(IVIDENC1_Handle handle,
IVIDEO1_BufDescIn *inBufs, XDM_BufDesc *outBufs,
IVIDENC1_InArgs *inargs, IVIDENC1_OutArgs *outargs);
║
Arguments
IVIDENC1_Handle handle; /* algorithm instance handle */
IVIDEO1_BufDescIn *inBufs; /* algorithm input buffer
descriptor */
XDM_BufDesc *outBufs; /* algorithm output buffer
descriptor */
IVIDENC1_InArgs *inargs /* algorithm runtime input
arguments */
IVIDENC1_OutArgs *outargs /* algorithm runtime output
arguments */
║
Return Value
IALG_EOK; /* status indicating success */
IALG_EFAIL; /* status indicating failure */
║
Description
This function does the basic encoding/decoding. The first argument to
process()
is a handle to an algorithm instance.
The second argument is a pointer to the input buffer descriptor data
structure. (see
IVIDEO1_BufDescIn
data structure for details).
The third argument is a pointer to the output buffer descriptor data
structure. (see
XDM_BufDesc
data structure for details).
The fourth argument is a pointer to the
IVIDENC1_InArgs
data structure
that defines the run-time input arguments for an algorithm instance object.
The last argument is a pointer to the
IVIDENC1_OutArgs
data structure
that defines the run-time output arguments for an algorithm instance object.
Note
:
If the fourth and the fifth arguments point to the base data structure
of
InArgs
and
OutArgs,
then the basic parameters are used.
If the fourth and the fifth arguments point to the extended data
structure of
InArgs
and
OutArgs,
then the extended parameters
are used.
Содержание DM6467
Страница 1: ...H 264 1080p 30 BP Encoder on DM6467 User s Guide Literature Number SPRUGN8 October 2009 ...
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 18: ...Introduction 1 6 This page is intentionally left blank ...
Страница 36: ...Sample Usage 3 10 This page is intentionally left blank ...