RetroArch
Classes | Typedefs | Enumerations | Functions | Variables
camera_driver.h File Reference
#include <stdint.h>
#include <boolean.h>
#include <retro_common_api.h>
#include <libretro.h>
Include dependency graph for camera_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  camera_driver
 

Typedefs

typedef struct camera_driver camera_driver_t
 

Enumerations

enum  rarch_camera_ctl_state {
  RARCH_CAMERA_CTL_NONE = 0, RARCH_CAMERA_CTL_DESTROY, RARCH_CAMERA_CTL_DEINIT, RARCH_CAMERA_CTL_SET_OWN_DRIVER,
  RARCH_CAMERA_CTL_UNSET_OWN_DRIVER, RARCH_CAMERA_CTL_OWNS_DRIVER, RARCH_CAMERA_CTL_SET_ACTIVE, RARCH_CAMERA_CTL_UNSET_ACTIVE,
  RARCH_CAMERA_CTL_IS_ACTIVE, RARCH_CAMERA_CTL_FIND_DRIVER, RARCH_CAMERA_CTL_SET_CB, RARCH_CAMERA_CTL_STOP,
  RARCH_CAMERA_CTL_START, RARCH_CAMERA_CTL_INIT
}
 

Functions

const char * config_get_camera_driver_options (void)
 
const voidcamera_driver_find_handle (int index)
 
const char * camera_driver_find_ident (int index)
 
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

camera_driver_t camera_v4l2
 
camera_driver_t camera_android
 
camera_driver_t camera_rwebcam
 
camera_driver_t camera_avfoundation
 
camera_driver_t camera_null
 

Typedef Documentation

◆ camera_driver_t

Enumeration Type Documentation

◆ rarch_camera_ctl_state

Enumerator
RARCH_CAMERA_CTL_NONE 
RARCH_CAMERA_CTL_DESTROY 
RARCH_CAMERA_CTL_DEINIT 
RARCH_CAMERA_CTL_SET_OWN_DRIVER 
RARCH_CAMERA_CTL_UNSET_OWN_DRIVER 
RARCH_CAMERA_CTL_OWNS_DRIVER 
RARCH_CAMERA_CTL_SET_ACTIVE 
RARCH_CAMERA_CTL_UNSET_ACTIVE 
RARCH_CAMERA_CTL_IS_ACTIVE 
RARCH_CAMERA_CTL_FIND_DRIVER 
RARCH_CAMERA_CTL_SET_CB 
RARCH_CAMERA_CTL_STOP 
RARCH_CAMERA_CTL_START 
RARCH_CAMERA_CTL_INIT 

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.

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.

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_android

camera_driver_t camera_android

◆ camera_avfoundation

camera_driver_t camera_avfoundation

◆ camera_null

camera_driver_t camera_null

◆ camera_rwebcam

camera_driver_t camera_rwebcam

◆ camera_v4l2

camera_driver_t camera_v4l2