提交 39f77774 编写于 作者: Z Zhang Rui

jni: ijksdl: introduce SDL_Overlay

上级 f4cf28db
......@@ -25,6 +25,7 @@ LOCAL_SRC_FILES += ijksdl_audio.c
LOCAL_SRC_FILES += ijksdl_error.c
LOCAL_SRC_FILES += ijksdl_events.c
LOCAL_SRC_FILES += ijksdl_mutex.c
LOCAL_SRC_FILES += ijksdl_overlay.c
LOCAL_SRC_FILES += ijksdl_stdinc.c
LOCAL_SRC_FILES += ijksdl_thread.c
LOCAL_SRC_FILES += ijksdl_timer.c
......
......@@ -23,6 +23,14 @@
#include "ijksdl_events.h"
int SDL_PeepEvents(SDL_Event * events, int numevents,
SDL_eventaction action,
Uint32 minType, Uint32 maxType)
{
// FIXME: implement
return 0;
}
int SDL_PushEvent(SDL_Event * event)
{
// FIXME: implement
......
......@@ -176,6 +176,12 @@ typedef enum
} SDL_eventaction;
/* SDL_events.h 543 */
/* SDL_events.h 568 */
int SDL_PeepEvents(SDL_Event * events, int numevents,
SDL_eventaction action,
Uint32 minType, Uint32 maxType);
/* SDL_events.h 624 */
int SDL_PushEvent(SDL_Event * event);
#endif
/*****************************************************************************
* ijksdl_overlay.c
*****************************************************************************
*
* copyright (c) 2013 Zhang Rui <bbcallen@gmail.com>
*
* This file is part of ijkPlayer.
*
* ijkPlayer is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* ijkPlayer is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with ijkPlayer; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "ijksdl_overlay.h"
int SDL_LockYUVOverlay(SDL_Overlay *overlay)
{
// FIXME: implement
return 0;
}
void SDL_UnlockYUVOverlay(SDL_Overlay *overlay)
{
// FIXME: implement
}
......@@ -35,4 +35,7 @@ typedef struct SDL_Overlay {
Uint32 hw_overlay:1;
} SDL_Overlay;
int SDL_LockYUVOverlay(SDL_Overlay *overlay);
void SDL_UnlockYUVOverlay(SDL_Overlay *overlay);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册