Cameron Cawley and Ronald S. Bultje
6d681d5144
Replace platform-specific APIs for getting the program name in getopt fallback
2026-06-10 10:59:12 +00:00
Cameron Cawley
60507bffc0
Fix compiler warning on platforms without cfi-icall
2026-01-30 23:46:42 +00:00
Cameron Cawley
4264096b72
Allow falling back to standard C signal on non-POSIX systems
2026-01-30 19:59:24 +00:00
Cameron Cawley and Henrik Gramner
f0b233fd09
Replace use of sprintf with snprintf
2026-01-21 14:41:57 +00:00
Cameron Cawley and Martin Storsjö
2bb7e63266
Fix reversed parameters when TRACK_HEAP_ALLOCATIONS is enabled
...
This fixes a regression from commit d268788467
2026-01-21 13:25:49 +00:00
Cameron Cawley
84792e61c8
dav1dplay: Print more error messages when window/context creation fails
2025-11-27 20:49:55 +00:00
Cameron Cawley
e60603a9f2
dav1dplay: Ensure a newer OpenGL version is used when creating the context
2025-11-27 20:49:41 +00:00
Cameron Cawley
28b165940d
Use CLOCK_REALTIME for providing the initial seed value
...
CLOCK_MONOTONIC is specified as returning time "since an unspecified point in the past". On RISC OS with UnixLib this returns the time since the last hard reset, but with SharedCLibrary this returns the time since the program started - combined with the coarse resolution used internally, this almost always results in a seed of 0.
CLOCK_REALTIME meanwhile is specified as returning time since the epoch, so it should behave consistently across all platforms.
2025-11-22 23:30:02 +00:00
Cameron Cawley and Martin Storsjö
a7a40a3fde
Define __ARM_ARCH with older compilers
...
This is needed for GCC 4.7 and earlier, as well as Visual Studio 2022 version 17.9 and earlier.
2024-09-18 18:29:36 +00:00
Cameron Cawley and Martin Storsjö
8e993f4d0b
Support older ARM versions with checkasm
2024-09-18 18:29:36 +00:00
Cameron Cawley and Ronald S. Bultje
d268788467
Support using C11 aligned_alloc for dav1d_alloc_aligned
2024-09-05 12:36:00 +00:00
Cameron Cawley and Ronald S. Bultje
507b697ec0
Allow software renderers with placebo-gl
2024-09-04 18:29:59 +00:00
Cameron Cawley and Ronald S. Bultje
312972d69b
Disable the mouse cursor in dav1dplay
2024-09-04 12:15:11 +00:00
Cameron Cawley and Ronald S. Bultje
b9cc27d5ff
Allow quitting dav1dplay with the escape key
2024-09-04 12:15:11 +00:00
Cameron Cawley and Ronald S. Bultje
2f9fc727e1
Allow playing videos in full-screen mode
2024-09-04 12:15:11 +00:00
Cameron Cawley and Ronald S. Bultje
4e1a8b4510
dav1dplay: Ensure that SDL is shut down when the application quits
2024-09-04 11:24:47 +00:00
Cameron Cawley
cc6eb3d53d
Allow getopt fallback to compile on non-Windows platforms
2024-09-01 22:54:56 +01:00
Cameron Cawley and Martin Storsjö
6b3c489a2e
Check for sys/types.h before using it
2024-08-29 21:15:22 +00:00
Cameron Cawley and Martin Storsjö
7490d98654
Only include unistd.h and pthread.h when necessary
2024-08-29 21:15:22 +00:00
Cameron Cawley and Martin Storsjö
a796f66e0a
Remove unused sys/stat.h includes
2024-08-29 21:15:22 +00:00
Cameron Cawley and Martin Storsjö
4104018949
Allow compile time CPU detection to be used when trim_dsp is disabled
2024-08-29 20:58:31 +00:00
Cameron Cawley and Ronald S. Bultje
0255c2b227
Ensure that the refmvs_refpair union is packed
2024-08-29 20:17:51 +00:00
Cameron Cawley and Ronald S. Bultje
033a090923
Detect availability of pthread_setname_np and pthread_set_name_np
2024-08-29 20:07:30 +00:00