Efficient Hardware Architecture Design of K-Means Clustering Algorithm for AV1 Palette Mode Coding

The palette mode is a specialized coding tool for coding screen content video in Alliance for Open Media Video 1 (AV1), and K-means clustering is a necessary step in the palette mode. However, the high computational complexity and the strong data dependency in K-means clustering impede real-time processing. To address these issues, we propose an efficient hardware architecture design for the K-means clustering algorithm. Firstly, we propose a fully pipelined hardware architecture with two data-interleaving optimization methods, including K-interleaving and block-interleaving. Then, we propose a novel method for reusing original pixel data, which is motivated by the fact that the input original pixels are the same for different coding blocks. Finally, we propose a parallelized architecture that features three “K-means Engine” modules, with reusing of the “Euclidean distance calculate” module to minimize area. Experimental results show that the proposed hardware architecture can process all K-means clustering for pixels in a superblock in 10246 cycles under 650MHz working frequency, which can achieve 4K@30fps real-time processing. To the best of our knowledge, our work is the first attempt to design a K-means clustering hardware accelerator for palette mode in AV1.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Circuits & Systems II Express Briefs
Published
2025-06-17
DOI
https://doi.org/10.1109/tcsii.2025.3580435
Citations
2
Primary Topic
Video Coding and Compression Technologies
Type
article
Field-Weighted Citation Impact
2.97

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Efficient Hardware Architecture Design of K-Means Clustering Algorithm for AV1 Palette Mode Coding

Siwei Ma, Wen Ji, Haibing Yin, Xiaofeng Huang et al.
2 citations
IEEE Transactions on Circuits & Systems II Express Briefs
Video Coding and Compression Technologies
2.97
article

Efficient Hardware Architecture Design of K-Means Clustering Algorithm for AV1 Palette Mode Coding

Siwei Ma, Wen Ji, Haibing Yin, Xiaofeng Huang, Jiaqing Lin, Fengguang Liu
article en
2 citations

Abstract

The palette mode is a specialized coding tool for coding screen content video in Alliance for Open Media Video 1 (AV1), and K-means clustering is a necessary step in the palette mode. However, the high computational complexity and the strong data dependency in K-means clustering impede real-time processing. To address these issues, we propose an efficient hardware architecture design for the K-means clustering algorithm. Firstly, we propose a fully pipelined hardware architecture with two data-interleaving optimization methods, including K-interleaving and block-interleaving. Then, we propose a novel method for reusing original pixel data, which is motivated by the fact that the input original pixels are the same for different coding blocks. Finally, we propose a parallelized architecture that features three “K-means Engine” modules, with reusing of the “Euclidean distance calculate” module to minimize area. Experimental results show that the proposed hardware architecture can process all K-means clustering for pixels in a superblock in 10246 cycles under 650MHz working frequency, which can achieve 4K@30fps real-time processing. To the best of our knowledge, our work is the first attempt to design a K-means clustering hardware accelerator for palette mode in AV1.

IEEE Transactions on Circuits & Systems II Express BriefsVol. 72(8)
Zhejiang University of Science and Technology (CN), Chinese Academy of Sciences (CN), Peking University (CN), Institute of Computing Technology (CN), Zhejiang Science and Technology Information Institute (CN), Hangzhou Dianzi University (CN)
Key Research and Development Program of Jiangxi Province, National Key Research and Development Program of China
Openalex Percentile: Top 9%
Video Coding and Compression Technologies
2.97
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.