Back to Search
Start Over
A fast and concise parallel implementation of the 8x8 2D forward and inverse DCTs using halide.
- Source :
-
Journal of Parallel & Distributed Computing . May2022, Vol. 163, p20-29. 10p. - Publication Year :
- 2022
-
Abstract
- • IDCT and FDCT written in Halide. • 200 Lines of Halide replace over 20,000 lines of Assembly Language. • 5-25% faster for decoding. • 10-40% faster for encoding. • Significantly easier to maintain and port to new architectures. The Discrete Cosine Transform (DCT) is commonly used for image and video coding and very efficient implementations of the forward and inverse transforms are of great importance. The popular libjpeg-turbo library contains handwritten, highly-optimised assembly language DCT implementations utilizing SIMD instruction sets for a variety of architectures. We present an alternative approach, implementing the 8x8 IDCT and FDCT written in the functional image processing language Halide. We show how less than 200 lines of Halide can replace over 20,000 lines of code the libjpeg-turbo library to perform JPEG encoding and decoding. The Halide implementation is compared for ARMv8 NEON and x86-64 SIMD extensions and shows a 5–25 percent performance improvement over the SIMD code in libjpeg-turbo for decoding and a 10–40 percent improvement for encoding. The Halide code is significantly easier to maintain and port to new architectures than the existing code. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 07437315
- Volume :
- 163
- Database :
- Academic Search Index
- Journal :
- Journal of Parallel & Distributed Computing
- Publication Type :
- Academic Journal
- Accession number :
- 155779045
- Full Text :
- https://doi.org/10.1016/j.jpdc.2022.01.014