Cleanup import of headers

This commit is contained in:
Iwan Timmer
2017-05-28 13:18:57 +02:00
parent 49a447c3d4
commit be2b44f124
14 changed files with 27 additions and 19 deletions

View File

@@ -17,9 +17,10 @@
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
*/
#include "../loop.h"
#include "imx_vpu.h"
#include "../loop.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>

View File

@@ -28,10 +28,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// Video decode on Raspberry Pi using OpenMAX IL though the ilcient helper library
// Based upon video decode example from the Raspberry Pi firmware
#include "sps.h"
#include <Limelight.h>
#include <sps.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -17,10 +17,11 @@
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
*/
#include "../video.h"
#include "../sdl.h"
#include "video.h"
#include "ffmpeg.h"
#include "../sdl.h"
#include <SDL.h>
#include <SDL_thread.h>

30
src/video/video.h Normal file
View File

@@ -0,0 +1,30 @@
/*
* This file is part of Moonlight Embedded.
*
* Copyright (C) 2015-2017 Iwan Timmer
*
* Moonlight is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Moonlight 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
*/
#include <Limelight.h>
#define DISPLAY_FULLSCREEN 1
#define FORCE_HARDWARE_ACCELERATION 2
#ifdef HAVE_X11
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_x11;
#endif
#ifdef HAVE_SDL
extern DECODER_RENDERER_CALLBACKS decoder_callbacks_sdl;
#endif

View File

@@ -17,11 +17,12 @@
* along with Moonlight; if not, see <http://www.gnu.org/licenses/>.
*/
#include "../video.h"
#include "../input/x11.h"
#include "video.h"
#include "egl.h"
#include "ffmpeg.h"
#include "../input/x11.h"
#include <X11/Xatom.h>
#include <X11/Xutil.h>