mirror of
https://git.triforceproject.com/triforce/source
synced 2026-11-29 04:18:49 -04:00
Triforce v0.8.5
A Randomizer page in the launcher, a new title screen with Mods and Save Select tabs, scaling changes applied in game, the Jabu-Jabu bars fixed, renderer frame-time work and the brightness-flash fix, and fixes from the 0.8.4 reports.
This commit is contained in:
@@ -166,12 +166,15 @@ def main():
|
||||
vf.check(told in init and init.index(rule) < init.index("avcodec_open2(") < init.index(told) < init.index("av1_notice"),
|
||||
"Media Foundation is no longer the fallback of a libdav1d that does not open, with the notice last")
|
||||
nxt = vf.block(video, "static void decode_next(Dec *d) {")
|
||||
vf.check("const int64_t began = hos_now_ns();" in nxt and "const int64_t took = hos_now_ns() - began;" in nxt
|
||||
and "video_movie_decoded(&d->movie, took);" in nxt
|
||||
and nxt.index("began = hos_now_ns()") < nxt.index("mf_av1_decode(") < nxt.index("took = hos_now_ns() - began"),
|
||||
# ((Triforce, 11-22) the decode itself is decode_one's now and its count decode_done's, shared with the decode-ahead worker)
|
||||
done = vf.block(video, "static void decode_done(Dec *d, int end, int64_t ns, int live) {")
|
||||
vf.check("const int64_t t0 = hos_now_ns();" in nxt and "decode_done(d, end, hos_now_ns() - t0, 1);" in nxt
|
||||
and nxt.index("t0 = hos_now_ns()") < nxt.index("decode_one(d, n);") < nxt.index("decode_done(d, end, hos_now_ns() - t0, 1);")
|
||||
and "video_movie_decoded(&d->movie, ns);" in done
|
||||
and "mf_av1_decode(" in vf.block(video, "static void decode_one(Dec *d, Pending *n) {"),
|
||||
"decode_next does not time each submission")
|
||||
vf.check("d->movie.pictures++;" in vf.block(video, "static void queue_frame(Dec *d, const AVFrame *f) {"),
|
||||
"queue_frame does not count the movie's pictures")
|
||||
vf.check("d->movie.pictures++" in done and "movie" not in vf.block(video, "static void queue_frame(Dec *d, const AVFrame *f) {"),
|
||||
"decode_done does not count the movie's pictures, or queue_frame counts them without the decoder's lock")
|
||||
vf.check("d->movie.skipped += skipped;" in vf.block(video, "static void dec_acquire(Ctx *c) {"),
|
||||
"the catch-up does not count what it skipped for the movie's line")
|
||||
end = vf.block(video, "static void movie_end(Dec *d) {")
|
||||
@@ -180,7 +183,7 @@ def main():
|
||||
"movie_end does not log the line and start the counts again")
|
||||
flush = vf.block(video, "static void dec_flush(Ctx *c, const char *what) {")
|
||||
vf.check("movie_end(d);" in flush and
|
||||
flush.index("AcquireSRWLockExclusive(&d->lock);") < flush.index("movie_end(d);") < flush.index("pending_free(d);"),
|
||||
flush.index("AcquireSRWLockExclusive(&d->lock);") < flush.index("movie_end(d);") < flush.index("flush_locked(d);"),
|
||||
"a Stop or a Flush does not end the movie's line under the decoder's lock")
|
||||
vf.check("movie_end(d);" in vf.block(video, "static void dec_finalize(Ctx *c) {"), "the decoder's end does not end the movie's line")
|
||||
dev = (vf.ROOT / "docs" / "development.md").read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user