Implementation of real-time MPEG-4 FGS encoder

被引:0
|
作者
Chen, YK [1 ]
Peng, WH [1 ]
机构
[1] Intel Corp, Microprocessor Res Labs, Santa Clara, CA 95051 USA
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
While computers become faster than they used to be, software implementation of the latest video codec in real time is still a challenging topic. This paper presents our techniques in optimizing the speed of MPEG-4 Fine Granularity Scalability (FGS) video encoders. First, zigzag scans are slow processes in video encoding and decoding. While state-of-the-art processors utilize hardware data prefetchers to reduce memory latency, non-sequential addresses in the zigzag scan may destroy the trackability of hardware prefetching. The problem is even more serious in MPEG-4 FGS where we need multiple scans in bit-plane coding. More than 30% of CPU time is for bit-plane encoding in an MPEG-4 FGS encoder (including base layer and enhancement layer). In this work, we rearrange the layout of the image structure so that zigzag scans are in sequential memory locations. After the rearrangement, there are prefetch reads and we see 80% speed-up in bit-plane encoding. Second, variable length encoder (VLC) incurs a huge number of unpredictable conditional branches. While modern processors can execute tens of instructions in their pipeline, a mis-predicted branch will decrease the efficiency of the pipeline. The problem is severer in MPEG-4 FGS where we need multiple bit-plane VLC's. More than half of the CPU time for MPEG-4 FGS enhancement layer encoder is on bit-plane VLC's. In this work, we also design a bit-plane VLC algorithm, which has fewer unpredictable branches. The new design reduces mis-predicted branches by 2.4x. After these changes, overall speed-up in our MPEG-4 FGS software encoder is 1.4x without any assembly and MMX technology optimization.
引用
收藏
页码:839 / 846
页数:8
相关论文
共 50 条
  • [1] Real-time software based MPEG-4 video encoder
    Zheng, WG
    Ahmad, I
    Liou, ML
    [J]. PROCEEDINGS OF WORKSHOP AND EXHIBITION ON MPEG-4, 2002, : 71 - 74
  • [2] Cache Optimization for Real Time MPEG-4 encoder
    Hu-Zhiqiang
    Deng Lun-hui
    Rui Lv
    [J]. 2009 ISECS INTERNATIONAL COLLOQUIUM ON COMPUTING, COMMUNICATION, CONTROL, AND MANAGEMENT, VOL II, 2009, : 226 - 230
  • [3] Real-Time Interactive MPEG-4 System Encoder Using a Cluster of Workstations
    He, Yong
    Ahmad, Ishfaq
    Liou, Ming L.
    [J]. IEEE TRANSACTIONS ON MULTIMEDIA, 1999, 1 (02) : 217 - 233
  • [4] MPEG-4 FGS encoder design for an interactive content-aware MPEG-4 video streaming SOC
    Chang, YC
    Hsu, CW
    Chen, LG
    [J]. 4TH IEEE INTERNATIONAL WORKSHOP ON SYSTEM-ON-CHIP FOR REAL-TIME APPLICATIONS, PROCEEDINGS, 2004, : 172 - 175
  • [5] MPEG-4 HVXC real-time implementation on floating point DSP
    Na, H
    Jeong, DG
    [J]. VLSI'03: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON VLSI, 2003, : 13 - 18
  • [6] Distortion management of real-time MPEG-4 FGS video over downlink multicode (CDMA) networks
    Su, GM
    Han, Z
    Kwasinski, A
    Wu, M
    Liu, KJR
    Farvardin, N
    [J]. 2004 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS, VOLS 1-7, 2004, : 3071 - 3075
  • [7] Feasibility study of a real-time operating system for a multi-channel MPEG-4 encoder
    Lehtoranta, O
    Hämäläinen, TD
    [J]. MULTIMEDIA ON MOBILE DEVICES, 2005, 5684 : 292 - 299
  • [8] Real-time implementation of the MPEG-2 audio encoder
    Kim, SY
    Oh, HO
    Lee, KS
    Kim, KS
    Youn, DH
    Lee, JY
    [J]. IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 1997, 43 (03) : 593 - 597
  • [9] A real-time implementation of the MPEG-2 audio encoder
    Kim, SY
    Oh, HO
    Kim, KS
    Youn, DH
    Lee, YH
    Lee, JH
    [J]. INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS, 1997 DIGEST OF TECHNICAL PAPERS, 1997, : 210 - 211
  • [10] MPEG-4 encoder implementation on MAP-CA
    Chen, LL
    He, ZH
    Sethuraman, S
    Chen, CW
    [J]. 2002 INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS, DIGEST OF TECHNICAL PAPERS, 2002, : 276 - 277