Repository navigation
test: Warm up and allow one late hold in the deinterlace 2x field order test - #458
Merged
Merged
Conversation
…er test The first measured frame paid for a cold render path (startup underrun: fields 2-23 never shown), and a single late tick under load held one field a frame past the cadence. Each case now pushes black warm-up frames and waits for output before recording, and one field may be held one frame longer than the cadence allows; two such holds, or a longer one, still fail. Order checks (steps back in time, skipped fields) are unchanged. Closes #456 Local-Gate: v1 tree=3a2136b2db4bc872456f330f24ac0017c17a8a85 secs=209 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791868837,"gate":"rust/all/fmt","host":"linux-x86_64","key":"c3b0303caff730736f012354535ec489334f7a0c9b085136b17e2b45003439fb","lane":"lint","parents":["483c0f341b1cc18f2e72ec053e91351af2b26b5d"],"secs":21,"stamp":"58bad744ae9572afb9f07045fde80f90","tree":"3a2136b2db4bc872456f330f24ac0017c17a8a85","v":1,"via":"run"} Ci-Attestation: {"at":1791868837,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"c3b0303caff730736f012354535ec489334f7a0c9b085136b17e2b45003439fb","lane":"lint","parents":["483c0f341b1cc18f2e72ec053e91351af2b26b5d"],"secs":21,"stamp":"6c5225979839df44b1a474cdcf53603f","tree":"3a2136b2db4bc872456f330f24ac0017c17a8a85","v":1,"via":"run"} Ci-Attestation: {"at":1791868837,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"9e122132ed795df18a9743281a99d50a5359e3121e0f2909d4ac4fa20dbe487a","lane":"rust-test","parents":["483c0f341b1cc18f2e72ec053e91351af2b26b5d"],"secs":122,"stamp":"cc3726c4540a67cd75293acd1bd1c9d8","tree":"3a2136b2db4bc872456f330f24ac0017c17a8a85","v":1,"via":"run"} Ci-Attestation: {"at":1791868837,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"b894a669eab11d2270509a78d4aa5ade82c2aa00cd1ee4069c6ea7b6f84e9604","lane":"tier2-linux","parents":["483c0f341b1cc18f2e72ec053e91351af2b26b5d"],"secs":65,"stamp":"31ad2a651bf918feabc2e910d4294ef2","tree":"3a2136b2db4bc872456f330f24ac0017c17a8a85","v":1,"via":"run"}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #456 (both of the issue's options).
warm_up()before recording. It pushesWARMUP_FRAMES(6) black frames, whichclassify()can't recognise, at the source rate, then waits until the canvas has renderedWARMUP_TICKS(4) more frames, for at most 2 s. The first measured frame no longer pays for a cold render path.Verified:
rust/tools/linux-validate/run.sh --repeat 30 --tests test_deinterlace_2x_field_orderran 30 consecutive passes withENABLE_RUST_LIBOBSOFF and ON, plus the full suite (146/146) in each. The local gate passed and is stamped.Note: this is a fork-added test (a52bee1), not an upstream C test.