API Reference
4-6
Group or Enumeration
Class
Symbolic Constant
Name
Description or Evaluation
XDM_AccessMode
XDM_ACCESSMODE_REA
D
Algorithm read from the buffer using the
CPU.
XDM_ACCESSMODE_WRI
TE
Algorithm writes to the buffer using the
CPU.
XDM_CmdId
XDM_GETSTATUS
Query algorithm instance to fill
Status
structure.
XDM_SETPARAMS
Set run-time dynamic parameters
through the
DynamicParams
structure.
XDM_RESET
Reset the algorithm. All fields in the
internal data structures are reset and all
internal buffers are flushed.
XDM_SETDEFAULT
Restore the algorithm's internal state to
its original, default values.
The application needs to initialize the
dynamicParams.size
and
status.size
fields prior to calling
control()
with
XDM_SETDEFAULT
.
The algorithm must write to the
status.extendedError
field, and
potentially algorithm specific, extended
fields.
XDM_SETDEFAULT
differs from
XDM_RESET
. In addition to restoring
the algorithm's internal state,
XDM_RESET
also resets any channel
related state.
XDM_FLUSH
Handle end of stream conditions.
This command forces the algorithm to
output data without additional input.
The recommended sequence is to call
the
control()
function (with
XDM_FLUSH
) followed by repeated
calls to the
process()
function until it
returns an error.
The algorithm should return the
appropriate, class-specific
EFAIL
error
(example,
ISPHDEC1_EFAIL
,
IVIDENC1_EFAIL
, and so on), when
flushing is complete.
Содержание H.264 High Profile Encoder
Страница 10: ...x This page is intentionally left blank ...
Страница 12: ...xii This page is intentionally left blank ...
Страница 20: ......
Страница 134: ...Frequently Asked Questions 5 4 This page is intentionally left blank ...