auddec1.h

Go to the documentation of this file.
00001 /* 
00002  * Copyright (c) 2012, 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 #define AUDDEC1_VISATYPE "ti.sdo.ce.audio1.IAUDDEC1"
00088 
00095 #define AUDDEC1_STUBSNAME "AUDDEC1_STUBS"
00096 
00097 
00101 typedef VISA_Handle AUDDEC1_Handle;
00102 
00104 typedef IAUDDEC1_Params AUDDEC1_Params;
00105 
00107 typedef IAUDDEC1_InArgs AUDDEC1_InArgs;
00108 
00110 typedef IAUDDEC1_OutArgs AUDDEC1_OutArgs;
00111 
00113 typedef IAUDDEC1_Cmd AUDDEC1_Cmd;
00114 
00116 typedef IAUDDEC1_DynamicParams AUDDEC1_DynamicParams;
00117 
00119 typedef IAUDDEC1_Status AUDDEC1_Status;
00120 
00121 
00128 extern SKEL_Fxns AUDDEC1_SKEL;
00129 
00133 extern IAUDDEC1_Fxns AUDDEC1_STUBS;
00134 
00138 /*
00139  *  ======== AUDDEC1_control ========
00140  */
00164 extern Int32 AUDDEC1_control(AUDDEC1_Handle handle, AUDDEC1_Cmd id,
00165     AUDDEC1_DynamicParams *params, AUDDEC1_Status *status);
00166 
00167 
00168 /*
00169  *  ======== AUDDEC1_create ========
00170  */
00203 extern AUDDEC1_Handle AUDDEC1_create(Engine_Handle e, String name,
00204     AUDDEC1_Params *params);
00205 
00206 
00207 /*
00208  *  ======== AUDDEC1_delete ========
00209  */
00227 extern Void AUDDEC1_delete(AUDDEC1_Handle handle);
00228 
00229 
00230 /*
00231  *  ======== AUDDEC1_process ========
00232  */
00275 extern Int32 AUDDEC1_process(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00276     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
00277 
00278 
00279 /*
00280  *  ======== AUDDEC1_processAsync ========
00281  */
00318 extern Int32 AUDDEC1_processAsync(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00319     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs);
00320 
00321 
00322 /*
00323  *  ======== AUDDEC1_processWait ========
00324  */
00367 extern Int32 AUDDEC1_processWait(AUDDEC1_Handle handle, XDM1_BufDesc *inBufs,
00368     XDM1_BufDesc *outBufs, AUDDEC1_InArgs *inArgs, AUDDEC1_OutArgs *outArgs,
00369     UInt timeout);
00370 
00371 
00374 #ifdef __cplusplus
00375 }
00376 #endif
00377 
00378 #endif
00379 /*
00380  *  @(#) ti.sdo.ce.audio1; 1, 0, 1,1; 8-14-2012 12:59:37; /db/atree/library/trees/ce/ce-u07/src/ xlibrary
00381 
00382  */
00383 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated