API Reference
4-38
║
Preconditions
The following conditions must be true prior to calling this function;
otherwise, its operation is undefined.
process()
can only be called after a successful return from
algInit()
and
algActivate().
If algorithm uses DMA resources,
process()
can only be called after
a successful return from
DMAN3_init().
handle
must be a valid handle for the algorithm instance object.
Buffer descriptor for input and output buffers must be valid.
Input buffers must have valid input data.
║
Postconditions
The following conditions are true immediately after returning from this
function.
If the process operation is successful, the return value from this
operation is equal to
IALG_EOK;
otherwise it is equal to either
IALG_EFAIL
or an algorithm specific return value.
After successful return from
process()
function,
algDeactivate()
can be called.
║
Example
See test application file, TestAppEncoder.c available in the \Client\Test\Src
sub-directory.
║
See Also
algInit(),
algDeactivate(),
control()
Note
:
A video encoder or decoder cannot be pre-empted by any other
video Encoder or decoder instance. That is, the user cannot perform
task switching while encode/decode of a particular frame is in
progress. Pre-emption can happen only at frame boundaries and
after
algDeactivate()
is called.
The input data is an uncompressed video frame in one of the format
defined by
inputChromaFormat
of
IVIDENC1_Params
structure.The Encoder outputs H.264 compressed bit-stream in the
little-endian format.
Содержание 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 ...