Buffer_Attrs Struct Reference
[Buffer]

Attributes used when creating a Buffer instance. More...

#include <Buffer.h>


Data Fields

Memory_AllocParams memParams
 Parameters used to allocate the buffer using the Codec Engine OSAL Memory module.
Buffer_Type type
 The type of buffer to allocate.
UInt16 useMask
 The mask to indicate that a buffer is busy in a BufTab (a useMask value of 0 indicates a free buffer). Using a flexible mask allows multiple "owners" of a buffer (e.g. codec and display device driver).
Bool reference
 If this is set to true no buffer will be allocated, instead the resulting Buffer_Handle will be a reference to an already existing memory area (.

Detailed Description

Attributes used when creating a Buffer instance.

See also:
Buffer_Attrs_DEFAULT

Field Documentation

Memory_AllocParams Buffer_Attrs::memParams

Parameters used to allocate the buffer using the Codec Engine OSAL Memory module.

See also:
Buffer_Memory_Params_DEFAULT

The type of buffer to allocate.

See also:
Buffer_Type

Buffer_getType

The mask to indicate that a buffer is busy in a BufTab (a useMask value of 0 indicates a free buffer). Using a flexible mask allows multiple "owners" of a buffer (e.g. codec and display device driver).

See also:
Buffer_setUseMask

Buffer_getUseMask

Buffer_freeUseMask

Buffer_resetUseMask

If this is set to true no buffer will be allocated, instead the resulting Buffer_Handle will be a reference to an already existing memory area (.

See also:
Buffer_setUserPtr and Buffer_setSize).


The documentation for this struct was generated from the following file:

Copyright 2011, Texas Instruments Incorporated