1c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev/*
2c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * Copyright (c) 2010, Texas Instruments Incorporated
3c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * All rights reserved.
4c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *
5c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * Redistribution and use in source and binary forms, with or without
6c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * modification, are permitted provided that the following conditions
7c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * are met:
8c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *
9c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * *  Redistributions of source code must retain the above copyright
10c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *    notice, this list of conditions and the following disclaimer.
11c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *
12c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * *  Redistributions in binary form must reproduce the above copyright
13c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *    notice, this list of conditions and the following disclaimer in the
14c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *    documentation and/or other materials provided with the distribution.
15c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *
16c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * *  Neither the name of Texas Instruments Incorporated nor the names of
17c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *    its contributors may be used to endorse or promote products derived
18c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *    from this software without specific prior written permission.
19c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *
20c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev */
32c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
33c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev/** OMX_Core.h
34c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *  The OMX_Core header file contains the definitions used for PV core
35c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev */
36c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
37c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#ifndef OMX_TI_Core_h
38c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#define OMX_TI_Core_h
39c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
40c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#ifdef __cplusplus
41c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchevextern "C" {
42c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#endif /* __cplusplus */
43c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
44c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
45c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev/* Each OMX header shall include all required header files to allow the
46c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *  header to compile without errors.  The includes below are required
47c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev *  for this header file to compile successfully
48c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev */
49c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
50c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#include <OMX_Core.h>
51c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_Init(void);
52c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_Deinit(void);
53c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_ComponentNameEnum(
54c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_OUT OMX_STRING cComponentName,
55c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_U32 nNameLength,
56c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_U32 nIndex);
57c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_GetHandle(
58c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_OUT OMX_HANDLETYPE* pHandle,
59c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_STRING cComponentName,
60c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_PTR pAppData,
61c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_CALLBACKTYPE* pCallBacks);
62c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_FreeHandle(
63c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_HANDLETYPE hComponent);
64c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE TIOMX_GetComponentsOfRole (
65c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev	OMX_IN      OMX_STRING role,
66c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_INOUT   OMX_U32 *pNumComps,
67c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_INOUT   OMX_U8  **compNames);
68c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE OMX_APIENTRY TIOMX_SetupTunnel(
69c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_HANDLETYPE hOutput,
70c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_U32 nPortOutput,
71c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_HANDLETYPE hInput,
72c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN  OMX_U32 nPortInput);
73c322989ae6ff6769490828de1b5eda12b749cce9Iliyan MalchevOMX_API OMX_ERRORTYPE   OMX_APIENTRY  TIOMX_GetContentPipe(
74c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_OUT OMX_HANDLETYPE *hPipe,
75c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev    OMX_IN OMX_STRING szURI);
76c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
77c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#ifdef __cplusplus
78c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev}
79c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#endif /* __cplusplus */
80c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
81c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev#endif
82c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev/* File EOF */
83c322989ae6ff6769490828de1b5eda12b749cce9Iliyan Malchev
84