chromecast: Hide some private variable from settings
[vlc.git] / modules / codec / omxil / omxil_core.h
blob30ffdcf4e9fcb4905456cbc53349c03ccc120026
1 /*****************************************************************************
2 * omxil.c: Video decoder module making use of OpenMAX IL components.
3 *****************************************************************************
4 * Copyright (C) 2010 VLC authors and VideoLAN
5 * $Id$
7 * Authors: Gildas Bazin <gbazin@videolan.org>
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.
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.
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 *****************************************************************************/
24 #include "OMX_Core.h"
26 #include <vlc_common.h>
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 **);
36 /* Extra IOMX android functions. Can be NULL if we don't link with libiomx */
37 OMX_ERRORTYPE (*pf_enable_graphic_buffers)(OMX_HANDLETYPE, OMX_U32, OMX_BOOL);
38 OMX_ERRORTYPE (*pf_get_graphic_buffer_usage)(OMX_HANDLETYPE, OMX_U32, OMX_U32*);
39 OMX_ERRORTYPE (*pf_get_hal_format) (const char *, int *);
41 int InitOmxCore(vlc_object_t *p_this);
42 void DeinitOmxCore(void);
44 #define MAX_COMPONENTS_LIST_SIZE 32
45 int CreateComponentsList(vlc_object_t *p_this, const char *psz_role,
46 char ppsz_components[MAX_COMPONENTS_LIST_SIZE][OMX_MAX_STRINGNAME_SIZE]);