aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/CameraManager.cpp
Commit message (Collapse)AuthorAge
* Move all core types into namespaces (#1886)Jesse Talavera-Greenberg2023-11-25
| | | | | | | | * Reorganize namespaces - Most types are now moved into the `melonDS` namespace - Only good chance to do this for a while, since a big refactor is next * Fix the build
* Fix some memory leaksRayyan Ansari2023-11-06
| | | | | | Free some objects that were allocated with new but not deleted, and in one case, do not set a pointer to nullptr before deleting, as this results in a memory leak due to memory allocated not being freed.
* CameraManager: wait for camera to be loadedRayyan Ansari2023-11-05
| | | | | | | | | | | | | | | In QCamera in Qt 5, the camera is required to have been loaded before querying its settings and resolutions. Doing so without loading being finished would result in the returned list being empty. See https://doc.qt.io/qt-5.15/qcamera.html#supportedViewfinderSettings Add a QEventLoop that waits for the state to change from Loading to Loaded before supportedViewfinderSettings() is called to ensure that valid information is returned. (Fixes my camera being blank in preview, same issue also presumed to occur when camera is needed in game, fix tested on a USB camera on a Linux system and Qt 5.)
* update copyright yearsArisotura2023-11-04
|
* add support for UYVY format (FaceTime camera)Arisotura2022-10-02
|
* camera: fix x-flip crustinessArisotura2022-10-02
|
* actual DSi camera support (#1520)Arisotura2022-10-02
basically feeding something that isn't a fixed stripe pattern, and emulating enough of the camera hardware to make this work