1 An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization IEEE TRANSACTION ON MULTIMEDIA Hanli Wang, Student Member, IEEE, Sam Kwong,

Slides:



Advertisements
Similar presentations
Packet Video Error Concealment With Auto Regressive Model Yongbing Zhang, Xinguang Xiang, Debin Zhao, Siwe Ma, Student Member, IEEE, and Wen Gao, Fellow,
Advertisements

Wen-Hsiao Peng Chun-Chi Chen
Low-complexity merge candidate decision for fast HEVC encoding Multimedia and Expo Workshops (ICMEW), 2013 IEEE International Conference on Muchen LI,
Towards Efficient Wavefront Parallel Encoding of HEVC: Parallelism Analysis and Improvement Keji Chen, Yizhou Duan, Jun Sun, Zongming Guo 2014 IEEE 16th.
S HORT D ISTANCE I NTRA C ODING S CHEME FOR H IGH E FFICIENCY V IDEO C ODING IEEE Transaction on Image Processing, Vol. 22, No. 2, February 2013 Xiaoran.
A Highly Parallel Framework for HEVC Coding Unit Partitioning Tree Decision on Many-core Processors Chenggang Yan, Yongdong Zhang, Jizheng Xu, Feng Dai,
H.264/AVC Baseline Profile Decoder Complexity Analysis Michael Horowitz, Anthony Joch, Faouzi Kossentini, and Antti Hallapuro IEEE TRANSACTIONS ON CIRCUITS.
1 Adaptive slice-level parallelism for H.264/AVC encoding using pre macroblock mode selection Bongsoo Jung, Byeungwoo Jeon Journal of Visual Communication.
{ Fast Disparity Estimation Using Spatio- temporal Correlation of Disparity Field for Multiview Video Coding Wei Zhu, Xiang Tian, Fan Zhou and Yaowu Chen.
Compressed-domain-based Transmission Distortion Modeling for Precoded H.264/AVC Video Fan li Guizhong Liu IEEE transactions on circuits and systems for.
Li Liu, Robert Cohen, Huifang Sun, Anthony Vetro, Xinhua Zhuang BMSB
CABAC Based Bit Estimation for Fast H.264 RD Optimization Decision
Video Coding with Spatio-temporal Texture Synthesis and Edge-based inpainting Chunbo Zhu, Xiaoyan Sun, Feng Wu, and Houqiang Li ICME 2008.
Evaluation of Data-Parallel Splitting Approaches for H.264 Decoding
Wei Zhu, Xiang Tian, Fan Zhou and Yaowu Chen IEEE TCE, 2010.
Yu-Han Chen, Tung-Chien Chen, Chuan-Yung Tsai, Sung-Fang Tsai, and Liang-Gee Chen, Fellow, IEEE IEEE CSVT
Novel Point-Oriented Inner Searches for Fast Block Motion Lai-Man Po, Chi-Wang Ting, Ka-Man Wong, and Ka-Ho Ng IEEE TRANSACTIONS ON MULTIMEDIA, VOL.9,
FAST MACROBLOCK MODE SELECTION BASED ON MOTION CONTENT CLASSIFICATION IN H.264/AVC Ming Yang, Wensheng Wang ICIP 2004.
Outline Introduction Introduction Fast Inter Prediction Mode Decision for H.264 – –Pre-encoding An Efficient Inter Mode Decision Approach for H.264 Video.
Low-complexity mode decision for MVC Liquan Shen, Zhi Liu, Ping An, Ran Ma and Zhaoyang Zhang CSVT
Rate-Distortion Optimized Layered Coding with Unequal Error Protection for Robust Internet Video Michael Gallant, Member, IEEE, and Faouzi Kossentini,
1 Single Reference Frame Multiple Current Macroblocks Scheme for Multiple Reference IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY Tung-Chien.
An Efficient Low Bit-Rate Video-coding Algorithm Focusing on Moving Regions Kwok-Wai Wong, Kin-Man Lam, Wan-Chi Siu IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS.
Analysis, Fast Algorithm, and VLSI Architecture Design for H
Fast Mode Decision And Motion Estimation For JVT/H.264 Pen Yin, Hye – Yeon Cheong Tourapis, Alexis Michael Tourapis and Jill Boyce IEEE ICIP 2003 Sep.
Decision Trees for Error Concealment in Video Decoding Song Cen and Pamela C. Cosman, Senior Member, IEEE IEEE TRANSACTION ON MULTIMEDIA, VOL. 5, NO. 1,
FAST MULTI-BLOCK SELECTION FOR H.264 VIDEO CODING Chang, A.; Wong, P.H.W.; Yeung, Y.M.; Au, O.C.; Circuits and Systems, ISCAS '04. Proceedings of.
Multi-Frame Reference in H.264/AVC 卓傳育. Outline Introduction to Multi-Frame Reference in H.264/AVC Multi-Frame Reference Problem Two papers propose to.
Feature-Based Intra-/InterCoding Mode Selection for H.264/AVC C. Kim and C.-C. Jay Kuo CSVT, April 2007.
Scalable Rate Control for MPEG-4 Video Hung-Ju Lee, Member, IEEE, Tihao Chiang, Senior Member, IEEE, and Ya-Qin Zhang, Fellow, IEEE IEEE TRANSACTIONS ON.
A New Rate-Complexity-QP Algorithm for HEVC Intra-Picture Rate Control LING TIAN, YIMIN ZHOU, AND XIAOJUN CAO 2014 INTERNATIONAL CONFERENCE ON COMPUTING,
BIN LI, HOUQIAN LI, LI LI, AND JINLEI ZHANG IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL.23, NO.9, SEPTEMBER
Block Partitioning Structure in the HEVC Standard
BY AMRUTA KULKARNI STUDENT ID : UNDER SUPERVISION OF DR. K.R. RAO Complexity Reduction Algorithm for Intra Mode Selection in H.264/AVC Video.
A Low-Power VLSI Architecture for Full-Search Block-Matching Motion Estimation Viet L. Do and Kenneth Y. Yun IEEE Transactions on Circuits and Systems.
Error Resilience of Video Transmission By Rate-Distortion Optimization and Adaptive Packetization Yuxin Liu, Paul Salama and Edwad Delp ICME 2002.
Optimizing Baseline Profile in H
Image and Video Compression
Liquan Shen Zhi Liu Xinpeng Zhang Wenqiang Zhao Zhaoyang Zhang An Effective CU Size Decision Method for HEVC Encoders IEEE TRANSACTIONS ON MULTIMEDIA,
Low complexity H.264 Encoder using machine learning.
1 Efficient Reference Frame Selector for H.264 Tien-Ying Kuo, Hsin-Ju Lu IEEE CSVT 2008.
Adaptive Multi-path Prediction for Error Resilient H.264 Coding Xiaosong Zhou, C.-C. Jay Kuo University of Southern California Multimedia Signal Processing.
Low-Power H.264 Video Compression Architecture for Mobile Communication Student: Tai-Jung Huang Advisor: Jar-Ferr Yang Teacher: Jenn-Jier Lien.
H.264/AVC 基於影像複雜度與提早結束之快速 階層運動估計方法 Content-Based Hierarchical Fast Motion Estimation with Early Termination in H.264/AVC 研究生:何銘哲 指導教授:蔣依吾博士 中山大學資訊工程學系.
Fast Mode Decision for H.264/AVC Based on Rate-Distortion Clustering IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 14, NO. 3, JUNE 2012 Yu-Huan Sung Jia-Ching.
2 3 Be introduced in H.264 FRExt profile, but most H.264 profiles do not support it. Do not need motion estimation operation.
Rate-GOP Based Rate Control for HEVC SHANSHE WANG, SIWEI MA, SHIQI WANG, DEBIN ZHAO, AND WEN GAO IEEE JOURNAL OF SELECTED TOPICS IN SIGNAL PROCESSING,
Rate-distortion Optimized Mode Selection Based on Multi-channel Realizations Markus Gärtner Davide Bertozzi Classroom Presentation 13 th March 2001.
A New Coding Mode for Error Resilient Video EE368C Final Presentation Stanford University Sangoh Jeong Mar.8, 2001.
Figure 1.a AVS China encoder [3] Video Bit stream.
Guillaume Laroche, Joel Jung, Beatrice Pesquet-Popescu CSVT
Advances in digital image compression techniques Guojun Lu, Computer Communications, Vol. 16, No. 4, Apr, 1993, pp
Fast Mode Decision Algorithm for Residual Quadtree Coding in HEVC Visual Communications and Image Processing (VCIP), 2011 IEEE.
Fast motion estimation and mode decision for H.264 video coding in packet loss environment Li Liu, Xinhua Zhuang Computer Science Department, University.
A Robust Luby Transform Encoding Pattern-Aware Symbol Packetization Algorithm for Video Streaming Over Wireless Network Dongju Lee and Hwangjun Song IEEE.
An efficient Video Coding using Phase-matched Error from Phase Correlation Information Manoranjan Paul 1 and Golam Sorwar IEEE.
Vamsi Krishna Vegunta University of Texas, Arlington
IEEE Transactions on Consumer Electronics, Vol. 58, No. 2, May 2012 Kyungmin Lim, Seongwan Kim, Jaeho Lee, Daehyun Pak and Sangyoun Lee, Member, IEEE 報告者:劉冠宇.
Block-based coding Multimedia Systems and Standards S2 IF Telkom University.
Time Optimization of HEVC Encoder over X86 Processors using SIMD Kushal Shah Advisor: Dr. K. R. Rao Spring 2013 Multimedia.
A hybrid error concealment scheme for MPEG-2 video transmission based on best neighborhood matching algorithm Li-Wei Kang and Jin-Jang Leou Journal of.
1/39 Motion Adaptive Search for Fast Motion Estimation 授課老師:王立洋老師 製作學生: M 蔡鐘葳.
Outline  Introduction  Observations and analysis  Proposed algorithm  Experimental results 2.
Shen-Chuan Tai, Chien-Shiang Hong, Cheng-An Fu National Cheng Kung University, Tainan City,Taiwan (R.O.C.),DCMC Lab Pacific-Rim Symposium on Image and.
Fine-granular Motion Matching for Inter-view Motion Skip Mode in Multi-view Video Coding Haitao Yanh, Yilin Chang, Junyan Huo CSVT.
Multi-Frame Motion Estimation and Mode Decision in H.264 Codec Shauli Rozen Amit Yedidia Supervised by Dr. Shlomo Greenberg Communication Systems Engineering.
CMPT365 Multimedia Systems 1 Media Compression - Video Spring 2015 CMPT 365 Multimedia Systems.
Computational Controlled Mode Selection for H.264/AVC June Computational Controlled Mode Selection for H.264/AVC Ariel Kit & Amir Nusboim Supervised.
Fast Decision of Block size, Prediction Mode and Intra Block for H
Bongsoo Jung, Byeungwoo Jeon
Presentation transcript:

1 An Efficient Mode Decision Algorithm for H.264/AVC Encoding Optimization IEEE TRANSACTION ON MULTIMEDIA Hanli Wang, Student Member, IEEE, Sam Kwong, Senior Member, IEEE, and Chi-Wah Kok, Senior Member, IEEE

2 Outline  Introduction  Proposed Early Termination of Motion Estimation and Mode Decision  Proposed Algorithm for H.264 Mode Decision  Experimental Results  Conclusion

3 Introduction  The computational complexity in H.264 is increased due to mode decision where variable block size ME is employed  In this paper, we propose a more efficient and robust algorithm than *Variable Block size Best Motion Detection (VBBMD) to early terminate ME and mode decision. * L.Yang, K. Yu, J. Li, and S. Li, “An effective variable block-size early termination algorithm for H.264 video coding,” IEEE Trans. Circuits Syst. Video Technol., vol 15, no. 6, pp , Jun

4 Proposed Early Termination of Motion Estimation and Mode Decision  In video coding, it’s common that all DCT coefficients in a block are quantized to zeros.  ME can be early terminated if an all- zero block is detected.

5 Proposed Early Termination of Motion Estimation and Mode Decision  4x4 DCT C(n)=, for n=0, C(n)=1, otherwise denotes to round x to the nearest integer  Quantization f is

6 A. Sufficient Condition to Detect All-Zero Blocks  From(2), the sufficient condition for to be quantized to zero is  From(1) indicates each element of is multiplied by the element in the same position in matrix

7 A. Sufficient Condition to Detect All-Zero Blocks  The case of u=v=1 is firstly analyzed.  A 4x4 block is divided into four regions,  The sum of absolute difference, for each region  The sum of absolute difference SAD for a 4x4 block

8 A. Sufficient Condition to Detect All-Zero Blocks  Considering (4)-(7)  Form(3)(4), the sufficient condition to detect zero quantized DCT coefficient at (u,v) is. Thus

9 A. Sufficient Condition to Detect All-Zero Blocks  According to the three categories in Table I, three threshold are derived as  If, then all the DCT coefficients in the ith category will be quantized to zeros.  The sufficient condition to detect all-zero block

10 A. Sufficient Condition to Detect All-Zero Blocks  False rejection rate (FRR) The smaller FRR is, the more efficiency all-zero DCT blocks can be detected.  False acceptance rate (FAR) The smaller FAR is, the less the video quality degrades.  [10] Y.H. Moon, G. Y. Kim, and J. H. Kim, “An improved early detection algorithm for all-zero blocks in H.264 video coding,” IEEE Trans. Circuits Syst. Video Technol., vol. 15, no. 8, pp , Aug

11 B. Early Termination of Motion Estimation and Mode Decision  Early Motion Estimation Termination We can early terminate ME if all the 4x4 blocks within current block are determined as all-zero blocks under the condition(13).  In the assumption on spatial-temporal homogeneity, we may not get the best motion vector…  Early Mode Decision Termination If EMET is true for all the partitioned blocks in a MB, we can consider this MB is an all-zero MB and skip checking the other modes.  The additional overhead of calculation (10)–(13)… =>we can early stop checking EMET if one of the 4x4 blocks does not satisfy the condition in (13).

12 Proposed Algorithm for H.264 Mode Decision  We have executed a number of experiments and observed that 1. SKIP and 16x16 have a large proportion in MB partitions. 2. 8x8 occupies a large proportion in sub- MB partitions. 3. INTRA4 and INTRA16 have a very small proportion in inter coding.  M16 : the best mode of SKIP and 16x16 : RD cost of M16  : RD cost of 8x8

13 A. Temporal-Spatial Checking  M(n,x,y) : a MB which is in the nth frame with top left pixel in (x,y)  The temporal set is defined as  The spatial set is defined as  If( nonboundary MBs in and were encoded as SKIP or 16x16) => skip 8x4, 4x8, 4x4, INTRA4 and INTRA16 If( ) => skip 16x8 and 8x16  Additional computation : few comparison operations

14 B. Thresholds Based Prediction  We define two thresholds and  If( ) => skip 8x4, 4x8, 4x4, INTRA4, and INTRA16  If( ) => skip 16x8 and 8x16  From our exhaustive experiments, we found good results can be achieved when and are set to 50 and 200 respectively.

15 C. Monotonic Error Surface Based Prediction  : RD cost of 4x4  If( ) => skip 16x8 and 8x16  If( ) => only check 16x8 and 8x16 and skip all the other unchecked modes

16 D. Overall Algorithm EMDT C16 EMDT C8 False, record C8 TSC and C16<C8 false TSC Done True Set 8x4,4x8,4x4, I4, and I16 to inactive True C8-C16>Th16 false True C16-C8>Th8 false Set 16x8 and 8x16 to inactive false True Record C4 and EMDT C4 false C16>C8 and C8>C4 false Done True C16<C8 and C8<C4 false 16x8 inactive Set 8x4,4x8,I4, and I16 to inactive True false EMDT 16x8 false 8x16 inactive false Done True EMDT 8x16 false 8x4 inactive false Done True Set 16x8 and 8x16 to inactive True false Set all modes active. Select M16 and record C16

17 D. Overall Algorithm EMDT 8x4 false Done 4x8 inactive false True EMDT 4x8 false Done True Check I4 and I16 if they are active. Select the best mode false True

18 Experimental Results  H.264 reference software : JM9.5  ME with ¼ pixel resolution  Number of reference frames : 1  Motion search range : 16  Without B-frames  The period of I-frames : 10  Five values : 24, 28, 32, 36, and 40

19 Experimental Results

20 Experimental Results

21 Experimental Results  With B-frames  The period of I-frames : 4  GOP structure is IBBP  The other encoding parameters are the same.

22 Experimental Results

23 Experimental Results

24 Conclusion  A theoretical analysis is carried out to study the sufficient condition to detect all-zero blocks in H.264.  The proposed algorithm also introduces TSC, TBP, and MESBP methods to further skip examining redundant modes.  In the future, we will consider other fast mode decision techniques such as [3],[4],[7] to further optimize the proposed algorithm. 