hdvicpsync.h File Reference


Detailed Description

HDVICPSYNC Interface Definitions - Framework support package for synchronization between codec and HDVICP coprocessor usage.

#include <ti/xdais/ialg.h>
#include <ti/sdo/fc/ires/hdvicp/ires_hdvicp.h>
Include dependency graph for hdvicpsync.h:

Go to the source code of this file.

Data Structures

struct  HDVICPSYNC_Params
 The module configuration structure for HDVICPSYNC implementation. More...

Defines

#define HDVICPSYNC_GTNAME   "ti.sdo.fc.hdvicpsync"
 Name to identify the GT module.

Enumerations

enum  HDVICPSYNC_InterruptType {
  HDVICPSYNC_IRQ,
  HDVICPSYNC_FIQ
}
 

Interrupt type that can be specified for each Resource type.

More...
enum  HDVICPSYNC_Status {
  HDVICPSYNC_OK,
  HDVICPSYNC_EFAIL,
  HDVICPSYNC_ENORESOURCE
}

Functions

HDVICPSYNC_Status HDVICPSYNC_start (IALG_Handle handle, HDVICPSYNC_InterruptType intType, IRES_HDVICP_Handle hdvicpHandle)
 This function is used to mark the beginning of HDVICP coprocessor usage by the algorithm.
HDVICPSYNC_Status HDVICPSYNC_wait (IRES_HDVICP_Handle hdvicpHandle)
 This is the top level function that allows the ARM-side algorithm to wait for the Kaleido (frame) interrupt to fire.
HDVICPSYNC_Status HDVICPSYNC_unregister (IRES_HDVICP_Handle hdvicpHandle)
 This is the top level function that allows the ARM-side algorithms to explicitly unregister a particular interrupt handler for ISRS registerd via a call to HDVICPSYNC_start API.
Bool HDVICPSYNC_done (IRES_HDVICP_Handle hdvicpHandle)
 This is the top level function that allows the ARM-side algorithm to return a status indicating if a Kaleido interrupt has fired (frame has been processed) since HDVICPSYNC_start was called.

Variables

HDVICPSYNC_Params HDVICPSYNC_PARAMS
 Default module configuration structure (defined in hdvicpsync.c).

Copyright 2009, Texas Instruments Incorporated