Files
foo_input_joc/THIRD_PARTY_NOTICES.md
T
TheM14 b0ce3a162f
build / windows (push) Canceled after 0s
build / release (push) Canceled after 0s
Sync the kernel copy with the truncated JOC payload fix
The kernel copy follows JustOneCacophonyCXX abce846 (version 1.3.0).  An ID14
payload that ends inside joc_data is now a frame status (7) instead of a
stream error, so the renderer holds the previous matrices and playback
continues; the file task counts those frames and the stream status struct
gains an appended truncated_joc_frames field that joc_stream_status()
accepts in both struct sizes.  The nine kernel files are byte-identical to
the upstream checkout again, and the component needs no code change because
the fix lives inside the vendored kernel.

README, THIRD_PARTY_NOTICES, the kernel project and the CI comment now pin
the copy to abce846 (version 1.3.0).

Built Release-Static|x64.  The offline test tools build and pass, and
render_harness decodes the reported M4A to the end: 8 channels, 13,441,536
samples (8751 frames), peak 0.742114365, byte-identical to the fixed core
CLI output.
2026-11-10 00:08:19 +08:00

2.5 KiB
Raw Blame History

Third-party notices / 第三方通知

本文件记录 64-QMF / 77-hybrid 滤波器组表(kernel/src/hrtf/public_filterbank.h、 kernel/src/joc_core/qmf_tables.h)与 JOC Huffman 表 (kernel/src/joc_bitstream/joc_huffman_tables.h)的公开标准来源,以及 HRTF 数据与 专利的边界说明。

kernel/ 整体是 JustOneCacophonyCXX 在提交 abce8465f8edda3356738e1a1db7cb1b33191c72(版本号 1.3.0)的逐字副本; v1.2.0 tag 指向更早的提交 a276028,不作为同步基准。

公开标准来源

64-QMF → 77-hybrid 结构与 13-tap 低带 prototype 定义于 3GPP TS 26.405 / ETSI TS 126 405 第 5.2.2 节(Table 1 的 $Q=8$/Q=4 系数,delay 6):

G_q^p[n] = g^p[n]\cdot\exp\Bigl(j\,\frac{2\pi}{Q^p}\bigl(q+\tfrac12\bigr)(n-6)\Bigr)

64-band QMF analysis 即 ISO/IEC 14496-3/AMD1:2003 第 4.B.18.2 节的 MPEG-4 AAC/SBR 64 complex QMF bank;打包的 64\times10 表是公开 640-tap prototype 的多相重排:

A_{r,t} = \frac{(-1)^t}{128}\,c_{63-r+64t}

QMF synthesis 表为 analysis 多相矩阵 \mathbf{A} 的因果左逆 $\mathbf{A},\mathbf{W}=\mathbf{P}$(\mathbf{P} 为 577-sample 延迟置换; 全链 $961 = 577 + 6\times64$),rank-4 分解存储:

W_{b,l} = \sum_{r=1}^{4} t_{b,l,r}\,\mathbf{b}_{b,r}^{\top}

hybrid synthesis 表为 77→64 重组:高频带恒等 $Y_{3+b}=X_{16+b}$,低频带:

Y_p = \sum_{q\in C_p}\Bigl(\mathrm{Re}X_q + j\,s_q\,\mathrm{Im}X_q\Bigr),\qquad s_q\in\{\pm1\}

相同数值可在 FFmpeg(aacps_tablegen.h、aacsbrdata.h)等公开实现中查到。

AC-3 / E-AC-3 传输层与通道码表

kernel/src/eac3_transport/eac3_reader.cpp 的 AC-3 同步帧长度表由 A/52 的 fscod/frmsizecod 比特率表换算得到(48/44.1/32 kHz 三列),E-AC-3 帧长用标准 frmsiz 字段;kernel/src/joc_bitstream/joc_parser.cpp 的 16 bit chanmap 位表与 A/52 acmod 通道序来自 ATSC A/52 Annex E(等同 ETSI TS 102 366 Annex E)的 Table E2.5 / chanmap 定义。这些表是按公开标准写的数值,不含任何第三方实现代码。

HRTF 数据与 .jochrtf

.jochrtf 含有特定源 SOFA/HRTF 数据集的变换系数与 delay;其使用、复制与再分发仍受源 数据集许可约束,权限不明确时应作为私有 cache 保存。本仓库不分发任何 HRTF 数据集。

专利说明

标准可公开获取不等于获准实施相关专利。