Metraipolis › archive › dc_250ee369b8a8

BRiDCT: Fast Two-Dimensional DCTs Using SIMD: SIMD Organization, Register Blocking, and Numerical Verification — arXiv:2609.28519

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28519
License (as archived)
CC0-1.0
Archived
2026-10-08T08:50:59.266Z
SHA-256 of the archived text
84d64a6c1cc6d554f115cc36927803d0ef87a32b1af2059691d0833a84d38873
Stable URL of this page
https://metraipolis.com/documento/dc_250ee369b8a8

How to cite

BRiDCT: Fast Two-Dimensional DCTs Using SIMD: SIMD Organization, Register Blocking, and Numerical Verification — arXiv:2609.28519 — arXiv (en), https://arxiv.org/abs/2609.28519 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_250ee369b8a8 (Metraipolis archive dc_250ee369b8a8, sha256 84d64a6c1cc6d554f115cc36927803d0ef87a32b1af2059691d0833a84d38873)
BibTeX
@misc{dc250ee369b8a8,
  title = {BRiDCT: Fast Two-Dimensional DCTs Using SIMD: SIMD Organization, Register Blocking, and Numerical Verification — arXiv:2609.28519},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28519},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_250ee369b8a8; sha256 84d64a6c1cc6d554f115cc36927803d0ef87a32b1af2059691d0833a84d38873},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.28519. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Repeated two-dimensional discrete cosine transforms (DCTs) require implementations that remain fast across several array sizes while preserving the mathematical transform. Fewer arithmetic operations do not guarantee a faster DCT: execution time also depends on how the computation uses the CPU's single-instruction, multiple-data (SIMD) units, registers and memory hierarchy. We implement established DCT algorithms in SIMD and compare execution strategies for forward, inverse, and normalized round-trip transforms on float32 arrays from $8\times8$ to $256\times256$. The resulting library, BRiDCT, combines the Shao--Johnson factorization with SIMD lane organization, banded intermediate storage, padding, and register blocking in C11/ARM NEON. On one Apple M3 Max, the final native library has lower execution times than the tested general-purpose routes---Apple's Accelerate framework (vDSP), FFTW and Ooura---across their available cases from $8\times8$ to $256\times256$. It also outperforms the tested libjxl and floating-point libjpeg-turbo routes. The compiled NumPy interface outperforms OpenCV in all 130 tested contracts per session, including squares up to $1024\times1024$ and two rectangles, with call and allocation costs included. Complementary comparisons evaluate SciPy, DUCC and cached/planned pyFFTW. The measured gains come from organizing SIMD execution and intermediate storage, rather than introducing a new arithmetic factorization. A reproducible 474-input verification corpus probes cancellation, neighboring floats, dynamic range, and extreme amplitudes: all 1 260 core checks of the final configuration pass, while boundary diagnostics reveal overflow and weak-component limitations. Larger native transforms show size-dependent limits. Code, versioned releases, dataset and recorded measurements: this https URL .

Tema degli esploratori: statistica e scienza dei dati (retro-catalogo arXiv: annunci del 2026-09-25 in eess.SP).
Categorie arXiv: Image and Video Processing (eess.IV) ; Signal Processing (eess.SP).
Pagina del lavoro: https://arxiv.org/abs/2609.28519 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T08:00:40.068Z dalla pagina https://arxiv.org/catchup/eess.SP/2026-09-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).