Commit Graph

38 Commits

Author SHA1 Message Date
Cameron Gutman
0a59ce0ca9 Create a basic AV1 extension dictionary
We may also need the AV1CodecConfigurationBox though.
2023-10-20 17:11:02 -05:00
Cameron Gutman
2c76654841 Refactor decoder interface to pass decode unit into VideoDecoderRenderer 2023-10-20 17:04:06 -05:00
Cameron Gutman
2df60e571c Add support for H.264/HEVC bitstreams with multiple sets of parameter set NALUs 2023-10-13 23:39:26 -05:00
Cameron Gutman
3fb328e238 Fix for old Xcode version in CI 2023-09-24 20:55:08 -04:00
Cameron Gutman
957ce6095e Basic AV1 plumbing 2023-09-18 21:24:12 -05:00
Cameron Gutman
bdb7d08c57 Don't request IDR frame if the HDR metadata change was a no-op 2023-03-04 12:11:33 -06:00
Cameron Gutman
eefe8522c4 Plumb HDR metadata from Sunshine 2023-02-02 23:11:27 -06:00
Felipe Cavalcanti
71b953cdd2 Fix black screen in HDR mode in newer AppleTV 4K Models 2022-12-02 20:39:29 -06:00
Cameron Gutman
2ae79c5827 Rewrite buffer patching logic to avoid leaking if the first NALU has an unexpected offset 2022-09-28 17:42:48 -05:00
Cameron Gutman
65e40279ea Fix handling of 3 byte Annex B start sequences 2022-09-05 18:55:16 -05:00
Cameron Gutman
3b0d80bce2 Fix crash during display layer reinitialization 2022-03-27 14:14:19 -05:00
Cameron Gutman
6fb6b9bf38 Don't pace frame delivery if the display refresh rate has dropped 2022-02-12 19:14:06 -06:00
Cameron Gutman
736485616c Merge branch 'vsync' 2022-02-06 17:13:03 -06:00
Cameron Gutman
f21c58306e Preserve stream aspect ratio even when host resolution changes 2022-02-06 16:57:23 -06:00
Felipe Cavalcanti
7d6cb247b8 Add Frame Pacing feature 2022-02-02 13:37:07 -03:00
Cameron Gutman
bd582aa6c0 Switch to a pull-based renderer and render from CADisplayLink callback 2022-01-22 16:20:31 -06:00
Cameron Gutman
0fe84a7a1e Remove key frame detection logic
Moonlight-common-c already tells us whether a frame is an IDR or not
2021-07-09 17:43:36 -05:00
Cameron Gutman
0d75dd4efb Create stream view hierarchy programmatically 2020-11-01 20:00:39 -06:00
Cameron Gutman
42f29c44e6 Remove OSPortabilityDefs.h
The macOS support that used it has been removed for a while
2020-11-01 16:50:02 -06:00
Cameron Gutman
250f6618fd Plumb the presentation time from the server into the renderer 2019-11-11 18:42:11 -08:00
Cameron Gutman
653a72eaf8 Remove macOS port
We now have a proper native PC port (Moonlight Qt) and if we
wanted to bring the full iOS app over we can now use Catalyst.
2019-10-21 17:39:48 -07:00
Cameron Gutman
409b262a4f Add a hack as a possible workaround for #372 2019-09-14 11:49:09 -07:00
Cameron Gutman
30ec68cd4e Ensure the progress messages aren't obscured by the video layer 2018-06-02 01:01:45 -07:00
Cameron Gutman
04b2fccaef Only interact with the AVSampleBufferDisplayLayer on the main thread 2018-06-01 00:31:41 -07:00
Felix Kratz
f759f719e6 Dark Mode & Stream Overlay [macOS] (#315)
* dark mode & stream overlay

* removed all redundant imports

* update for the new xcode version with fixes for the new 'implicitly retains self warning'

* reworked the overlay view

* cleaning up unused variables

* small corrections
2018-04-22 00:44:22 -04:00
Cameron Gutman
e8832ed746 Refactor new macOS code to reduce #ifs, increase shared code, and fix warnings 2018-03-27 00:34:38 -07:00
Felix Kratz
6cc165b589 Port for macOS (#311)
* merged moonlight-mac with moonlight-ios

* reverted to the original project.pbxproj

* cleaned up the code, fixed lots of unnecessary code duplications

* multicontroller support (not tested)

* new class that can be used for further modularization of the MainFrameViewController
2018-03-26 23:50:40 -07:00
Cameron Gutman
3bc9e050f1 Update common-c and use codec masks rather than exact formats 2017-12-03 11:33:11 -08:00
Cameron Gutman
4b9bd8398b Update for video decoder API changes 2017-11-18 18:17:22 -08:00
Cameron Gutman
b99988836a Implement HEVC decoding for iOS 11 devices 2017-09-10 00:00:40 -07:00
Diego Waxemberg
8d3401f962 Changed name from Limelight to Moonlight due to C&D from Limelight
Networks, Inc.
2015-05-12 21:48:30 -04:00
Diego Waxemberg
e3dd4e7238 Created logger with log levels 2015-02-10 21:26:55 -05:00
Cameron Gutman
de4ed222cd Replace the old sublayer rather than adding the new one on top of the onscreen controls 2015-01-09 18:23:00 -05:00
Cameron Gutman
f7fdd7cb45 Request an IDR frame and reset the decoder if the decoder breaks 2015-01-09 18:02:18 -05:00
Diego Waxemberg
4a08288d0d A little bit of code cleanup 2014-12-31 18:55:30 -05:00
Cameron Gutman
1b98870b41 Fix missing video issue 2014-10-23 22:35:59 -04:00
Cameron Gutman
528b44f2f2 Stop using NSLog in internal functions because it seems to acquire a mutex that violates our locking order and causes deadlocks 2014-10-21 05:11:12 -04:00
Diego Waxemberg
29f676a6d1 refactored project directories 2014-10-21 03:50:18 -04:00