4-29
4.2.1.1
XDM2_SingleBufDesc
║
Description
This structure defines the buffer descriptor for input and output buffers.
║
Fields
Field
Data Type
Input/
Output
Description
*buf
XDAS_Int8
Input
Pointer to the buffer address
memType
XDAS_Int16
Input
Type of memory, See
XDM_MemoryType
usageMode
XDAS_Int16
Input
Memory usage descriptor, this field is set by the owner
of the buffer (typically the application), and read by
users of the buffer (including the algorithm). See
XDM_MemoryUsageMode
enumeration for more
details
bufSize
XDM2_BufSize
Input
Buffer size for tile memory/row memory
accessMask
XDAS_Int32
Input
Mask filled by the algorithm, declaring how the buffer
was accessed by the algorithm processor.
If the buffer was not accessed by the algorithm
processor (for example, it was filled through DMA or
other hardware accelerator that does not write through
the algorithm's CPU), then bits in this mask should not
be set.
It is acceptable to set several bits in this mask, if the
algorithm accessed the buffer in several ways.
This mask is often used by the application and/or
framework to manage cache on cache-based
systems.
See
XDM_AccessMode
enumeration in
more details.
4.2.1.2
XDM2_BufDesc
║
Description
This structure defines the buffer descriptor for output buffers.
║
Fields
Field
Data Type
Input/
Output
Description
numBufs
XDAS_Int32
Input
Number of buffers. Must be less than
XDM_MAX_IO_BUFFERS
.
Descs[XDM_MAX_IO
_BUFFERS]
XDM2_SingleB
ufDesc
Input
Array of buffer descriptors
Содержание 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 ...