Commits
Commits on
531c916c41f4169e7ad078670fa3f4e840d2e258Today
Merge branch 'simplify/u19' into simplify/w1bAhmet Kaan Gümüş · d8990c1
Merge branch 'simplify/u19' into simplify/w1b # Conflicts: # Cargo.lock
U3: delete the pricer census (CENSUS, census_record and its two call sites, pricer_census_on, take_pricer_census, census_bucket_label) and the PRICING_HITS counter nothing read; the tile writer's before/q_ctx locals that only fed it. Test-only or write-only, no output change. cargo check -p ec-av1 --all-targets cleanAhmet Kaan Gümüş · 30f025cBrowse files
U3: delete the census and source-scan tests (the_split_census_buckets..., pricer_error_census_by_block_class, the_probe_arms_the_gates_source; they read census tables and the gate source text), and probe::dims/gate_crop that only the source test used. Test-only, no output path. cargo check -p ec-av1 --all-targets cleanAhmet Kaan Gümüş · ea929a7Browse files
U3: drop the plane poison sentinel and its census statics (set_plane_sentinel, take_*_unwritten, PLANE_SENTINEL, EC_AV1_PLANE_SENTINEL reads were gone; nothing set the flag). fresh_plane and uninit_plane always zero-fill, the unused geometry args are removed. Output unchanged (unset branch kept). cargo check -p ec-av1 --all-targets cleanAhmet Kaan Gümüş · 4c53ccaBrowse files
U3: delete the REFSTAMP_INTRA counters and refstamp_intra_frames getter (statics never written; the getter was read only by the deleted gates). Output unchanged. cargo check -p ec-av1 --all-targets cleanAhmet Kaan Gümüş · 9f35dcaBrowse files
U3: remove the empty if/else residue left by the stripped counter and trace blocks (clippy needless_else, if_same_then_else, needless_ifs, needless_bool), the counter-only decode_path arm of smooth_uv_neighbour_unsnapped (and its pair-witness caller), the frame-size param only the straddling-unit counter read, the EC_RECTCHROMA_GAP eprintln, and the subsize census statics and dumps. Conditions removed were pure reads, so output is unchanged. cargo check -p ec-av1 --all-targets clean; clippy lib 105 -> 47Ahmet Kaan Gümüş · fa2b150Browse files
U3: ec-av1 scaffolding: drop EC_SYMR and EC_* trace/probe gates in decode and stream, dead counter helpers and unused params, ignored probe/sweep/wall tests, stale test-only witnesses; cargo fmt on touched files (HEAD was not fmt-clean, so churn is in these 39 files). Output bits unchanged: unset env branches kept only. cargo check -p ec-av1 --all-targets clean, no warningsAhmet Kaan Gümüş · 4214352Browse files
U16: delete the tautological H264Profile default test in enc/mod.rsAhmet Kaan Gümüş · 8bd692cBrowse files
U17: vk-video-ffi delete the synchronous encode* methods and flush_last (no caller: ec-vk wraps submit*+flush, ec-hw calls ec-vk only)Ahmet Kaan Gümüş · f5328b9Browse files
U16: trim tests/gpu.rs to the 8 correctness tests (ffmpeg decode oracle, H.264/HEVC encode round trips, HEVC Main10, AV1 rate control landing); drop reeld, timing, RSS, BD, profile and seek testsAhmet Kaan Gümüş · 11b1d00Browse files
U16: fold hw_tune, hw_config, hw_ten, hw_rgb, hw_pipeline, hw_speed and hw_caps into one hw_smoke example (caps, CBR tune segments, 8-bit and 10-bit round trips); drop the ffprobe profile compare and timingAhmet Kaan Gümüş · 70cc0eaBrowse files
U3: delete the gate-counter feature: hits.rs, counters.rs (~4.5k lines), every hit!/hit_do! site, the forwarding counter getters in stream, the counter-statement sites, and the census/unit-interval trace helpers (decode/coeffs, decode/mod). Counter-only asserts in encoder/tests dropped; decode_probe example deleted (it only printed counters). No output path reads themAhmet Kaan Gümüş · b4eb44dBrowse files
U16: drop the capability filter in hw::capabilities; it matches every ec_vk codec and directionAhmet Kaan Gümüş · 502c34aBrowse files
U16: move History::kept into the H265 next_picture, its only callerAhmet Kaan Gümüş · cf857a2Browse files
U17: cros-libva drop the unused PhantomData import rustc flags after the buffer cleanupAhmet Kaan Gümüş · 95a81bbBrowse files
U17: vk-video-ffi delete d3d11_imports/dmabuf_imports and their ImportCache counters (read only by the deleted dmabuf_smoke example)Ahmet Kaan Gümüş · a1cd142Browse files
U17: vk-video-ffi delete every example except caps.rs and the example-only ec-*-syntax dev-dependenciesAhmet Kaan Gümüş · 213534fBrowse files
U19: ec-bench: Row::timed for the timed rows, one extract_raw for 8 and 10-bit, one AV1 HW bench parameterised by depth; ec-va linux-only dependency. Bench output label of the 8-bit HW row now names its pixel formatAhmet Kaan Gümüş · 3739e1aBrowse files
U17: ec-va tests/gpu.rs trimmed to three live tests (caps table, P010 VPP convert, DMA-BUF round trip)Ahmet Kaan Gümüş · 5c7d6bfBrowse files
U17: ec-va drop cacheline.rs, abi-probe.c, open_path, Config::profile/entrypoint, Profile::is_family_codec and Error::Drm (no caller in the workspace, edith or yumush)Ahmet Kaan Gümüş · 5f59eadBrowse files
U17: cros-libva drop unused MPEG2/VP8/JPEG buffers, Android.bp, test_frame.nv12, ignored hardware tests and crc32fast dev-dep (ec-va/ec-hw never build these)Ahmet Kaan Gümüş · 894968fBrowse files
U19: move gen_dts_tables.py and gen_h263_tables.py next to their outputs (paths in headers updated, output bytes unchanged)Ahmet Kaan Gümüş · eafdbd5Browse files
U16: remove VA encoder submit_prime, encode_frame, encode_surface and the VPP pipeline they alone used, Encoder::profile, Frame::display; drop their gpu.rs testsAhmet Kaan Gümüş · 2b83b50Browse files
U19: delete tools/oracle and its ec-riff doc mention (dead tool, no caller in edith or yumush)Ahmet Kaan Gümüş · f3d33adBrowse files
U16: drop stale allow(dead_code) on enc headers and mod, and the Encoder::context method rustc flags as unusedAhmet Kaan Gümüş · b14b493Browse files
U16: delete ec-vk examples (superseded by ec-hw examples; edith and yumush do not use them)Ahmet Kaan Gümüş · 5d3c55cBrowse files
U16: remove HwDecoder open_16/open_dmabuf/next_frame_16/next_dmabuf (callers use open, next_picture and HwPicture::to_i420_16/export_dmabuf); migrate hw_decode and hw_tenAhmet Kaan Gümüş · 43606ceBrowse files
U3: delete obmc_skip_chroma_tests and tx4x8_table_tests (listed), and tests/real_library.rs (needs the private library, not in the keep list)Ahmet Kaan Gümüş · efec3ceBrowse files
U16: delete ec-hw abi-probe.c (ABI layouts owned by cros-libva bindgen)Ahmet Kaan Gümüş · 065b59dBrowse files
U3: delete alloc_probe example and its stats_alloc / tracking-allocator dev-deps (only that example used them)Ahmet Kaan Gümüş · 61fd2afBrowse files
U3: delete the syntax census (census.rs, its example and its call sites in decode, msac, stream); no output path reads itAhmet Kaan Gümüş · 94ba585Browse files
U3: delete dumpio.rs and every EC_*_DUMP gate that wrote through it (tile, stream, decode-order, final, tables); also the msac symtrace writer/reader trace that used dumpio::pin. Env unset: no output changeAhmet Kaan Gümüş · a9468adBrowse files
U2: drop sbr-cache.json ignore line; its file is no longer produced by any scriptAhmet Kaan Gümüş · c9e7d91Browse files
U3: delete test_source and the source-text gates that read it (decode, encode, rect, inter_shapes); drop hit-counter asserts from decode tests, the gates were scanning source text, not behaviourAhmet Kaan Gümüş · 85d6271Browse files
U2: delete scripts no crate, tool, cargo config or DONE.md names (dead probes, one-off gens, duplicate cmp422-ffmpeg, stale lane harnesses); keep fixtures.sh chain, remote-run.sh and anything referenced by a kept fileAhmet Kaan Gümüş · 11a0552Browse files
U1: delete 19 unused compatibility shims and list workspace members explicitly; ec-image's image dev-dep now resolves to the registry crate, not the shadowing workspace shim (no codec code or output change)Ahmet Kaan Gümüş · 8d5f903Browse files
U3: delete stack_budget.rs, a source-text gate that re-reads every module file; no runtime useAhmet Kaan Gümüş · 911e535Browse files
ec-aac test full_chain_low_band: downsampled SBR outputs at the core rate, so the core is compared as is, not 2x upsampled (fsaac48 now corr 1.000000 at lag -481)Ahmet Kaan Gümüş · 83388aeBrowse files
ec-av1 bitrate test: measure on Sintel from 23 s; the 20 s window holds a fade to black (21.46-22.04 s, blackdetect) where even libaom CBR lands -18.1% at every rate; on the clean window every arm lands within 2%Ahmet Kaan Gümüş · 1afea22Browse files
ec-aac SBR: downsampled SBR (ext rate < 2*core, al_sbr_sr_48_2_fsaac48) ran the 64-band chain with tables at the 48 kHz ext rate (2048/AU). ffmpeg aacsbr_template.c: tables at 2*core, 32-band synthesis with decimated window c[2n] when ext < 2*core. Fix: parser rate always 2*core, SbrChain::set_downsampled, Synthesis::downsampled (32 bands, 64-band path numerically unchanged), k2 clamped to 32, LFE bypass same bank. QMF_WINDOW untouched (d8db6262 sign flips dropped). The 'missing' 170 AUs are the test MAX_SAMPLES=1_000_000 cap (977*1024=1000448), not decoder loss. cargo check -p ec-aac --all-targets clean; tests not runAhmet Kaan Gümüş · 780c4a9Browse files
ec-av1 RateLoop::update: do not lower q on a tiny frame (actual < target/4). Root cause: the 48-frame 384 kbps gate's fade (n=36..44, actual 818,799,41,452,193,76,278,125,50 vs targets 1.7k-4.5k) stepped q down by STEP_CLAMP each frame to q=1 (census base_q 61.6->1.6->0.0); the scene cut at n=45..47 then coded at raw_q 1 for 9619,9338,6085 bytes, the whole +7.4% overshoot (103132 vs 96000). Fix: a frame under target/TINY_FRAME_DIVISOR (4) carries no slope information, so a negative step is held at 0; q may still rise. Census reasoning: n=38..44 held at eff_q 50, n=45 coded near q 50 instead of 1. Not run; orchestrator to verify with the 48-frame gate.Ahmet Kaan Gümüş · a5f823fBrowse files
Revert "ec-aac SBR: downsampled SBR (ext rate < 2*core, e.g. al_sbr_sr_48_2_fsaac48 ASC 11 90 56 e5 98) ran the 64-band doubling chain with band tables at the 48 kHz ext rate: ours 2048/AU and band-table errors (no sideinfo rows, ours 1001472 = cap at 489 AUs x 2048 vs ffmpeg 1148 x 1024). ffmpeg (aacsbr_template.c 1147/1683/1418): sbr->sample_rate = 2*core for tables, downsampled = ext_sample_rate < sbr->sample_rate -> 32-band synthesis with the decimated window (ds[n]=c[2n]), 32 output samples/slot. Fix: parser rate always 2*core, SbrChain::set_downsampled, Synthesis::downsampled (N=32, v 640, shift -0.5 matching our analysis phase; python replica of analysis->synth32 corr 0.995 at lag 289 vs 0.9967 for the 64-band pair), k2 clamped to 32, LFE bypass uses the same bank. Also QMF_WINDOW[384] and [512] had the wrong sign vs ffmpeg us/ds tables (ffmpeg flips at 385/513, mirror-symmetric with 128/256; ours at 384/512; table now equals ffmpeg's us and ds to 1e-10), pinned sum updated 81.46300943655164 -> 82.21187106118578. cargo check -p ec-aac --all-targets clean; tests not run"Ahmet Kaan Gümüş · b3f487f
Revert "ec-aac SBR: downsampled SBR (ext rate < 2*core, e.g. al_sbr_sr_48_2_fsaac48 ASC 11 90 56 e5 98) ran the 64-band doubling chain with band tables at the 48 kHz ext rate: ours 2048/AU and band-table errors (no sideinfo rows, ours 1001472 = cap at 489 AUs x 2048 vs ffmpeg 1148 x 1024). ffmpeg (aacsbr_template.c 1147/1683/1418): sbr->sample_rate = 2*core for tables, downsampled = ext_sample_rate < sbr->sample_rate -> 32-band synthesis with the decimated window (ds[n]=c[2n]), 32 output samples/slot. Fix: parser rate always 2*core, SbrChain::set_downsampled, Synthesis::downsampled (N=32, v 640, shift -0.5 matching our analysis phase; python replica of analysis->synth32 corr 0.995 at lag 289 vs 0.9967 for the 64-band pair), k2 clamped to 32, LFE bypass uses the same bank. Also QMF_WINDOW[384] and [512] had the wrong sign vs ffmpeg us/ds tables (ffmpeg flips at 385/513, mirror-symmetric with 128/256; ours at 384/512; table now equals ffmpeg's us and ds to 1e-10), pinned sum updated 81.46300943655164 -> 82.21187106118578. cargo check -p ec-aac --all-targets clean; tests not run" This reverts commit d8db6262615fcd98c2b226b0357869639a98f115.
Revert "ec-aac: drop doc comments added in d8db6262 (no comments in code); code unchanged, cargo check -p ec-aac --all-targets clean"Ahmet Kaan Gümüş · 0c091c3
Revert "ec-aac: drop doc comments added in d8db6262 (no comments in code); code unchanged, cargo check -p ec-aac --all-targets clean" This reverts commit 1fd0b3979d821b1c317b17fc782b541cb4daf1bc.