auddec1.h

Go to the documentation of this file.
00001 /* 
00002  * Copyright (c) 2010, Texas Instruments Incorporated
00003  * All rights reserved.
00004  *
00005  * Redistribution and use in source and binary forms, with or without
00006  * modification, are permitted provided that the following conditions
00007  * are met:
00008  *
00009  * *  Redistributions of source code must retain the above copyright
00010  *    notice, this list of conditions and the following disclaimer.
00011  *
00012  * *  Redistributions in binary form must reproduce the above copyright
00013  *    notice, this list of conditions and the following disclaimer in the
00014  *    documentation and/or other materials provided with the distribution.
00015  *
00016  * *  Neither the name of Texas Instruments Incorporated nor the names of
00017  *    its contributors may be used to endorse or promote products derived
00018  *    from this software without specific prior written permission.
00019  *
00020  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00021  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00022  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00023  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00024  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00025  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00026  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
00027  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
00028  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
00029  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
00030  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00031  * 
00032  */
00033 /*
00034  *  ======== auddec1.h ========
00035  */
00057 #ifndef ti_sdo_ce_audio1_AUDDEC1_
00058 #define ti_sdo_ce_audio1_AUDDEC1_
00059 
00060 #ifdef __cplusplus
00061 extern "C" {
00062 #endif
00063 
00064 #include <ti/xdais/dm/xdm.h>
00065 #include <ti/xdais/dm/iauddec1.h>
00066 
00067 #include <ti/sdo/ce/Engine.h>
00068 #include <ti/sdo/ce/visa.h>
00069 #include <ti/sdo/ce/skel.h>
00070 
00073 
00074 #define AUDDEC1_EOK      IAUDDEC1_EOK       
00075 #define AUDDEC1_EFAIL    IAUDDEC1_EFAIL     
00078 #define AUDDEC1_EUNSUPPORTED IAUDDEC1_EUNSUPPORTED
00079 
00080 #define AUDDEC1_ETIMEOUT VISA_ETIMEOUT      
00081 #define AUDDEC1_FOREVER  VISA_FOREVER       
00087 typedef VISA_Handle AUDDEC1_Handle;
00088 
00090 typedef IAUDDEC1_Params AUDDEC1_Params;
00091 
00093 typedef IAUDDEC1_InArgs AUDDEC1_InArgs;
00094 
00096 typedef IAUDDEC1_OutArgs AUDDEC1_OutArgs;
00097 
00099 typedef IAUDDEC1_Cmd AUDDEC1_Cmd;
00100 
00102 typedef IAUDDEC1_DynamicParams AUDDEC1_DynamicParams;
00103 
00105 typedef IAUDDEC1_Status AUDDEC1_Status;
00106 
00107 
00114 extern SKEL_Fxns AUDDEC1_SKEL;
00115 
00119 extern IAUDDEC1_Fxns AUDDEC1_STUBS;
00120 
00124 /*
00125  *  ======== AUDDEC1_control ========
00126  */
00150 extern Int32 AUDDEC1_control(AUDDEC1_Handle handle, AUDDEC1_Cmd id,
00151     AUDDEC1_DynamicParams *params, AUDDEC1_Status *status);
00152 
00153 
00154 /*
00155  *  ======== AUDDEC1_create ========
00156  */
00189 extern AUDDEC1_Handle AUDDEC1_create(Engine_Handle e, String name,
00190     AUDDEC1_Params *params);
00191 
00192 
00193 /*
00194  *  ======== AUDDEC1_delete ========
00195  */
00213 extern Void AUDDEC1_delete(AUDDEC1_Handle handle);
00214 
00215 
00216 /*
00217  *  ======== AUDDEC1_process ========
00218  */
00261 extern Int32 AUDDEC1_process(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00262     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
00263 
00264 
00265 /*
00266  *  ======== AUDDEC1_processAsync ========
00267  */
00304 extern Int32 AUDDEC1_processAsync(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00305     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
00306 
00307 
00308 /*
00309  *  ======== AUDDEC1_processWait ========
00310  */
00353 extern Int32 AUDDEC1_processWait(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00354     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs,
00355     UInt timeout);
00356 
00357 
00360 #ifdef __cplusplus
00361 }
00362 #endif
00363 
00364 #endif
00365 /*
00366  *  @(#) ti.sdo.ce.audio1; 1, 0, 1,279; 11-3-2010 22:18:17; /db/atree/library/trees/ce/ce-q16x/src/ xlibrary
00367 
00368  */
00369 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2010, Texas Instruments Incorporated