Commit Graph

352 Commits

Author SHA1 Message Date
pigeatgarlic
cff75e8912 update client events 2023-10-30 23:35:41 +07:00
pigeatgarlic
949d934974 add display name as a param 2023-10-30 00:34:39 +07:00
pigeatgarlic
b50fe1b108 warning when dll not loaded 2023-10-28 15:59:18 +07:00
pigeatgarlic
02a012d154 test program 2023-10-28 11:41:11 +07:00
pigeatgarlic
1262ee2706 remove all global var 2023-10-28 00:14:35 +07:00
pigeatgarlic
1a0a3f9105 remove boost 2023-10-27 16:56:30 +07:00
pigeatgarlic
0d9dbcabfe loosen dependency on boost 2023-10-27 16:39:40 +07:00
pigeatgarlic
c01b3a4c25 fix build 2023-10-27 15:28:05 +07:00
pigeatgarlic
85f1f7c344 remove icon 2023-10-27 15:09:20 +07:00
pigeatgarlic
afbfbb508e remove 2023-10-27 15:05:57 +07:00
pigeatgarlic
c063e808dd remove thirdparty 2023-10-27 13:53:37 +07:00
pigeatgarlic
95bc97d09b remove modules 2023-10-27 13:24:20 +07:00
pigeatgarlic
9fc9790689 sizable queue 2023-10-27 11:19:26 +07:00
pigeatgarlic
0264f824a4 fix idr 2023-10-27 01:53:33 +07:00
pigeatgarlic
bf13f4d401 update package 2023-10-26 23:01:27 +07:00
pigeatgarlic
a7590466de optimize for dll 2023-10-26 21:37:47 +07:00
pigeatgarlic
51d3c07bb1 build as lib 2023-10-26 19:58:17 +07:00
pigeatgarlic
b6c1306d43 Clean 2023-10-26 19:10:58 +07:00
pigeatgarlic
f1d509adef init 2023-10-26 16:35:33 +07:00
Elia Zammuto
045044e7e7 Remove origin_pin_allowed 2023-10-15 14:00:34 -05:00
Elia Zammuto
329620dc1a Removed legacy pairing method 2023-10-15 14:00:34 -05:00
ns6089
a003f02ec3
Improve tray icon images (#1736) 2023-10-15 13:18:11 -04:00
Cameron Gutman
fe1832cda1 Revert "Use new 'remotegaming' scenario setting for QSV"
This causes Kaby Lake iGPUs to generate H.264 bitstreams with multiple
PPS NALUs which lead to some issues in current versions of Moonlight on
iOS and Android platforms.

This option also seems to override our max_dec_frame_buffering option
so it may increase latency on some Android devices too.

This reverts commit f838069a0e.
2023-10-14 01:49:47 -05:00
Cameron Gutman
11361ac9b6 Send proper DS4 timestamp values in our input reports 2023-10-10 23:10:20 -05:00
ns6089
a0fcaf7d19 Properly join session monitor window thread 2023-10-10 21:10:40 -05:00
Cameron Gutman
395d572b17
Fix Super key regression after 8a7111a (#1728) 2023-10-09 19:39:40 -04:00
Elia Zammuto
da04f97a8c Remove false positive FATAL log 2023-10-08 18:12:06 -05:00
Cameron Gutman
8a7111a63b Use our own keycode mapping instead of relying on Windows
Loading the US English layout causes user-visible side effects.
2023-10-08 17:32:22 -05:00
Cameron Gutman
56d13bc7e8 Fix missing newline in SDP response 2023-10-06 21:07:14 -05:00
Cameron Gutman
ee1a9a618a Remove clang-format suppressions 2023-10-06 18:29:50 -05:00
Cameron Gutman
71024491e2 Allow the Misc button to work as Guide on emulated Xbox 360 controllers
It isn't physically present on Xbox 360 controllers, so we may as well use it for something.
2023-10-06 18:29:50 -05:00
ns6089
974c4bd4a1 Remove unused shader input layout
We don't use SV_Position in our vertex shaders.
2023-10-05 23:06:40 -05:00
ns6089
7f2b96b3e0 Refactor shaders 2023-10-05 23:06:40 -05:00
ns6089
2086cad96e Support #include in dx shader compiler 2023-10-05 23:06:40 -05:00
Cameron Gutman
a29978d3de Don't start the session monitor window when launched in command mode 2023-10-05 21:50:48 -05:00
Cameron Gutman
a08e2b3de6 Add comments clarifying AVBufferRef usage and ownership 2023-10-04 22:36:16 -05:00
Cameron Gutman
dcb719ee5f Set prio_speed=1 on VideoToolbox encoder
This can massively improve encoding performance. See b67572c7c7
2023-10-04 22:36:16 -05:00
Cameron Gutman
c56ad91693 Implement zero-copy 8/10 bit encoding for macOS 2023-10-04 22:36:16 -05:00
Cameron Gutman
e535706a09 Fix CVPixelBuffer/CMSampleBuffer ownership issues 2023-10-04 22:36:16 -05:00
Cameron Gutman
ca041f2934 Use AVVideoScalingModeResizeAspect instead of abusing extended pixels
This not only eliminates the hand-rolled aspect ratio correction (which didn't actually handle scaling),
but it also avoids us having to write to the GPU frames to add padding which improves performance.
2023-10-04 22:36:16 -05:00
Cameron Gutman
a29d2e11ea Fix only capturing a single frame on macOS 2023-10-04 22:36:16 -05:00
Cameron Gutman
bee9215805 Fix loading dummy image in the sync encoding path 2023-10-04 22:36:16 -05:00
Cameron Gutman
3246428b7d Populate color properties on the AVFrame
VideoToolbox reads them from the AVFrame instead of the AVCodecContext.
2023-10-04 22:36:16 -05:00
Cameron Gutman
ed95b50f7a Automatically treat launcher-type apps as detached 2023-10-04 17:59:36 -05:00
Elia Zammuto
cfd78b5ce7
Fix shutdown when called from tray callback (#1691) 2023-10-04 11:25:38 -04:00
Cameron Gutman
f838069a0e Use new 'remotegaming' scenario setting for QSV 2023-10-02 19:49:29 -05:00
Cameron Gutman
eeb22a3e54 AMF 'preanalysis' property is now named 'preencode'
See f593dc98bf
2023-10-02 19:49:29 -05:00
Cameron Gutman
da5559bf7a Remove usage of deprecated AVFrame key_frame field 2023-10-02 19:49:29 -05:00
Cameron Gutman
3e477647ff Use a render node to create our VADisplay
Since libva 2.20, vaInitialize() will fail if we pass a primary node and
lack permission to authenticate. Since we don't actually need to have a
primary node fd to encode, let's use a render node instead.
2023-10-02 17:33:17 -05:00
Cameron Gutman
1303defb67 Fix crash during UDP segmentation due to stack garbage
CMSG_NXTHDR() tries to read the _next_ message to check if it fits in
the provided control buffer length. If that part of the stack has some
large value stored in the uninitialized cmsg_len there, CMSG_NXTHDR()
will return NULL and we will crash.
2023-10-02 00:13:47 -05:00