camera: Massive code reworking.

- Simplified public API, simplified backend interface.
- Camera device hotplug events.
- Thread code is split up so it backends that provide own threads can use it.
- Added "dummy" backend.

Note that CoreMedia (Apple) and Android backends need to be updated, as does
the testcamera app (testcameraminimal works).
This commit is contained in:
Ryan C. Gordon committed 2024-02-20 15:56:26 -05:00
1 parent 3d2d5d18f3
commit d3e6ef3cc6
14 files changed
+1772 -1587

No files matched your search

+8 -2
View File
@@ -18,8 +18,13 @@
#include <emscripten/emscripten.h>
#endif
#include <stdio.h>
#if 1
int main(int argc, char **argv)
{
SDL_Log("FIXME: update me");
return 0;
}
#else
static const char *usage = "\
\n\
=========================================================================\n\
@@ -769,3 +774,4 @@ int main(int argc, char **argv)
return 0;
}
#endif