55 Commits
Author SHA1 Message Date
itsmattkc 7788aebd8b added SDL fallback for vanilla-pi, fixed decoding issue seemingly 2024-11-15 19:59:29 -08:00
itsmattkc b17645c71e add mutexes for arena retrieval functions 2024-11-15 19:59:15 -08:00
itsmattkc b3ab7dcf5a remove unnecessary code 2024-11-15 19:03:31 -08:00
itsmattkc d9d9a0ab47 added SDL alt frontend to vanilla-pi 2024-11-15 19:03:22 -08:00
itsmattkc 7524130b7a use bswap correctly 2024-11-15 19:03:00 -08:00
itsmattkc e1e9128fb1 use significantly faster bit reversing algorithm 2024-11-15 17:57:15 -08:00
itsmattkc 72d889ebbc don't bother swapping bits on audio payload size
This amounts to a 16-bit byteswap anyway which is way faster
2024-11-15 17:00:14 -08:00
itsmattkc 242386ea75 use memory arena to optimize handing data to frontend 2024-11-15 16:52:19 -08:00
itsmattkc 410b002d99 optimization: only copy actual data to frontend 2024-11-15 15:50:34 -08:00
itsmattkc 5f86ab1498 use custom dhcp script
Greatly improves routing behavior.

Rather than letting dhclient perform routing and then "correct" it after the fact, we replace dhclient's behavior entirely.

Rather than add a system-wide route to 192.168.1.10, we bind our socket to the interface so no conflicts will occur with any other device on the network named 192.168.1.10. No system-wide route is made via the wireless interface for 192.168.1.0/24 or for 192.168.1.10.

Fixes #96
2024-11-15 12:57:46 -08:00
itsmattkc 4ecf7c07f1 move reverse_bits into util.c 2024-11-13 17:40:08 -08:00
itsmattkc 31afc359a1 move decoding into separate thread 2024-11-13 17:40:08 -08:00
itsmattkc a8893cd1f8 optimized writing exp golomb leading zeros 2024-11-08 16:24:05 -08:00
itsmattkc 2f6a3a1252 improved bitshift part of code 2024-11-08 16:22:51 -08:00
itsmattkc f6e0945095 got audio working on vanilla-pi 2024-11-08 16:19:02 -08:00
itsmattkc 997c4d7543 fixed audio seemingly 2024-11-06 16:18:14 -08:00
itsmattkc b063abb359 use software clzl implementation 2024-11-06 14:32:03 -08:00
itsmattkc 1aa81b4b3b fix cmake source entry 2024-11-04 20:40:30 -08:00
itsmattkc 73d3bc99db rename tests to test 2024-11-04 20:36:51 -08:00
itsmattkc 99d5d2c8ef introduce test building cmake arg 2024-11-04 20:36:29 -08:00
itsmattkc 00739b85b1 added unit tests for SPS generating code 2024-11-04 20:34:08 -08:00
itsmattkc 8e1ce4e5d6 generate custom SPS parameters
Fixes majority of latency issue on raspberry pi

Thanks to: https://forums.raspberrypi.com/viewtopic.php?p=334801#p334801
2024-11-04 20:33:52 -08:00
itsmattkc fe2fed1815 add controller support (and commented out audio support) 2024-11-04 20:32:10 -08:00
itsmattkc f20452ba66 rpi frontend needs -lm too 2024-11-04 20:31:43 -08:00
itsmattkc 4e2d1ed22c copy wpa_supplicant_drc so it doesn't leave files in the build directory 2024-11-04 20:31:34 -08:00
itsmattkc fadb98429a removed extant slash 2024-11-04 20:29:30 -08:00
itsmattkc 5c42244a4c only push audio event if payload size > 0 2024-11-04 20:29:10 -08:00
itsmattkc af454b07e1 make build the main cmd of rpi dockerfile 2024-10-27 18:22:49 -07:00
itsmattkc 717dcbc6cd add get_millis() to util 2024-10-27 18:22:20 -07:00
itsmattkc e140c1a58c significantly optimized video/audio packet intake 2024-10-27 18:22:08 -07:00
itsmattkc 5f34f63dc9 name all threads 2024-10-27 16:30:42 -07:00
itsmattkc 9252f39336 wow 60 fps! 2024-10-27 15:34:06 -07:00
itsmattkc 8c1db345ad rpi build require eudev 2024-10-27 15:32:37 -07:00
itsmattkc 9b4620f0e0 improved 2024-10-23 20:47:03 -07:00
itsmattkc 02879479e5 lol this took about 2 hours to figure out 2024-10-23 18:15:11 -07:00
itsmattkc 7587f805fd decoding mostly functional, display still iffy 2024-10-23 16:41:34 -07:00
itsmattkc c167ff44a3 get DRM PRIME frames directly from the decoder 2024-10-21 18:20:28 -07:00
itsmattkc 5cfb54800b started native DRM implementation 2024-10-21 16:52:50 -07:00
itsmattkc 8241f0d459 working-ish SDL implementation 2024-10-21 13:32:35 -07:00
itsmattkc 8401e31f17 removed unnecessary newline from debug 2024-10-21 13:32:08 -07:00
itsmattkc d78c38da70 add desktop mode to rpi frontend 2024-10-18 15:48:54 -07:00
itsmattkc 6827fa3172 install rpi frontend target 2024-10-16 15:05:47 -07:00
itsmattkc b3692520b7 add some more debugging stuff to rpi frontend 2024-10-16 15:05:37 -07:00
itsmattkc e2c3515e46 added more debug info to gamepad.c 2024-10-16 15:05:04 -07:00
itsmattkc c3e716e3e0 create dockerfile for cross-compiling to rpi 2024-10-16 15:04:55 -07:00
itsmattkc 0c1b72f269 add buildpi/ to gitignore 2024-10-16 15:04:43 -07:00
itsmattkc 7f272fd608 Merge branch 'event-loop' into rpi-eventloop 2024-10-14 13:34:43 -07:00
itsmattkc 4c903aba97 add test code 2024-10-14 13:33:43 -07:00
itsmattkc cd63e3a650 minor code improvements 2024-10-10 18:03:11 -07:00
itsmattkc fda77714d8 use SDL for YUV instead of AVFilter :) 2024-10-10 17:20:28 -07:00
itsmattkc 8d9c2d5080 video decoding working! 2024-10-10 17:14:31 -07:00
itsmattkc d93d7e14ff add error handling code for pipe socket 2024-10-10 17:14:08 -07:00
itsmattkc 54b3f16f2b Merge branch 'master' into rpi 2024-10-10 16:38:49 -07:00
itsmattkc 0860076f66 started work towards h264 decoder 2024-10-10 16:32:12 -07:00
itsmattkc b2eaac33fd started rpi app 2024-10-04 16:25:42 -07:00