]> git.sesse.net Git - vlc/blob - modules/codec/omxil/omxil_core.h
Qt: ToolbarEditDialog: show tooltip on widgets list
[vlc] / modules / codec / omxil / omxil_core.h
1 /*****************************************************************************
2  * omxil.c: Video decoder module making use of OpenMAX IL components.
3  *****************************************************************************
4  * Copyright (C) 2010 VLC authors and VideoLAN
5  * $Id$
6  *
7  * Authors: Gildas Bazin <gbazin@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU Lesser General Public License as published by
11  * the Free Software Foundation; either version 2.1 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public License
20  * along with this program; if not, write to the Free Software Foundation,
21  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #include "OMX_Core.h"
25
26 #include <vlc_common.h>
27
28 OMX_ERRORTYPE (*pf_init) (void);
29 OMX_ERRORTYPE (*pf_deinit) (void);
30 OMX_ERRORTYPE (*pf_get_handle) (OMX_HANDLETYPE *, OMX_STRING,
31                                 OMX_PTR, OMX_CALLBACKTYPE *);
32 OMX_ERRORTYPE (*pf_free_handle) (OMX_HANDLETYPE);
33 OMX_ERRORTYPE (*pf_component_enum)(OMX_STRING, OMX_U32, OMX_U32);
34 OMX_ERRORTYPE (*pf_get_roles_of_component)(OMX_STRING, OMX_U32 *, OMX_U8 **);
35
36 int InitOmxCore(vlc_object_t *p_this);
37 void DeinitOmxCore(void);
38
39 #define MAX_COMPONENTS_LIST_SIZE 32
40 int CreateComponentsList(vlc_object_t *p_this, const char *psz_role,
41                          char ppsz_components[MAX_COMPONENTS_LIST_SIZE][OMX_MAX_STRINGNAME_SIZE]);
42