HDINTC

Data Structures

struct  HDINTC_Params
 The module configuration structure for HDINTC implementation. More...
struct  hdvicpAppHandle

Defines

#define HDINTC_GTNAME   "ti.sdo.fc.hdintc"

Typedefs

typedef struct hdvicpAppHandle HDVICP_Obj
typedef HDVICP_ObjHDVICP_Handle

Functions

void HDVICP_configure (IALG_Handle handle, void *hdvicpHandle, void(*ISRfunctionptr)(IALG_Handle handle))
 This is the top level function on the gem side, which sets the interrupt configuration for the interrupts received from ARM968. In effect, this function currently sets the global function ptr to the actual MB processing decode function that needs to be called from the interrupt service routine.
void HDVICP_wait (void *hdvicpHandle)
 This is the top level function on the gem side, which implements the hdvicp_wait(). Current implementation allows GEM to wait on a global intc flag which will be 1 as long as one frame is not completed.
void HDVICP_done (void *hdvicpHandle)
 This is the top level function on the gem side, which implements the hdvicp_done(). Current implementation allows GEM to set a global intc flag to 0 to come out of hdvicp_wait() as soon as one frame is completed.

Variables

HDINTC_Params HDINTC_PARAMS
 Default module configuration structure (defined in hdintc.c).

Defines: Status Codes



#define HDINTC_SOK   0
#define HDINTC_EOUTOFMEMORY   -1
#define HDINTC_EFAIL   -2

Detailed Description

Application interface to the Interrupt Registry Manager. Registers non-BIOS, non-dispatched interrupt service handlers to register and synchronize with HDVICP interrupts. This module is used by frameworks or applications which have XDAIS algorithms that use HDVICP hardware accelarators and implement own interrupt handlers.


Define Documentation

#define HDINTC_GTNAME   "ti.sdo.fc.hdintc"

Name to identify the GT module

#define HDINTC_SOK   0

HDINTC Status Code: Successful.

#define HDINTC_EOUTOFMEMORY   -1

HDINTC Status Code: Failed to allocate memory for the handle.

#define HDINTC_EFAIL   -2

HDINTC Status Code: Unspecified error.


Typedef Documentation

typedef struct hdvicpAppHandle HDVICP_Obj

Function Documentation

void HDVICP_configure ( IALG_Handle  handle,
void *  hdvicpHandle,
void(*)(IALG_Handle handle)  ISRfunctionptr 
)

This is the top level function on the gem side, which sets the interrupt configuration for the interrupts received from ARM968. In effect, this function currently sets the global function ptr to the actual MB processing decode function that needs to be called from the interrupt service routine.

Parameters:
handle Algorithm handle
hdvicpHandle void pointer to the hdvicp handle.
ISRfunctionptr Function pointer to the MB pair processing function of the algorithm.
Returns:
none
Remarks:
This function will be called from the algorithm but the implementation will lie in the application.
void HDVICP_wait ( void *  hdvicpHandle  ) 

This is the top level function on the gem side, which implements the hdvicp_wait(). Current implementation allows GEM to wait on a global intc flag which will be 1 as long as one frame is not completed.

Parameters:
hdvicpHandle void pointer to the hdvicp handle.
Returns:
none
Remarks:
This function will be called from the algorithm but the implementation will lie in the application.
void HDVICP_done ( void *  hdvicpHandle  ) 

This is the top level function on the gem side, which implements the hdvicp_done(). Current implementation allows GEM to set a global intc flag to 0 to come out of hdvicp_wait() as soon as one frame is completed.

Parameters:
hdvicpHandle void pointer to the hdvicp handle.
Returns:
none
Remarks:
This function will be called from the algorithm but the implementation will lie in the application.

Variable Documentation

Default module configuration structure (defined in hdintc.c).


Copyright 2009, Texas Instruments Incorporated