Loader.h File Reference

#include <xdc/std.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/Buffer.h>

Go to the source code of this file.


Data Structures

struct  Loader_Attrs
 Attributes used to create a Loader. More...

Typedefs

typedef struct Loader_Object * Loader_Handle
 Handle through which to reference a Loader.

Functions

Loader_Handle Loader_create (Char *fileName, Loader_Attrs *attrs)
 Creates a Loader.
Int Loader_prime (Loader_Handle hLoader, Buffer_Handle *hBufPtr)
 Prime the loader and obtain the first frame.
Int Loader_readData (Loader_Handle hLoader)
 Read more data in to the ring buffer. This call should be used when the Loader module works in asynchronous mode (.
Int Loader_getFrame (Loader_Handle hLoader, Buffer_Handle hBuf)
 Load the next frame.
Int Loader_flush (Loader_Handle hLoader)
 Tells the thread calling Loader_readData that it should quit. If the Loader is not used in async mode this call has no effect.
Int Loader_delete (Loader_Handle hLoader)
 Deletes a Loader.

Variables

const Loader_Attrs Loader_Attrs_DEFAULT
 Default attributes for a Loader.

Copyright 2011, Texas Instruments Incorporated