mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-08 23:00:28 +01:00
st/omx/tizonia: Add entrypoint
Adds base files for adding components Acked-by: Leo Liu <leo.liu@amd.com> Reviewed-by: Julien Isorce <julien.isorce@gmail.com>
This commit is contained in:
parent
e2afa154e9
commit
430ccdbcb9
4 changed files with 78 additions and 2 deletions
|
|
@ -28,7 +28,9 @@ files_omx = files(
|
|||
'bellagio/vid_enc.c'
|
||||
)
|
||||
elif gallium_omx == 'tizonia'
|
||||
files_omx = files()
|
||||
files_omx = files(
|
||||
'tizonia/entrypoint.c',
|
||||
)
|
||||
endif
|
||||
|
||||
libomx_st = static_library(
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
C_SOURCES :=
|
||||
C_SOURCES := \
|
||||
entrypoint.c \
|
||||
entrypoint.h
|
||||
|
|
|
|||
37
src/gallium/state_trackers/omx/tizonia/entrypoint.c
Normal file
37
src/gallium/state_trackers/omx/tizonia/entrypoint.c
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
/**************************************************************************
|
||||
*
|
||||
* Copyright 2013 Advanced Micro Devices, Inc.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sub license, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the
|
||||
* next paragraph) shall be included in all copies or substantial portions
|
||||
* of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR
|
||||
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
#include <tizplatform.h>
|
||||
#include <tizkernel.h>
|
||||
#include <tizscheduler.h>
|
||||
|
||||
#include "entrypoint.h"
|
||||
|
||||
OMX_ERRORTYPE OMX_ComponentInit (OMX_HANDLETYPE ap_hdl)
|
||||
{
|
||||
return OMX_ErrorNone;
|
||||
}
|
||||
35
src/gallium/state_trackers/omx/tizonia/entrypoint.h
Normal file
35
src/gallium/state_trackers/omx/tizonia/entrypoint.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/**************************************************************************
|
||||
*
|
||||
* Copyright 2013 Advanced Micro Devices, Inc.
|
||||
* All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the
|
||||
* "Software"), to deal in the Software without restriction, including
|
||||
* without limitation the rights to use, copy, modify, merge, publish,
|
||||
* distribute, sub license, and/or sell copies of the Software, and to
|
||||
* permit persons to whom the Software is furnished to do so, subject to
|
||||
* the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice (including the
|
||||
* next paragraph) shall be included in all copies or substantial portions
|
||||
* of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
||||
* IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR
|
||||
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
#ifndef OMX_TIZ_ENTRYPOINT_H
|
||||
#define OMX_TIZ_ENTRYPOINT_H
|
||||
|
||||
#include "vl/vl_winsys.h"
|
||||
|
||||
PUBLIC OMX_ERRORTYPE OMX_ComponentInit(OMX_HANDLETYPE ap_hdl);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Reference in a new issue