legacy video: bench lines (320x240 / 320x200 fixtures), Smacker frame decoder through 10-bit lookup tables
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
4b098276e2
commit
53325af777
5 files changed
+157
-56
No files matched your search
@@ -393,3 +393,9 @@ def generate(ctx):
|
||||
assert crcs, name
|
||||
cases.append({"name": name, "data": data, "width": w, "height": h, "depth": depth, "rate": rate, "frames": crcs})
|
||||
ctx.emit("fli_cases", cases)
|
||||
# tools/bench.luau: a 320x200 FLC, 10 frames (BRUN then SS2 deltas)
|
||||
w, h, n = 320, 200, 10
|
||||
imgs = idx_frames(w, h, n, 256, 9)
|
||||
frames = [frame([color([(0, pal(256, 9, False))], False), brun([[bytes([v]) for v in r] for r in imgs[0]], 1, True)])]
|
||||
frames += [frame([ss2(imgs[t], imgs[t - 1])]) for t in range(1, n)]
|
||||
ctx.emit("fli_bench", {"data": file(0xAF12, w, h, 8, 66, frames), "width": w, "height": h, "frames": n})
|
||||
Reference in new issue
Block a user