forge
Explore
Log in

Don't you dare go Hollow

The encode:: tests take the knob lock the encoder:: gates already take

Browse files at this commit

c1c9418b2d40e2b6924d5409c183e5a73a61002eAhmet Kaan GümüşParent: 5c50b7f
  • test
    • the encode:: tests take the knob lock the encoder:: gates already take
Show full message
test(av1): the encode:: tests take the knob lock the encoder:: gates already take

Same shape as 963327d2, now for `encode::tests`: `speed::KNOBS` only protects a
setter from a concurrent encode if EVERY encoding test holds the read side, and
half the crate's encodes live in this module -- `force_intrabc`,
`force_filter_intra`, `force_screen` (via `favourite_mode`),
`set_verify_final_replay` and the census counter resets are all process-global
writes that were racing the `encoder::` gates and each other under the default
`--test-threads`.

11 tests that SET a global take `knob_write()`, 41 that only encode take
`knob_read()`, and 7 pure table tests (the rect-reach/of_tu/vert_ab tables and
the tpl factor unit test) take nothing because they never reach the encoder.
tile.rs and filter_search.rs need nothing: no test there calls the search or a
knob setter. Test-only, no production path touched.

Gates: `cargo test -p ec-av1 --release --lib -- encode:: tile::` 80 passed,
the two thread-count gates `--include-ignored` 2 passed, the crate suite
548 passed / 43 ignored, `cargo check --workspace --all-targets -j4` 0 errors
and 0 ec-av1 warnings, pins 8590 / 28535 unchanged.
crates/ec-av1/src/encode.rsmodified+52 -0
@@ -10335,6 +10335,7 @@ mod tests {
1033510335 /// encode::tests::the_filter_search_picks_real_filters
1033610336 #[test]
1033710337 fn the_filter_search_picks_real_filters() {
10338+ let _knobs = crate::speed::knob_read();
1033810339 let fctx = &crate::decode::FrameCtx::new();
1033910340 let pictures: Vec<_> = (0..3).map(|i| panned_test_card(128, 128, i * 3)).collect();
1034010341 let encoded = encode_sequence_with_ctx(&pictures, 120, 0.5, fctx).unwrap();
@@ -10414,6 +10415,7 @@ mod tests {
1041410415 /// which is why this is an equality and not a tolerance.
1041510416 #[test]
1041610417 fn ffmpeg_decodes_exactly_what_the_encoder_reconstructed() {
10418+ let _knobs = crate::speed::knob_read();
1041710419 let fctx = &crate::decode::FrameCtx::new();
1041810420 if !have_ffmpeg() {
1041910421 eprintln!("SKIP ffmpeg_decodes_exactly_what_the_encoder_reconstructed: no ffmpeg");
@@ -10495,6 +10497,7 @@ mod tests {
1049510497 /// keeps every non-screen stream byte-identical.
1049610498 #[test]
1049710499 fn a_screen_content_picture_codes_palette_blocks_ffmpeg_decodes_exactly() {
10500+ let _knobs = crate::speed::knob_read();
1049810501 let fctx = &crate::decode::FrameCtx::new();
1049910502 let (width, height) = (192usize, 96usize);
1050010503 let _ = crate::tile::take_palette_hits();
@@ -10605,6 +10608,7 @@ mod tests {
1060510608 #[test]
1060610609 #[ignore = "needs the real-library manifest and ffmpeg"]
1060710610 fn probe_intrabc_key_frame() {
10611+ let _knobs = crate::speed::knob_write();
1060810612 let fctx = &crate::decode::FrameCtx::new();
1060910613 let fixtures = std::path::Path::new(env!("CARGO_MANIFEST_DIR"))
1061010614 .join("../../fixtures");
@@ -10654,6 +10658,7 @@ mod tests {
1065410658 /// exactly what the encoder did.
1065510659 #[test]
1065610660 fn a_repeated_pattern_key_frame_codes_intrabc_blocks_ffmpeg_decodes_exactly() {
10661+ let _knobs = crate::speed::knob_write();
1065710662 let fctx = &crate::decode::FrameCtx::new();
1065810663 // Wide enough for the wavefront rule (`INTRABC_DELAY_SB64` = 4
1065910664 // superblocks of 64) and tall enough for a source superblock row
@@ -10712,6 +10717,7 @@ mod tests {
1071210717 /// same coefficient syntax decodes clean on every intra key-frame gate).
1071310718 #[test]
1071410719 fn a_nearestmv_block_with_one_nonzero_coefficient_decodes_clean() {
10720+ let _knobs = crate::speed::knob_write();
1071510721 let fctx = &crate::decode::FrameCtx::new();
1071610722 if !have_ffmpeg() {
1071710723 eprintln!(
@@ -10846,6 +10852,7 @@ mod tests {
1084610852 /// restoration search reads are bit-identical over the frame's own crop.
1084710853 #[test]
1084810854 fn the_final_filter_replay_matches_the_capture_decode_at_odd_sizes() {
10855+ let _knobs = crate::speed::knob_write();
1084910856 let fctx = &crate::decode::FrameCtx::new();
1085010857 crate::decode::set_verify_final_replay(true);
1085110858 for &(width, height) in
@@ -10874,6 +10881,7 @@ mod tests {
1087410881 /// `ffprobe` is asserted to report below.
1087510882 #[test]
1087610883 fn a_frame_round_trips_at_its_own_size() {
10884+ let _knobs = crate::speed::knob_read();
1087710885 let fctx = &crate::decode::FrameCtx::new();
1087810886 if !have_ffmpeg() {
1087910887 eprintln!("SKIP a_frame_round_trips_at_its_own_size: no ffmpeg");
@@ -10940,6 +10948,7 @@ mod tests {
1094010948 /// the header's own size before output).
1094110949 #[test]
1094210950 fn an_854x480_picture_round_trips_through_its_padding() {
10951+ let _knobs = crate::speed::knob_read();
1094310952 let fctx = &crate::decode::FrameCtx::new();
1094410953 if !have_ffmpeg() {
1094510954 return;
@@ -11185,6 +11194,7 @@ mod tests {
1118511194 /// or the block coder would happen to fail on it.
1118611195 #[test]
1118711196 fn odd_dimensions_are_refused() {
11197+ let _knobs = crate::speed::knob_read();
1118811198 let fctx = &crate::decode::FrameCtx::new();
1118911199 for &(width, height) in &[(1921usize, 1080usize), (1920, 1081), (63, 63)] {
1119011200 let picture = Picture::grey(width, height);
@@ -11203,6 +11213,7 @@ mod tests {
1120311213 /// own (padded) reconstruction.
1120411214 #[test]
1120511215 fn sequence_round_trips_at_a_non_multiple_size() {
11216+ let _knobs = crate::speed::knob_read();
1120611217 let fctx = &crate::decode::FrameCtx::new();
1120711218 if !have_ffmpeg() {
1120811219 eprintln!("SKIP sequence_round_trips_at_a_non_multiple_size: no ffmpeg");
@@ -11246,6 +11257,7 @@ mod tests {
1124611257 /// inter tile writer's parity with it across a real multi-frame export.
1124711258 #[test]
1124811259 fn a_sequence_round_trips_at_the_exactly_half_straddle_size() {
11260+ let _knobs = crate::speed::knob_read();
1124911261 let fctx = &crate::decode::FrameCtx::new();
1125011262 if !have_ffmpeg() {
1125111263 eprintln!("SKIP a_sequence_round_trips_at_the_exactly_half_straddle_size: no ffmpeg");
@@ -11291,6 +11303,7 @@ mod tests {
1129111303 /// actually exercised).
1129211304 #[test]
1129311305 fn key_frame_and_inter_frame_both_encode_at_half_straddle_size() {
11306+ let _knobs = crate::speed::knob_read();
1129411307 let fctx = &crate::decode::FrameCtx::new();
1129511308 let (width, height) = (640usize, 360usize);
1129611309 let picture = Picture::grey(width, height);
@@ -11310,6 +11323,7 @@ mod tests {
1131011323 /// only encoder-clean.
1131111324 #[test]
1131211325 fn a_640x360_half_straddle_round_trips_through_ffmpeg_across_three_frames() {
11326+ let _knobs = crate::speed::knob_read();
1131311327 let fctx = &crate::decode::FrameCtx::new();
1131411328 if !have_ffmpeg() {
1131511329 eprintln!(
@@ -11335,6 +11349,7 @@ mod tests {
1133511349 /// encoder-clean (the test above) but decoder-clean against ffmpeg too.
1133611350 #[test]
1133711351 fn a_640x360_half_straddle_sequence_round_trips_through_ffmpeg() {
11352+ let _knobs = crate::speed::knob_read();
1133811353 let fctx = &crate::decode::FrameCtx::new();
1133911354 if !have_ffmpeg() {
1134011355 eprintln!(
@@ -11394,6 +11409,7 @@ mod tests {
1139411409 #[test]
1139511410 #[ignore = "a sweep, not a gate"]
1139611411 fn probe_lambda() {
11412+ let _knobs = crate::speed::knob_read();
1139711413 let fctx = &crate::decode::FrameCtx::new();
1139811414 let mut pictures = vec![
1139911415 ("test card".to_string(), test_card(160, 96)),
@@ -11425,6 +11441,7 @@ mod tests {
1142511441 #[test]
1142611442 #[ignore = "a sweep, not a gate"]
1142711443 fn probe_ladder() {
11444+ let _knobs = crate::speed::knob_read();
1142811445 let fctx = &crate::decode::FrameCtx::new();
1142911446 for (name, picture) in sweep_pictures() {
1143011447 let all = ladder(&picture, &KEY_FRAME_MODES, fctx);
@@ -11443,6 +11460,7 @@ mod tests {
1144311460 #[test]
1144411461 #[ignore = "a sweep, not a gate"]
1144511462 fn probe_split() {
11463+ let _knobs = crate::speed::knob_read();
1144611464 let fctx = &crate::decode::FrameCtx::new();
1144711465 for (name, picture) in sweep_pictures() {
1144811466 let ladder = |split: bool| {
@@ -11524,6 +11542,7 @@ mod tests {
1152411542 /// over a whole picture and the reconstruction gated against ffmpeg.
1152511543 #[test]
1152611544 fn every_mode_decodes_to_what_the_encoder_predicted() {
11545+ let _knobs = crate::speed::knob_write();
1152711546 let fctx = &crate::decode::FrameCtx::new();
1152811547 if !have_ffmpeg() {
1152911548 eprintln!("SKIP every_mode_decodes_to_what_the_encoder_predicted: no ffmpeg");
@@ -11567,6 +11586,7 @@ mod tests {
1156711586 /// while leaving every fidelity gate intact.
1156811587 #[test]
1156911588 fn the_search_picks_the_direction_the_picture_runs() {
11589+ let _knobs = crate::speed::knob_write();
1157011590 let fctx = &crate::decode::FrameCtx::new();
1157111591 // Same confound as [`every_mode_decodes_to_what_the_encoder_predicted`]:
1157211592 // a filter-intra block is coded `DC_PRED` whatever mode the arm
@@ -11674,6 +11694,7 @@ mod tests {
1167411694 /// directional pair has.
1167511695 #[test]
1167611696 fn the_search_beats_dc_alone() {
11697+ let _knobs = crate::speed::knob_read();
1167711698 let fctx = &crate::decode::FrameCtx::new();
1167811699 for (name, picture, want) in [
1167911700 ("test card", test_card(160, 96), -0.05),
@@ -11716,6 +11737,7 @@ mod tests {
1171611737 #[test]
1171711738 #[ignore = "a sweep, not a gate"]
1171811739 fn probe_directional() {
11740+ let _knobs = crate::speed::knob_write();
1171911741 let fctx = &crate::decode::FrameCtx::new();
1172011742 for (name, picture) in sweep_pictures() {
1172111743 let dc = ladder(&picture, &[DC_PRED], fctx);
@@ -11790,6 +11812,7 @@ mod tests {
1179011812 /// the above row where it should read the left column, would swap these.
1179111813 #[test]
1179211814 fn the_search_picks_the_diagonal_the_picture_runs() {
11815+ let _knobs = crate::speed::knob_write();
1179311816 let fctx = &crate::decode::FrameCtx::new();
1179411817 for (down_right, want) in [(true, D135_PRED), (false, D45_PRED)] {
1179511818 let picture = diagonal(160, 96, down_right);
@@ -11809,6 +11832,7 @@ mod tests {
1180911832 /// it, which is what costing the mode symbol is for.
1181011833 #[test]
1181111834 fn the_diagonals_beat_the_modes_that_read_no_further() {
11835+ let _knobs = crate::speed::knob_read();
1181211836 let fctx = &crate::decode::FrameCtx::new();
1181311837 for (name, picture, want) in [
1181411838 ("down-right", diagonal(160, 96, true), -0.20),
@@ -11832,6 +11856,7 @@ mod tests {
1183211856 /// something else, and a search with nothing to choose from likewise.
1183311857 #[test]
1183411858 fn a_mode_the_encoder_cannot_predict_is_refused() {
11859+ let _knobs = crate::speed::knob_read();
1183511860 let fctx = &crate::decode::FrameCtx::new();
1183611861 let picture = test_card(64, 64);
1183711862 let message = encode_key_frame_with_modes_with_ctx(&picture, 100, 0.5, &[13], fctx)
@@ -11851,6 +11876,7 @@ mod tests {
1185111876 /// right picture.
1185211877 #[test]
1185311878 fn the_encoded_picture_is_the_one_that_went_in() {
11879+ let _knobs = crate::speed::knob_read();
1185411880 let fctx = &crate::decode::FrameCtx::new();
1185511881 let picture = test_card(160, 96);
1185611882 let encoded = encode_key_frame_with_ctx(&picture, 100, 0.5, fctx).unwrap();
@@ -11873,6 +11899,7 @@ mod tests {
1187311899 /// loop above this will assume.
1187411900 #[test]
1187511901 fn fidelity_and_rate_move_with_the_quantizer() {
11902+ let _knobs = crate::speed::knob_read();
1187611903 let fctx = &crate::decode::FrameCtx::new();
1187711904 let picture = test_card(128, 128);
1187811905 let mut previous: Option<(usize, f64)> = None;
@@ -11940,6 +11967,7 @@ mod tests {
1194011967 /// average, which is the picture's own value, and codes nothing.
1194111968 #[test]
1194211969 fn a_flat_picture_costs_almost_nothing() {
11970+ let _knobs = crate::speed::knob_read();
1194311971 let fctx = &crate::decode::FrameCtx::new();
1194411972 let mut picture = Picture::grey(128, 128);
1194511973 picture.y.fill(97);
@@ -11976,6 +12004,7 @@ mod tests {
1197612004 /// still refused is a malformed picture.
1197712005 #[test]
1197812006 fn a_picture_off_the_block_grid_encodes_and_a_malformed_one_is_refused() {
12007+ let _knobs = crate::speed::knob_read();
1197912008 let fctx = &crate::decode::FrameCtx::new();
1198012009 encode_key_frame_with_ctx(&Picture::grey(40, 40), 100, 0.5, fctx)
1198112010 .expect("40x40 cuts a 16x16 leaf on both axes, which is an inferred split");
@@ -12059,6 +12088,7 @@ mod tests {
1205912088 /// right-most) leaf's mode. The stream now round-trips through ffmpeg.
1206012089 #[test]
1206112090 fn a_single_axis_straddle_round_trips_through_ffmpeg() {
12091+ let _knobs = crate::speed::knob_read();
1206212092 let fctx = &crate::decode::FrameCtx::new();
1206312093 if !have_ffmpeg() {
1206412094 eprintln!("SKIP a_single_axis_straddle_round_trips_through_ffmpeg: no ffmpeg");
@@ -12088,6 +12118,7 @@ mod tests {
1208812118 /// synthetic pictures — real video reaches contexts a test card does not.
1208912119 #[test]
1209012120 fn a_frame_of_real_video_decodes_to_what_the_encoder_reconstructed() {
12121+ let _knobs = crate::speed::knob_read();
1209112122 let fctx = &crate::decode::FrameCtx::new();
1209212123 let Ok(clip) = std::env::var("EC_AV1_CLIP") else {
1209312124 eprintln!(
@@ -12219,6 +12250,7 @@ mod tests {
1221912250 /// just the last one, and why this is an equality and not a tolerance.
1222012251 #[test]
1222112252 fn every_frame_of_a_sequence_decodes_to_what_the_encoder_reconstructed() {
12253+ let _knobs = crate::speed::knob_read();
1222212254 let fctx = &crate::decode::FrameCtx::new();
1222312255 if !have_ffmpeg() {
1222412256 eprintln!(
@@ -12260,6 +12292,7 @@ mod tests {
1226012292 /// names the first differing frame, plane and position.
1226112293 #[test]
1226212294 fn every_frame_of_a_sequence_decodes_through_our_own_decoder() {
12295+ let _knobs = crate::speed::knob_read();
1226312296 let fctx = &crate::decode::FrameCtx::new();
1226412297 // 256x128, not the 128x64 this started at: once a leaf could search
1226512298 // its second reference (lane-av1comp4) the small card's every
@@ -12325,6 +12358,7 @@ mod tests {
1232512358 /// expected to be the larger of the two).
1232612359 #[test]
1232712360 fn predicted_coeff_bits_track_the_tile_the_writer_wrote() {
12361+ let _knobs = crate::speed::knob_read();
1232812362 let fctx = &crate::decode::FrameCtx::new();
1232912363 let (width, height) = (256usize, 128usize);
1233012364 let pictures: Vec<Picture> = (0..5)
@@ -12429,6 +12463,7 @@ mod tests {
1242912463 /// printed and only the total is asserted on.
1243012464 #[test]
1243112465 fn pricer_error_census_by_block_class() {
12466+ let _knobs = crate::speed::knob_read();
1243212467 let fctx = &crate::decode::FrameCtx::new();
1243312468 let (width, height) = (256usize, 128usize);
1243412469 let pictures: Vec<Picture> = (0..5)
@@ -12479,6 +12514,7 @@ mod tests {
1247912514 #[test]
1248012515 #[ignore = "reads the real library, needs ffmpeg"]
1248112516 fn pricer_error_census_on_clips() {
12517+ let _knobs = crate::speed::knob_write();
1248212518 if !have_ffmpeg() {
1248312519 eprintln!("SKIP pricer_error_census_on_clips: no ffmpeg");
1248412520 return;
@@ -12546,6 +12582,7 @@ mod tests {
1254612582 /// asserted on beyond being reachable at all.
1254712583 #[test]
1254812584 fn low_motion_makes_an_inter_frame_smaller_than_the_key_frame() {
12585+ let _knobs = crate::speed::knob_read();
1254912586 let fctx = &crate::decode::FrameCtx::new();
1255012587 let (width, height) = (256usize, 128usize);
1255112588 let pictures: Vec<Picture> = (0..5)
@@ -12583,6 +12620,7 @@ mod tests {
1258312620 #[test]
1258412621 #[ignore = "a perf probe, not a gate"]
1258512622 fn stage_timing_breakdown() {
12623+ let _knobs = crate::speed::knob_read();
1258612624 let fctx = &crate::decode::FrameCtx::new();
1258712625 use std::time::Instant;
1258812626
@@ -12705,6 +12743,7 @@ mod tests {
1270512743 #[test]
1270612744 #[ignore = "a perf probe, not a gate"]
1270712745 fn stage_timing_breakdown_inter() {
12746+ let _knobs = crate::speed::knob_read();
1270812747 let fctx = &crate::decode::FrameCtx::new();
1270912748 use std::time::Instant;
1271012749
@@ -12753,6 +12792,7 @@ mod tests {
1275312792 #[test]
1275412793 #[ignore = "needs real clips and ffmpeg; prints numbers for the lane report to judge"]
1275512794 fn prune_k_quality_sweep() {
12795+ let _knobs = crate::speed::knob_read();
1275612796 let fctx = &crate::decode::FrameCtx::new();
1275712797 if !have_ffmpeg() {
1275812798 eprintln!("SKIP prune_k_quality_sweep: no ffmpeg");
@@ -12853,6 +12893,7 @@ mod tests {
1285312893 #[test]
1285412894 #[ignore = "needs real clips and ffmpeg; prints numbers for the lane report to judge"]
1285512895 fn prune_k_quality_sweep_inter() {
12896+ let _knobs = crate::speed::knob_read();
1285612897 let fctx = &crate::decode::FrameCtx::new();
1285712898 if !have_ffmpeg() {
1285812899 eprintln!("SKIP prune_k_quality_sweep_inter: no ffmpeg");
@@ -13008,6 +13049,7 @@ mod tests {
1300813049 /// measured - 0.5 dB; byte ceiling = measured * 1.15).
1300913050 #[test]
1301013051 fn real_clip_encodes_within_its_quality_and_size_budget() {
13052+ let _knobs = crate::speed::knob_read();
1301113053 let fctx = &crate::decode::FrameCtx::new();
1301213054 if !have_ffmpeg() {
1301313055 eprintln!("SKIP real_clip_encodes_within_its_quality_and_size_budget: no ffmpeg");
@@ -13069,6 +13111,7 @@ mod tests {
1306913111 /// floor = measured - 0.5 dB; byte ceiling = measured * 1.15).
1307013112 #[test]
1307113113 fn real_clip_encodes_within_its_quality_and_size_budget_at_a_straddle_size() {
13114+ let _knobs = crate::speed::knob_read();
1307213115 let fctx = &crate::decode::FrameCtx::new();
1307313116 if !have_ffmpeg() {
1307413117 eprintln!(
@@ -13126,6 +13169,7 @@ mod tests {
1312613169 #[test]
1312713170 #[ignore = "a perf probe, not a gate"]
1312813171 fn sequence_bench_sanity() {
13172+ let _knobs = crate::speed::knob_read();
1312913173 let fctx = &crate::decode::FrameCtx::new();
1313013174 use std::time::Instant;
1313113175 let (width, height) = (1280usize, 720usize);
@@ -13149,6 +13193,7 @@ mod tests {
1314913193 #[test]
1315013194 #[ignore = "a calibration probe, not a gate"]
1315113195 fn calibration_sweep_base_q_idx() {
13196+ let _knobs = crate::speed::knob_read();
1315213197 let fctx = &crate::decode::FrameCtx::new();
1315313198 if !have_ffmpeg() {
1315413199 eprintln!("SKIP calibration_sweep_base_q_idx: no ffmpeg");
@@ -13472,6 +13517,7 @@ mod tests {
1347213517 /// (`EC_AV1_ANGLE=0` restores that half).
1347313518 #[test]
1347413519 fn the_encoders_own_streams_are_byte_identical_to_their_pins() {
13520+ let _knobs = crate::speed::knob_read();
1347513521 if !have_ffmpeg() {
1347613522 eprintln!("SKIP the_encoders_own_streams_are_byte_identical_to_their_pins: no ffmpeg");
1347713523 return;
@@ -13556,6 +13602,7 @@ mod tests {
1355613602 #[test]
1355713603 #[ignore = "reads the real library"]
1355813604 fn probe_screen_detect() {
13605+ let _knobs = crate::speed::knob_read();
1355913606 if !have_ffmpeg() {
1356013607 eprintln!("SKIP probe_screen_detect: no ffmpeg");
1356113608 return;
@@ -13649,6 +13696,7 @@ mod tests {
1364913696 #[test]
1365013697 #[ignore = "reads the real library"]
1365113698 fn probe_screen_library() {
13699+ let _knobs = crate::speed::knob_read();
1365213700 if !have_ffmpeg() {
1365313701 eprintln!("SKIP probe_screen_library: no ffmpeg");
1365413702 return;
@@ -13993,6 +14041,7 @@ mod tests {
1399314041 #[test]
1399414042 #[ignore = "the encoder BD-rate baseline: minutes per clip, needs ffmpeg"]
1399514043 fn bd_rate_vs_libaom_and_rav1e() {
14044+ let _knobs = crate::speed::knob_write();
1399614045 if !have_ffmpeg() {
1399714046 eprintln!("SKIP bd_rate_vs_libaom_and_rav1e: no ffmpeg");
1399814047 return;
@@ -14579,6 +14628,7 @@ mod tests {
1457914628 #[test]
1458014629 #[ignore = "the native-resolution BD arm: minutes per row, needs ffmpeg"]
1458114630 fn bd_rate_screen_native() {
14631+ let _knobs = crate::speed::knob_read();
1458214632 native_bd_arm("bd_rate_screen_native", 12, false);
1458314633 }
1458414634
@@ -14611,6 +14661,7 @@ mod tests {
1461114661 #[test]
1461214662 #[ignore = "the long-GOP native BD arm: ~7 minutes per film row, needs ffmpeg"]
1461314663 fn bd_rate_film_long_gop() {
14664+ let _knobs = crate::speed::knob_write();
1461414665 native_bd_arm("bd_rate_film_long_gop", 48, true);
1461514666 }
1461614667
@@ -14775,6 +14826,7 @@ mod tests {
1477514826 #[test]
1477614827 #[ignore = "needs ffmpeg and the film fixtures"]
1477714828 fn tpl_intra_denominator_histogram() {
14829+ let _knobs = crate::speed::knob_read();
1477814830 if !have_ffmpeg() {
1477914831 eprintln!("SKIP tpl_intra_denominator_histogram: no ffmpeg");
1478014832 return;