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
@@ -98,3 +98,11 @@ def generate(ctx):
|
||||
for c in cases:
|
||||
assert c["frames"], c["name"] + ": ffmpeg decoded no frame"
|
||||
ctx.emit("legacy_cases", cases)
|
||||
# tools/bench.luau: 320x240, 10 frames of each codec
|
||||
bench = []
|
||||
big = ["-f", "lavfi", "-i", "testsrc2=size=320x240:rate=10", "-t", "1"]
|
||||
for name, args in [("cinepak.avi", ["-c:v", "cinepak"]), ("msvideo1.avi", ["-c:v", "msvideo1"]),
|
||||
("qtrle.mov", ["-c:v", "qtrle", "-pix_fmt", "rgb24"]), ("smc.mov", ["-c:v", "smc"])]:
|
||||
ff(*big, *args, "bench_" + name)
|
||||
bench.append({"name": name, "data": open(os.path.join(tmp, "bench_" + name), "rb").read(), "width": 320, "height": 240})
|
||||
ctx.emit("legacy_bench", bench)
|
||||
Reference in new issue
Block a user