Files
project-solana/THIRD_PARTY_NOTICES.md
2026-10-13 20:04:31 -04:00

61 lines
2.9 KiB
Markdown

# Third-party code
## pl_mpeg
`host/src/movie/pl_mpeg2.h` is pl_mpeg by Dominic Szablewski
(https://github.com/phoboslab/pl_mpeg), extended here for MPEG-2. It is under the MIT licence below.
The MPEG-2 coefficient table B.15 and the run/level order in that file are
data from ISO/IEC 13818-2, cross-checked against FFmpeg's
`libavcodec/mpeg12data.c`.
### pl_mpeg licence (MIT)
Copyright (c) Dominic Szablewski - https://phoboslab.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
## jak-project's 989snd (ISC)
`host/src/rac1/snd989.c` and `host/src/rac1/snd989_tables.h` (the host's
989snd IOP driver) follow the jak-project's reimplementation of 989snd
(https://github.com/open-goal/jak-project, `game/sound/989snd` and
`game/sound/common`, by Ziemas) for the sound-effect grain semantics, the LFOs,
the volume and pan rules (MakeVolume, AdjustVolToGroup), the note-to-pitch
conversion, and they take from it the note pitch table, the pan table and the
SPU's Gaussian interpolation table. Those files are under the ISC licence:
Copyright (c) 2021-2024 Ziemas
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
The SPU2 reverb in the same file is written from the hardware's formula as
documented in nocash's psx-spx; its preset register values are the PlayStation
sound library's effect modes.