1/*
2 * Copyright (c) 2010, Texas Instruments Incorporated
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 *
9 * *  Redistributions of source code must retain the above copyright
10 *    notice, this list of conditions and the following disclaimer.
11 *
12 * *  Redistributions in binary form must reproduce the above copyright
13 *    notice, this list of conditions and the following disclaimer in the
14 *    documentation and/or other materials provided with the distribution.
15 *
16 * *  Neither the name of Texas Instruments Incorporated nor the names of
17 *    its contributors may be used to endorse or promote products derived
18 *    from this software without specific prior written permission.
19 *
20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33/**
34 *  @file  omx_rpc_skel.h
35 *         This file contains methods that provides the functionality for
36 *         the OpenMAX1.1 DOMX Framework RPC.
37 *
38 *  @path \WTSD_DucatiMMSW\framework\domx\omx_rpc\inc
39 *
40 *  @rev 1.0
41 */
42
43/*==============================================================
44 *! Revision History
45 *! ============================
46 *! 29-Mar-2010 Abhishek Ranka : Revamped DOMX implementation
47 *!
48 *! 19-August-2009 B Ravi Kiran ravi.kiran@ti.com: Initial Version
49 *================================================================*/
50
51
52#ifndef OMX_RPC_SKELH
53#define OMX_RPC_SKELH
54
55#ifdef __cplusplus
56extern "C"
57{
58#endif				/* __cplusplus */
59
60/******************************************************************
61 *   INCLUDE FILES
62 ******************************************************************/
63
64#include "../inc/omx_rpc_internal.h"
65#include "../inc/omx_rpc_stub.h"
66
67	RPC_OMX_ERRORTYPE RPC_SKEL_EmptyBufferDone(void *data);
68	RPC_OMX_ERRORTYPE RPC_SKEL_FillBufferDone(void *data);
69	RPC_OMX_ERRORTYPE RPC_SKEL_EventHandler(void *data);
70
71/*Empty SKEL*/
72	RPC_OMX_ERRORTYPE RPC_SKEL_GetHandle(uint32_t size, uint32_t * data);
73	RPC_OMX_ERRORTYPE RPC_SKEL_SetParameter(uint32_t size,
74	    uint32_t * data);
75	RPC_OMX_ERRORTYPE RPC_SKEL_GetParameter(uint32_t size,
76	    uint32_t * data);
77	RPC_OMX_ERRORTYPE RPC_SKEL_FreeHandle(uint32_t size, uint32_t * data);
78	RPC_OMX_ERRORTYPE RPC_SKEL_EmptyThisBuffer(uint32_t size,
79	    uint32_t * data);
80	RPC_OMX_ERRORTYPE RPC_SKEL_FillThisBuffer(uint32_t size,
81	    uint32_t * data);
82	RPC_OMX_ERRORTYPE RPC_SKEL_UseBuffer(uint32_t size, uint32_t * data);
83	RPC_OMX_ERRORTYPE RPC_SKEL_FreeBuffer(uint32_t size, uint32_t * data);
84	RPC_OMX_ERRORTYPE RPC_SKEL_SetConfig(uint32_t size, uint32_t * data);
85	RPC_OMX_ERRORTYPE RPC_SKEL_GetConfig(uint32_t size, uint32_t * data);
86	RPC_OMX_ERRORTYPE RPC_SKEL_GetState(uint32_t size, uint32_t * data);
87	RPC_OMX_ERRORTYPE RPC_SKEL_SendCommand(uint32_t size,
88	    uint32_t * data);
89	RPC_OMX_ERRORTYPE RPC_SKEL_GetComponentVersion(uint32_t size,
90	    uint32_t * data);
91	RPC_OMX_ERRORTYPE RPC_SKEL_GetExtensionIndex(uint32_t size,
92	    uint32_t * data);
93	RPC_OMX_ERRORTYPE RPC_SKEL_AllocateBuffer(uint32_t size,
94	    uint32_t * data);
95	RPC_OMX_ERRORTYPE RPC_SKEL_ComponentTunnelRequest(uint32_t size,
96	    uint32_t * data);
97
98#ifdef __cplusplus
99}
100#endif
101#endif
102