RetroArch
|
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <asm/types.h>
#include <linux/videodev2.h>
#include <memmap.h>
#include <retro_assert.h>
#include <retro_miscellaneous.h>
#include <gfx/scaler/scaler.h>
#include <gfx/video_frame.h>
#include <file/file_path.h>
#include <compat/strl.h>
#include "../camera_driver.h"
#include "../../verbosity.h"
Classes | |
struct | buffer |
struct | video4linux |
Typedefs | |
typedef struct video4linux | video4linux_t |
Functions | |
static int | xioctl (int fd, unsigned long request, void *args) |
static bool | init_mmap (void *data) |
static bool | init_device (void *data) |
static void | v4l_stop (void *data) |
static bool | v4l_start (void *data) |
static void | v4l_free (void *data) |
static void * | v4l_init (const char *device, uint64_t caps, unsigned width, unsigned height) |
static bool | preprocess_image (void *data) |
static bool | v4l_poll (void *data, retro_camera_frame_raw_framebuffer_t frame_raw_cb, retro_camera_frame_opengl_texture_t frame_gl_cb) |
Variables | |
camera_driver_t | camera_v4l2 |
typedef struct video4linux video4linux_t |
|
static |
|
static |
|
static |
camera_driver_t camera_v4l2 |