QOIE
QOI Lossless Image Compression Core

The QOIE Core is an encoder that implements a highly-efficient, low-power, lossless image compression engine compliant with the Quite OK Image format (QOI) specification, version 1.0.

The QOI algorithm compresses RGB or RGBA images with 8 bits per color without any loss. It has a compression efficiency close to that of PNG compression, but with a fraction of the computational complexity. Capitalizing on the simplicity of the QOI algorithm, the QOIE encoder core can compress images at a very high speed and with minimal silicon resources. The core occupies approximately 15,000 equivalent NAND2 gates and can process one pixel per clock cycle. A single core instance can compress images at rates sufficient for UHD 4k30 video even in low-end FPGAs, 4k60 in mid-range FPGAs, and 8k30 or 60 in modern ASIC technologies.

The core is designed for ease of use and integration and adheres to coding and verification best practices. It requires no assistance from a host processor and uses simple handshake interfaces for input and output data. Technology mapping, timing closure, and scan insertion are trouble-free, as the core contains no multi-cycle or false paths, and uses only rising-edge-triggered D-type flip-flops, no tri-states, and a single-clock/reset domain. Its reliability and low risk have been proven through rigorous verification and FPGA validation.

The QOIE is a digital core and can be mapped to any ASIC Technology device. The following are sample implementation results. These sample results do not represent the minimum area or the fastest clock speed for the QOIE core. Please contact CAST to get accurate characterization for your target technology and throughput requirements.

ASIC Technology Area (um^2) Eq. NAND2 Gates Freq. (MHz)
Mpixels/s
TSMC 28nm HPC
tsmc28hpc-sc9-c35-ss-svt-125c
7,702 15,821 2,000
6,953 13,995 1,000
TSMC 16nm
tsmc16-sc7-svt-c16-ssgnp-125c
2,788 16,133 2,000
2,747 15,897 1,000

The QOIE is a digital core and can be mapped to any Intel® FPGA device (provided sufficient resources are available). The following are sample implementation results. These sample results do not represent the minimum area or the fastest clock speed for the QOIE core. Please contact CAST to get accurate characterization for your target device and throughput requirements. 

Target Family/Device Logic
Resources
Memory
Resources *
Freq. (MHz)
Mpixels/s
AGILEX™
Speed grade -2
356 ALMs 2 RAMB 600
Arria® 10 GX
Speed grade -1
204 ALMs 2 RAMB 450

The QOIE is a digital core and can be mapped to any Xilinx® FPGA device (provided sufficient resources are available). The following are sample implementation results. These sample results do not represent the minimum area or the fastest clock speed for the QOIE core. Please contact CAST to get accurate characterization for your target device and throughput requirements. 

Target Family/Device Logic
Resources
Memory
Resources
Freq. (MHz)
Mpixels/s
Kintex® UltraScale+™
xcku11pffve1517-1
253 LUTs - 1,000
Kintex® UltraScale™
xcku085flvb1760-3
254 LUTs - 900

Related Content

Features List

QOI Image Format

  • Lossless compression
  • Supports RGB and RGBA, 8-bit per color images
  • Compression performance similar to that of PNG with a fraction of the computational complexity

QOIE IP Core 

  • QOI compression with a compact and high-throughput hardware encoder
  • Outputs raw header-less QΟΙ files
    • Optional QOI header processing 
  • Supports RGB images
    • RGBA support can be added on request

High-Throughput

  • 1 pixel per clock-cycle throughput 
  • A single core can process UHD 4k60 in mid-range FPGAs, and 8k60 on modern ASIC technologies

Compact and Low-Power

  • Approximately 15,000 gates 

Deliverables

  • VHDL or Verilog RTL source code or targeted FPGA netlist
  • Verilog can be made available on request 
  • C-model for test vectors generation 
  • Integration Test-Bench 
  • Simulation & synthesis scripts

Resources

QOI Image Format page by the inventor Dominic Szablewskiphoboslab.org

Wikipedia entry on QOI Image Format

YouTube Video by Reducible on PNG and QOI  

Let's talk about your project and our IP solutions

Request Info