A five-stage pipeline design of binary arithmetic encoder in H.264/AVC

Context-based Adaptive Binary Arithmetic Coding (CABAC) is a well known bottleneck in H.264/AVC encoder. Despite its high performance, the tight feedback loops make it difficult to parallelize. Most researchers are concerned about multi-bin processing regardless of the pipeline design. But without pipeline, the overall performance is greatly limited. In this paper, the critical path for hardware implementation of binary arithmetic encoder (BAE) was analyzed in detail. We break the computing steps to the best extent, and re-arrange it to the appropriate pipeline to get a balanced latency at each stage. Further, new binary arithmetic encoder architecture with five stage pipeline and 1 bin per cycle was proposed, the latency of critical path were cut off exceedingly, and the frequency and throughput rate was improved. An FPGA implementation of the proposed pipelined architecture in our H.264 encoder is capable of 190Mbps encoding rate. And a maximum 483MHz could be achieved on SMIC 0.13μm technology, which meets the requirements of QFHD encoding at 30fps. The proposed architecture could be utilized in other designs to get a better performance.

[1]  Wei Zheng,et al.  Efficient pipelined CABAC encoding architecture , 2008, IEEE Transactions on Consumer Electronics.

[2]  Javier D. Bruguera,et al.  High-Throughput Architecture for H.264/AVC CABAC Compression System , 2006, IEEE Transactions on Circuits and Systems for Video Technology.

[3]  Itu-T and Iso Iec Jtc Advanced video coding for generic audiovisual services , 2010 .

[4]  Heiko Schwarz,et al.  Context-based adaptive binary arithmetic coding in the H.264/AVC video compression standard , 2003, IEEE Trans. Circuits Syst. Video Technol..

[5]  Satoshi Goto,et al.  A high throughput CABAC encoder design , 2011, 2011 IEEE 7th International Colloquium on Signal Processing and its Applications.

[6]  Youn-Long Lin,et al.  A high-throughput fully hardwired CABAC encoder for QFHD H.264/AVC main profile video , 2010, IEEE Transactions on Consumer Electronics.

[7]  Anantha Chandrakasan,et al.  A Highly Parallel and Scalable CABAC Decoder for Next Generation Video Coding , 2011, IEEE Journal of Solid-State Circuits.

[8]  Xiaohua Tian,et al.  Full RDO-Support Power-Aware CABAC Encoder With Efficient Context Access , 2009, IEEE Transactions on Circuits and Systems for Video Technology.