ws-h264: speed note in the codec header (bench numbers, LuaJIT trace limits)
This commit is contained in:
1 parent
7271e6e3fa
commit
06a756212b
1 file changed
+4
@@ -21,6 +21,10 @@
|
||||
-- end
|
||||
-- local rest = dec:flush() -- the frames still held for reordering
|
||||
--
|
||||
-- Speed (one Zen 5 core, tools/bench.luau, libx264 crf 23 clips): Luau --codegen ~220-425 fps at 320x240 and ~75-135
|
||||
-- fps at 640x360; LuaJIT with the api's trace limits (host/init.luau) about the same or faster, but with LuaJIT's default
|
||||
-- limits (maxtrace=1000) the trace cache thrashes and it drops to ~30-190 fps. Real-time is comfortable at 320x240 and
|
||||
-- feasible at 640x360 for typical bitrates; high-bitrate CIF conformance streams run ~100-150 fps (Luau).
|
||||
-- Never throws: bad data returns nil, Err (core/Err codes ARG / UNSUPPORTED / LIMIT), or frames with the bad slices
|
||||
-- concealed (dec.errors counts them, dec.lastError says why).
|
||||
local Err = require("@formats/core/Err")
|
||||
|
||||
Reference in new issue
Block a user