Title :
An Optimized Hardware Video Encoder for AVS with Level C+ Data Reuse Scheme for Motion Estimation
Author :
Wei, Kaijin ; Zhou, Rongwei ; Zhang, Shanghang ; Jia, Huizhu ; Xie, Don ; Gao, Wen
Author_Institution :
Nat. Eng. Lab. for Video Technol., Peking Univ., Beijing, China
Abstract :
In a hardware video encoder, Level C+ data reuse for motion estimation can reuse two-dimensional overlapped search window (SW) and thus is a good choice to trade off the memory bandwidth with the on-chip buffer size. However, the irregular zigzag coding order brings some other troubles to the encoder implementation. This paper mainly focuses on the special considerations for a Level C+ zigzag encoder. First we present a guideline about how to select the Level C+ zigzag HFmVn scan for the adopted encoder pipeline. Second, according to the guideline, zigzag HF5V3 coding order is applied into our Level C+ encoder in which a new function is added to alter zigzag bit-stream into standard raster order and exact motion vector predictor (MVP) can be used for most macro blocks (MBs) except some corner MBs to increase the coding performance. Third, zigzag-aware scheduling for prefetching the SW is proposed so that the pipeline will never be disturbed by this irregular coding order and can smoothly run MB by MB. In addition, balancing the bandwidth into each MB processing period can improve the bandwidth utilization. With these techniques, a real-time high-definition (HD) 1080P AVS encoder is successfully implemented on FPGA verification board with search range [-128, 128]×[-96, 96] and two reference frames at an operating frequency of 160 MHz.
Keywords :
C++ language; field programmable gate arrays; motion estimation; scheduling; video codecs; FPGA verification; HFmVn; MVP; bandwidth utilization; high-definition; irregular zigzag coding; level C+ data reuse scheme; macroblocks; memory bandwidth; motion estimation; motion vector predictor; on-chip buffer size; optimized hardware video encoder; zigzag bit-stream; zigzag-aware scheduling; Bandwidth; Encoding; Motion estimation; Pipeline processing; Pipelines; Standards; Streaming media; data reuse; memory bandwidth; pipeline scheduling; search window;
Conference_Titel :
Multimedia and Expo (ICME), 2012 IEEE International Conference on
Conference_Location :
Melbourne, VIC
Print_ISBN :
978-1-4673-1659-0
DOI :
10.1109/ICME.2012.11