mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Move camera drivers to camera/drivers/
This commit is contained in:
parent
33cdd16c22
commit
444adb622f
@ -142,7 +142,7 @@ OBJ += frontend/frontend.o \
|
||||
audio/resamplers/nearest.o \
|
||||
audio/resamplers/cc_resampler.o \
|
||||
location/nulllocation.o \
|
||||
camera/nullcamera.o \
|
||||
camera/drivers/nullcamera.o \
|
||||
gfx/drivers/nullgfx.o \
|
||||
audio/drivers/nullaudio.o \
|
||||
input/drivers/nullinput.o \
|
||||
@ -177,7 +177,7 @@ ifeq ($(HAVE_EMSCRIPTEN), 1)
|
||||
OBJ += frontend/platform/platform_emscripten.o \
|
||||
input/drivers/rwebinput_input.o \
|
||||
audio/drivers/rwebaudio.o \
|
||||
camera/rwebcam.o
|
||||
camera/drivers/rwebcam.o
|
||||
endif
|
||||
|
||||
# Audio
|
||||
@ -601,7 +601,7 @@ endif
|
||||
# Camera
|
||||
|
||||
ifeq ($(HAVE_V4L2),1)
|
||||
OBJ += camera/video4linux2.o
|
||||
OBJ += camera/drivers/video4linux2.o
|
||||
DEFINES += -DHAVE_V4L2
|
||||
endif
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
#include <glsym/glsym.h>
|
||||
#include "../driver.h"
|
||||
#include "../../driver.h"
|
||||
|
||||
typedef struct android_camera
|
||||
{
|
@ -13,7 +13,7 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../driver.h"
|
||||
#include "../../driver.h"
|
||||
|
||||
static void *nullcamera_init(const char *device, uint64_t caps,
|
||||
unsigned width, unsigned height)
|
@ -13,8 +13,8 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../driver.h"
|
||||
#include "../emscripten/RWebCam.h"
|
||||
#include "../../driver.h"
|
||||
#include "../../emscripten/RWebCam.h"
|
||||
|
||||
static void *rwebcam_init(const char *device, uint64_t caps,
|
||||
unsigned width, unsigned height)
|
@ -20,7 +20,7 @@
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <stddef.h>
|
||||
#include "../performance.h"
|
||||
#include "../../performance.h"
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <gfx/scaler/scaler.h>
|
||||
#include <stdlib.h>
|
@ -418,16 +418,16 @@ AUDIO RESAMPLER
|
||||
CAMERA
|
||||
============================================================ */
|
||||
#if defined(ANDROID)
|
||||
#include "../camera/android.c"
|
||||
#include "../camera/drivers/android.c"
|
||||
#elif defined(EMSCRIPTEN)
|
||||
#include "../camera/rwebcam.c"
|
||||
#include "../camera/drivers/rwebcam.c"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_V4L2
|
||||
#include "../camera/video4linux2.c"
|
||||
#include "../camera/drivers/video4linux2.c"
|
||||
#endif
|
||||
|
||||
#include "../camera/nullcamera.c"
|
||||
#include "../camera/drivers/nullcamera.c"
|
||||
|
||||
/*============================================================
|
||||
LOCATION
|
||||
|
Loading…
x
Reference in New Issue
Block a user