DOV Driver
2-96
Important Note:
This driver will no longer be supported in the next
major release of DSP/BIOS. We recommend that you use the IOM
driver interface instead. See the
DSP/BIOS Driver Developer’s Guide
(SPRU616). This driver is still supported in DSP/BIOS 5.32 and will be
supported in any patch releases or minor enhancements to DSP/BIOS
5.32.
Description
The DOV driver manages a class of stackable devices that generate an
overlapped stream by retaining the last N minimum addressable data
units (MADUs) of each buffer input from an underlying device. These N
points become the first N points of the next input buffer. MADUs are
equivalent to a 16-bit word in the data address space of the processor on
C54x and C55x platforms.
Configuring a
DOV Device
To create a DOV device object in a configuration script, use the following
syntax:
var myDov = bios.UDEV.create("myDov");
Set the DEV Object Properties for the device you created as follows.
❏
init function.
Type 0 (zero).
❏
function table ptr.
Type _DOV_FXNS
❏
function table type
. DEV_Fxns
❏
device id.
Type 0 (zero).
❏
device params ptr.
Type 0 (zero) or the length of the overlap as
described after this list.
If you enter 0 for the Device ID, you need to specify the length of the
overlap when you create the stream with SIO_create by appending the
length of the overlap to the device name. If you statically create the
stream (with Tconf) instead, enter the length of the overlap in the Device
Control String for the stream.
For example, if you statically create a device called overlap, and use 0 as
its Device ID, you can open a stream with:
stream = SIO_create("/overlap16/codec",SIO_INPUT,128,NULL);
DOV Driver
Stackable overlap driver