XDAIS  dais-x04
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
XDM2_SingleBufDesc Struct Reference

Single buffer descriptor. More...

#include <xdm.h>

Collaboration diagram for XDM2_SingleBufDesc:
Collaboration graph

Data Fields

XDAS_Int8buf
XDAS_Int16 memType
XDAS_Int16 usageMode
XDM2_BufSize bufSize
XDAS_Int32 accessMask

Detailed Description

Single buffer descriptor.

Remarks:
This buffer descriptor contains a memType field, and uses the XDM_BufSize union to indicate the size of the buffer. As a result, this data type can be used to describe complex memory types (e.g. tiled memory).

Field Documentation

XDAS_Int8* XDM2_SingleBufDesc::buf

Pointer to a buffer address.

XDAS_Int16 XDM2_SingleBufDesc::memType

Memory type.

See also:
XDM_MemoryType
XDAS_Int16 XDM2_SingleBufDesc::usageMode

Memory usage descriptor.

Remarks:
This field is set by the owner of the buffer (typically the application), and read by users of the buffer (including the algorithm).
See also:
XDM_MemoryUsageMode
XDM2_BufSize XDM2_SingleBufDesc::bufSize

Buffer size(for tile memory/row memory

XDAS_Int32 XDM2_SingleBufDesc::accessMask

Mask filled by the algorithm, declaring how the buffer was accessed by the algorithm processor.

Remarks:
If the buffer was not accessed by the algorithm processor (e.g., it was filled via DMA or other hardware accelerator that doesn't write through the algorithm's CPU), then no bits in this mask should be set.
It is acceptible (and appropriate!)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 appropriately manage cache on cache-based systems.
See also:
XDM_AccessMode

The documentation for this struct was generated from the following file:
Copyright 2013, Texas Instruments Incorporated