ws-audio2: TTA: codecs/audio/Tta (written from the TTA1 format description; no libtta / ffmpeg code) + audio/tta
TTA1 format 1, 8/16/24 bits, any channel count, header / seek table / frame CRC-32s, seeking, ID3v2 skipped, APEv2 tags; password-protected files -> UNSUPPORTED. 20 fixtures (ttaenc 3.4.1, the FATE inside.tta sample) bit-exact against ttaenc -d. Branch-free filter steps (LuaJIT: no register-coalescing aborts, 7 -> 40 MB/s). WavPack: the unary / gamma counts a byte at a time (LuaJIT traces). APE: the predictor rotations as single assignments. docs/guide/audio.md: the lossless section (+ tools/fixtures/docs_lossless.py inputs) and the Formats table.
This commit is contained in:
1 parent
ae8ff9d6bf
commit
085e385674
12 files changed
+857
-20
No files matched your search
@@ -1100,4 +1100,10 @@ do
|
||||
lossless("ape " .. c.name, ApeF, c.data)
|
||||
end
|
||||
end
|
||||
local TtaF = require("@formats/audio/tta")
|
||||
for _, c in require("@tests/gen/tta_cases") do
|
||||
if c.name == "s16_long" or c.name == "s24" or c.name == "ch6" then
|
||||
lossless("tta " .. c.name, TtaF, c.data)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user