Commit Graph

69 Commits

Author SHA1 Message Date
Jesse Talavera 334519167b Make the condition for using `camera_ffmpeg` consistent with the Makefile
- Should fix a link error
2025-04-06 19:05:34 -04:00
Eric Warmenhoven 8c729fd029 apple: enable JoeMatt's avfoundation-based camera driver 2025-03-03 23:20:59 -05:00
Jesse Talavera dd49f8fa0d Remove camera device list functions from camera drivers
- Those will come in a future PR instead
2025-02-20 15:42:02 -05:00
Jesse Talavera 63d965753f Merge branch 'refs/heads/master' into jtg/libavdevice-camera-driver
# Conflicts:
#	camera/camera_driver.c
#	configuration.c
2025-02-20 11:28:54 -05:00
Viačasłaŭ 5b9d5a9086
Buildfix for Debian 12 (#17522) 2025-02-06 02:10:06 +01:00
Viačasłaŭ 65014a46b4
Add PipeWire camera driver (#17507) 2025-02-03 04:30:13 +01:00
LibretroAdmin 18c85b5ccd Cleanups -
* Less string copies
* Some general cleanups
* Add extra param to runloop_message_queue_push so we can pass size_t
of the message
* Consistent conventions for local variable usage for certain things
2024-12-27 15:13:45 +01:00
Jesse Talavera ce1f31af8d Don't pass in the driver context to `camera_driver::device_list_new`
- Unlike some other drivers, the camera driver is only initialized when a core actually asks for it
- Therefore, the driver context isn't available when it's time to ask for devices
- I could refactor the camera driver to be created earlier, but then I'd need to refactor the other drivers as well
- That'll come later in another PR
2024-12-16 21:53:37 -05:00
Jesse Talavera 29f31b3457 Remove some stray whitespace
- Excluding this trivial change from commits is gonna drive me nuts
2024-12-02 14:11:29 -05:00
Jesse Talavera de3abdb556 Add some new camera_driver functions for retrieving a list of devices
- Only ffmpeg will support these right now
2024-12-01 19:34:08 -05:00
libretroadmin 82e4504968 Revert "(pt. 2) static variables are initialized to '0' automatically as per C rules"
This reverts commit 47410df7a3.
2024-11-19 03:03:05 +01:00
libretroadmin 47410df7a3 (pt. 2) static variables are initialized to '0' automatically as per C rules 2024-11-18 15:59:46 +01:00
Jesse Talavera-Greenberg d9207c924e Add a stub ffmpeg camera driver 2023-07-20 15:28:16 -04:00
twinaphex b3a1a769b9 Move location state and camera state out of retroarch.c 2021-11-11 07:43:49 +01:00
twinaphex 3581786708 Merge camera_driver.c with retroarch.c 2019-06-17 11:18:27 +02:00
twinaphex 712115ef9d (Wifi/Location/Camera) Get rid of 'own driver' mechanism 2019-02-27 17:02:33 +01:00
twinaphex f705503531 (Apple) Get rid of HAVE_CORELOCATION/HAVE_AVFOUNDATION - was mostly dormant
code and makes the Apple code needlessly complex right now. We can
always reintroduce this later on when the time is right
2019-02-07 04:03:52 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex 11f26ed549 Refactor verbosity code - try to avoid log calls if verbosity is not
set
2018-01-17 06:28:26 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 42ebe7a7ad Merge runloop.c and retroarch.c 2017-05-11 09:11:46 +02:00
twinaphex f97d084290 Create camera_driver_poll 2017-05-07 19:24:03 +02:00
twinaphex f0c2d786ae Update arrays struct 2017-04-28 22:59:13 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 77e5cdbfde Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
This reverts commit ad7386913c.
2016-12-22 23:36:11 +01:00
twinaphex ad7386913c Rename runloop_msg_queue_push to video_driver_msg_queue_push
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex 4711937c9c (camera_driver.c) Prevent null pointer dereference 2016-09-28 08:18:28 +02:00
twinaphex 4571dc33fc header include cleanups 2016-09-05 17:29:19 +02:00
twinaphex ce97d783a7 Some more header cleanups 2016-09-01 17:52:22 +02:00
twinaphex f8a7154557 Rename rarch_ functions 2016-05-09 07:09:26 +02:00
twinaphex 61bae588fb Header include changes 2016-03-22 02:45:25 +01:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex fe9ad4825d (gfx/video_driver.c) Cleanups 2016-03-04 19:12:54 +01:00
twinaphex f9ef8d4cc7 Move variables to camera_driver_ctl 2016-03-04 19:02:14 +01:00
twinaphex e34943194c Refactor camera driver code 2016-03-04 18:16:07 +01:00
twinaphex 0b1b56214e Try to reduce dependence on general.h 2016-02-07 13:18:48 +01:00
twinaphex 2cbb18b4e4 Create RARCH_DRIVER_CTL_FIND_INDEX 2016-02-01 13:15:53 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex fc6505e408 Get rid of rarch_system_info_get_ptr 2015-12-10 22:30:25 +01:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
Twinaphex 637eb68bed Create RARCH_CAMERA_CTL_DESTROY and RARCH_LOCATION_CTL_DESTROY 2015-12-07 08:05:52 +01:00
twinaphex c6359d6dbc Divorce g_system_menu from global state 2015-12-06 19:31:47 +01:00
twinaphex fadeb4b3e4 Turn some functions static 2015-12-05 23:03:05 +01:00
twinaphex 54dc5ca071 Move camera driver state out of driver_t 2015-12-05 15:52:25 +01:00
twinaphex a766d1c1c1 Create camera_driver_ctl 2015-12-05 14:40:04 +01:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00