RetroArch
Functions | Variables
camera_driver.c File Reference
#include <string.h>
#include "camera_driver.h"
#include "../configuration.h"
#include "../driver.h"
#include "../retroarch.h"
#include "../list_special.h"
#include "../verbosity.h"
Include dependency graph for camera_driver.c:

Functions

const voidcamera_driver_find_handle (int idx)
 
const char * camera_driver_find_ident (int idx)
 
const char * config_get_camera_driver_options (void)
 
void driver_camera_stop (void)
 
bool driver_camera_start (void)
 
void camera_driver_poll (void)
 
bool camera_driver_ctl (enum rarch_camera_ctl_state state, void *data)
 

Variables

static const camera_driver_tcamera_drivers []
 
static struct retro_camera_callback camera_cb
 
static const camera_driver_tcamera_driver = NULL
 
static voidcamera_data = NULL
 
static bool camera_driver_active = false
 
static bool camera_driver_data_own = false
 

Function Documentation

◆ camera_driver_ctl()

bool camera_driver_ctl ( enum rarch_camera_ctl_state  state,
void data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ camera_driver_find_handle()

const void* camera_driver_find_handle ( int  idx)

camera_driver_find_handle: : index of driver to get handle to.

Returns: handle to camera driver at index. Can be NULL if nothing found.

Here is the caller graph for this function:

◆ camera_driver_find_ident()

const char* camera_driver_find_ident ( int  idx)

camera_driver_find_ident: : index of driver to get handle to.

Returns: Human-readable identifier of camera driver at index. Can be NULL if nothing found.

Here is the caller graph for this function:

◆ camera_driver_poll()

void camera_driver_poll ( void  )
Here is the caller graph for this function:

◆ config_get_camera_driver_options()

const char* config_get_camera_driver_options ( void  )

config_get_camera_driver_options:

Get an enumerated list of all camera driver names, separated by '|'.

Returns: string listing of all camera driver names, separated by '|'.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ driver_camera_start()

bool driver_camera_start ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ driver_camera_stop()

void driver_camera_stop ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ camera_cb

struct retro_camera_callback camera_cb
static

◆ camera_data

void* camera_data = NULL
static

◆ camera_driver

◆ camera_driver_active

bool camera_driver_active = false
static

◆ camera_driver_data_own

bool camera_driver_data_own = false
static

◆ camera_drivers

const camera_driver_t* camera_drivers[]
static
Initial value:
= {
}
#define NULL
Pointer to 0.
Definition: gctypes.h:65
camera_driver_t camera_null
Definition: nullcamera.c:53