Sample Usage
3-4
1)
RMAN_init() –
To initialize the RMAN module.
2)
RMAN_register() –
To register the HDVICP protocol/resource
manager with the generic resource manager.
3)
RMAN_assignResources() –
To register resources to the algorithm as
requested HDVICP protocol/resource manager with the generic resource
manager.
Note:
RMAN function implementations are provided in rmand.a64P library.
3.1.3 Process
Call
After algorithm instance creation and initialization, the test application does
the following:
1) Sets the dynamic parameters (if they change during run-time) by
calling the
control()
function with the
XDM_SETPARAMS
command.
2) Sets the input and output buffer descriptors required for the
process()
function call. The input and output buffer descriptors are
obtained by calling the
control()
function with the
XDM_GETBUFINFO
command.
3) Calls
the
process()
function to encode a single frame of data. The
behavior of the algorithm can be controlled using various dynamic
parameters (see Section 4.2.1.11). The inputs to the process function
are input and output buffer descriptors, pointer to the
IVIDENC1_InArgs
and
IVIDENC1_OutArgs
structures.
4) On calling the
process()
function to encode a single frame of data,
the video task can be put to SEM-pend state using semaphores after
triggering the start of the encode/decode frame start. On receipt of
interrupt signal for the end of frame encode/decode, the application
should release the semaphore and resume the video task which will do
any book-keeping operations by the codec and updating the output
parameters structure -
IVIDENC1_OutArgs
.
Содержание 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 ...