Complexity Reduced Mode Selection of H.264/AVC Intra Coding

Similar documents
ARTICLE IN PRESS. Signal Processing: Image Communication

Efficient MPEG-2 to H.264/AVC Intra Transcoding in Transform-domain

Fast Decision of Block size, Prediction Mode and Intra Block for H.264 Intra Prediction EE Gaurav Hansda

Reduced 4x4 Block Intra Prediction Modes using Directional Similarity in H.264/AVC

A Quantized Transform-Domain Motion Estimation Technique for H.264 Secondary SP-frames

IBM Research Report. Inter Mode Selection for H.264/AVC Using Time-Efficient Learning-Theoretic Algorithms

Fast Intra Prediction Algorithm for H.264/AVC Based on Quadratic and Gradient Model

A Novel Partial Prediction Algorithm for Fast 4x4 Intra Prediction Mode Decision in H.264/AVC

Reduced Frame Quantization in Video Coding

Fast Mode Decision for H.264/AVC Using Mode Prediction

An Efficient Intra Prediction Algorithm for H.264/AVC High Profile

Categorization for Fast Intra Prediction Mode Decision in H.264/AVC

SINGLE PASS DEPENDENT BIT ALLOCATION FOR SPATIAL SCALABILITY CODING OF H.264/SVC

Deblocking Filter Algorithm with Low Complexity for H.264 Video Coding

FAST SPATIAL LAYER MODE DECISION BASED ON TEMPORAL LEVELS IN H.264/AVC SCALABLE EXTENSION

A Fast Intra/Inter Mode Decision Algorithm of H.264/AVC for Real-time Applications

Fast Intra- and Inter-Prediction Mode Decision in H.264 Advanced Video Coding

An Efficient Mode Selection Algorithm for H.264

An Efficient Inter-Frame Coding with Intra Skip Decision in H.264/AVC

One-pass bitrate control for MPEG-4 Scalable Video Coding using ρ-domain

LIST OF TABLES. Table 5.1 Specification of mapping of idx to cij for zig-zag scan 46. Table 5.2 Macroblock types 46

NEW CAVLC ENCODING ALGORITHM FOR LOSSLESS INTRA CODING IN H.264/AVC. Jin Heo, Seung-Hwan Kim, and Yo-Sung Ho

Title Adaptive Lagrange Multiplier for Low Bit Rates in H.264.

H.264 to MPEG-4 Transcoding Using Block Type Information

High Efficient Intra Coding Algorithm for H.265/HVC

International Journal of Emerging Technology and Advanced Engineering Website: (ISSN , Volume 2, Issue 4, April 2012)

Fast frame memory access method for H.264/AVC

An Efficient Table Prediction Scheme for CAVLC

An Improved H.26L Coder Using Lagrangian Coder Control. Summary

BANDWIDTH REDUCTION SCHEMES FOR MPEG-2 TO H.264 TRANSCODER DESIGN

Advanced Video Coding: The new H.264 video compression standard

Fast Transcoding From H.264/AVC To High Efficiency Video Coding

Performance Comparison between DWT-based and DCT-based Encoders

A Survey on Early Determination of Zero Quantized Coefficients in Video Coding

H.264/AVC Baseline Profile to MPEG-4 Visual Simple Profile Transcoding to Reduce the Spatial Resolution

Block-based Watermarking Using Random Position Key

A Novel Deblocking Filter Algorithm In H.264 for Real Time Implementation

Pattern based Residual Coding for H.264 Encoder *

A NOVEL SCANNING SCHEME FOR DIRECTIONAL SPATIAL PREDICTION OF AVS INTRA CODING

Reducing/eliminating visual artifacts in HEVC by the deblocking filter.

STANDARD COMPLIANT FLICKER REDUCTION METHOD WITH PSNR LOSS CONTROL

Adaptation of Scalable Video Coding to Packet Loss and its Performance Analysis

Transcoding from H.264/AVC to High Efficiency Video Coding (HEVC)

An Optimized Template Matching Approach to Intra Coding in Video/Image Compression

Video compression with 1-D directional transforms in H.264/AVC

Homogeneous Transcoding of HEVC for bit rate reduction

Motion Vector Coding Algorithm Based on Adaptive Template Matching

CONTENT ADAPTIVE COMPLEXITY REDUCTION SCHEME FOR QUALITY/FIDELITY SCALABLE HEVC

ERROR-ROBUST INTER/INTRA MACROBLOCK MODE SELECTION USING ISOLATED REGIONS

Enhanced Hexagon with Early Termination Algorithm for Motion estimation

[30] Dong J., Lou j. and Yu L. (2003), Improved entropy coding method, Doc. AVS Working Group (M1214), Beijing, Chaina. CHAPTER 4

Bit Allocation for Spatial Scalability in H.264/SVC

H.264/AVC BASED NEAR LOSSLESS INTRA CODEC USING LINE-BASED PREDICTION AND MODIFIED CABAC. Jung-Ah Choi, Jin Heo, and Yo-Sung Ho

Fast Wavelet-based Macro-block Selection Algorithm for H.264 Video Codec

Xin-Fu Wang et al.: Performance Comparison of AVS and H.264/AVC 311 prediction mode and four directional prediction modes are shown in Fig.1. Intra ch

Fast HEVC Intra Mode Decision Based on Edge Detection and SATD Costs Classification

Video Coding Using Spatially Varying Transform

A High Quality/Low Computational Cost Technique for Block Matching Motion Estimation

VIDEO streaming applications over the Internet are gaining. Brief Papers

OVERVIEW OF IEEE 1857 VIDEO CODING STANDARD

For layered video encoding, video sequence is encoded into a base layer bitstream and one (or more) enhancement layer bit-stream(s).

FAST MOTION ESTIMATION WITH DUAL SEARCH WINDOW FOR STEREO 3D VIDEO ENCODING

An adaptive preprocessing algorithm for low bitrate video coding *

Complexity Reduction Tools for MPEG-2 to H.264 Video Transcoding

Fast H.264/AVC FRExt Intra Coding Using Belief Propagation

QUANTIZER DESIGN FOR EXPLOITING COMMON INFORMATION IN LAYERED CODING. Mehdi Salehifar, Tejaswi Nanjundaswamy, and Kenneth Rose

Editorial Manager(tm) for Journal of Real-Time Image Processing Manuscript Draft

Fast Implementation of VC-1 with Modified Motion Estimation and Adaptive Block Transform

Optimal Estimation for Error Concealment in Scalable Video Coding

Gravity direction-based ultra-fast intraprediction algorithm for H.264/AVC video coding

Comparative and performance analysis of HEVC and H.264 Intra frame coding and JPEG2000

Transcoding from H.264/AVC to High Efficiency Video Coding (HEVC)

Realtime H.264 Encoding System using Fast Motion Estimation and Mode Decision

Jun Zhang, Feng Dai, Yongdong Zhang, and Chenggang Yan

A COST-EFFICIENT RESIDUAL PREDICTION VLSI ARCHITECTURE FOR H.264/AVC SCALABLE EXTENSION

PAPER Optimal Quantization Parameter Set for MPEG-4 Bit-Rate Control

Rate-distortion Optimized Streaming of Compressed Light Fields with Multiple Representations

JOINT RATE ALLOCATION WITH BOTH LOOK-AHEAD AND FEEDBACK MODEL FOR HIGH EFFICIENCY VIDEO CODING

A STUDY ON VIDEO RATE WEIGHTED ESTIMATION CONTROL ALGORITHM

VHDL Implementation of H.264 Video Coding Standard

Simple intra prediction algorithms for heterogeneous MPEG-2/H.264 video transcoders

PERFORMANCE ANALYSIS OF AVS-M AND ITS APPLICATION IN MOBILE ENVIRONMENT

Rate-distortion Optimized Streaming of Compressed Light Fields with Multiple Representations

THE H.264 ADVANCED VIDEO COMPRESSION STANDARD

Transform Kernel Selection Strategy for the H.264

View Synthesis Prediction for Rate-Overhead Reduction in FTV

STACK ROBUST FINE GRANULARITY SCALABLE VIDEO CODING

EE 5359 Low Complexity H.264 encoder for mobile applications. Thejaswini Purushotham Student I.D.: Date: February 18,2010

Compression of Stereo Images using a Huffman-Zip Scheme

Rate Distortion Optimization in Video Compression

Fraunhofer Institute for Telecommunications - Heinrich Hertz Institute (HHI)

EE 5359 MULTIMEDIA PROCESSING SPRING Final Report IMPLEMENTATION AND ANALYSIS OF DIRECTIONAL DISCRETE COSINE TRANSFORM IN H.

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

Zonal MPEG-2. Cheng-Hsiung Hsieh *, Chen-Wei Fu and Wei-Lung Hung

Toward Optimal Pixel Decimation Patterns for Block Matching in Motion Estimation

Scalable Video Coding

Advanced Encoding Features of the Sencore TXS Transcoder

FAST ALGORITHM FOR H.264/AVC INTRA PREDICTION BASED ON DISCRETE WAVELET TRANSFORM

IN RECENT years, multimedia application has become more

Implementation and analysis of Directional DCT in H.264

Transcription:

Complexity Reduced Mode Selection of H.264/AVC Intra Coding Mohammed Golam Sarwer 1,2, Lai-Man Po 1, Jonathan Wu 2 1 Department of Electronic Engineering City University of Hong Kong Kowloon, Hong Kong 2 Department of Electrical and Computer Engineering University of Windsor Windsor, ON, Canada N9B3P4 sarwer@uwindsor.ca,eelmpo@cityu.edu.hk, jwu@uwindsor.ca Abstract One of the new features in the H.264/AVC encoder is the use of Lagrangian Rate-Distortion Optimization (RDO) method during mode decision at the macroblock level. The RDO technique has been employed in H.264/AVC for intra prediction mode selection to achieve better coding efficiency. But the computation complexity of mode decision algorithm is extremely high. To reduce the complexity of mode decision, we propose an efficient and fast 4x4 intra prediction mode selection scheme. The proposed method reduces the candidate of the prediction modes based on the Sum of Absolute Transformed Difference (SATD) between the original block and the intra predicted block. of each mode is obtained based on the SATD value. The candidate modes are further reduced by using the combination of rank and most probable mode. Simulation results demonstrate that the proposed mode decision method reduces about 95 % of mode decision time of intra coding with ignorable degradation of coding performance. 1. Introduction H.264/AVC is the newest international video coding standard [1]. H.264/AVC offers very high compression ratios as compared to previous standards. To achieve the highest coding efficiency, H.264/AVC uses rate distortion optimization (RDO) technique. However, the computation load of H.264/AVC increase drastically compared to any previous standards. To reduce the complexity of intra 4x4 mode decision, H.264/AVC reference software suggested [2] sum of absolute difference (SAD) and sum of absolute transform difference (SATD) based cost functions. These two cost functions reduce computation significantly but performance of rate-distortion (RD) characteristics is not good enough. Several fast intra mode-decision approaches proposed in [3-6] focused on how to eliminate unnecessary modes. Meng et al. [3] selected optimal mode by computing a partial cost for down-sampled pixels instead of 4x4 block. To find the best intra mode, the information of the edge map of the whole frame is proposed in [5]. A fast intra mode decision method based on sum of absolute transform differences (SATD) between actual and predicted block is presented in [6] but the complexity reduction is not high. In this paper, we propose a fast mode decision scheme for intra 4x4 prediction in H.264/AVC based on SATD. Natural video sequences are highly spatially correlated. So the probability of mode of upper or left block to be the best mode of current block is high. Based on these observations, the proposed method reduces the number of candidate modes to either 1 or 2. 2. Overview of 4x4 intra prediction 2.1 Cost function for Intra 4x4 mode decision To take the full advantages of all modes, the H.264/AVC encoder can determine the mode that meets the best RD tradeoff using RDO mode decision scheme. The best mode is the one having minimum rate-distortion cost and this cost is expressed as J RD = SSD + λr (1) where, SSD is the sum of squared difference between the original blocks and the reconstructed block, R is the true bits needed to encode the block and λ is an exponential function of the quantization parameter (QP). To reduce the computational complexity, H.264/AVC reference software provides an SATDbased cost function: J = SATD SATD + λ 4P (2) 1 978-1-4244-1724-7/8/$25. 8 IEEE 1492 ICALIP8

where SATD is sum of absolute transformed difference between the original block and the predicted block, P is for most probable mode and 1 for other modes. 2.2 Most probable mode The choice of intra prediction mode for each 4x4 luma block must be signaled to the decoder and this could potentially require a large number of bits. For this reason, the best mode is not directly encoded into the compressed bit stream. Intra modes for neighboring 4x4 blocks are highly correlated. For current block, a mode is predicted based on the modes of upper and left blocks. This mode is defined as most probable mode. The most probable mode is inferred according to the following rules [7]. If the left neighboring block or the up neighboring block is unavailable, the most probable mode is set to 2(DC). Otherwise, the most probable mode is set to the minimum of the prediction mode of left neighboring block and up neighboring block. 3. Proposed mode decision scheme 3.1 Reducing the number of candidate modes In general, exhaustive cost calculation for all possible modes is required to find an RD optimal mode. However in some cases, we can ignore some modes that are almost not used because they have a very little effect on encoding efficiency. It is reasonable to say that a good prediction should also produce a small value of the sum of absolute transform differences (SATD). A mode selected by SATD-based method can be a good indicator that the candidate mode is highly probable that it also can be selected by RDO method [6]. The mode which has the smallest SATD value has rank 1 and which has highest SATD value has rank 9. Another important thing mentioned in the previous section is that, when the prediction modes of the top and left block are known, we have a probability list of the mode to be chosen for present block. By using the H.264/AVC reference software JM9.6, we have done some experiments and analyze the mode distribution. The quantization parameter was set to 28. The results are shown in Table 1. In these experiments rank of mode is obtained when best mode is not same as the most probable mode. From the results, we observed that about 93% (on average) modes are either most probable mode or mode with rank 1 or mode with rank 2. So the percentages of remaining modes (from rank 3 to 9) are very low. Therefore, we can eliminate the modes with rank 3-9 because they have a very little effect on encoding efficiency. Table 1. Percentage of mode distribution Most Sequences Proba ble 1 2 3 to 9 mode (QCIF) 73.3.14 4.9 2.73 (QCIF) 58.68 28.7 7. 5.62 (QCIF) 56.21 24.91 8.31 1.58 Carphone (QCIF) 68.16 22.46 5.35 4.4 (QCIF).97 13. 3.18 2.4 (QCIF) 79. 13.4 3.65 3.52 Mobile (QCIF) 37.32 36.38 12.3 13.94 Salesman (QCIF) 53.33 31.98 7.67 7.2 Paris (CIF) 67.27 21.33 6.1 5.39 Table_tennis (CIF) 64.72.34 6.5 8.44 Tempete (CIF) 48.22 28.73 1.4 12.58 Average 62.52 23. 6.78 6.9 3.2 Algorithm of proposed mode decision To reduce the further computation we use the early termination algorithm. If the best coding mode can be determined at an early stage of mode decision, significant time saving can be achieved. Based on most probable mode and rank, three different cases are described as follows. 3.2.1 Most probable mode is the mode associated with rank 1. It can observed that if most probable mode and mode with rank 1 are same, there is high chance of mode associated with rank 1 to be the best intra mode. To verify the above observation, extensive experiments have been conducted on different video sequences and at different quantization parameters (QP) to find out the statistics of coding modes in test video sequences. One way is examining the conditional probability of 9 different modes with different rank given that most probable mode is same as the mode with rank 1. It is called conditional probability because the condition most probable mode is same as mode with rank 1 is given. In Fig. 1 X-axis represents the rank of mode and Y-axis shows their corresponding conditional probability. It is shown that conditional probability of event best mode equal to mode with rank 1 is about 98%. From this statistics, it can be concluded that if most probable mode is the mode with rank1 then best intra mode is the mode associated with rank 1. 1493

Conditional Probability (%) 1 akiyo paris 1 2 3 4 5 6 7 8 9 Fig 1. Conditional probability based on case 1 3.2.2 Most probable mode is the mode associated with rank 2. In this case most of the modes are within mode associated with either 1 or 2. Fig. 2 shows the conditional probability of 9 different modes with different rank. From Fig. 2 it is shown that only little numbers of modes are within rank from 3 to 9. So we can eliminate the modes associated with rank 3 to 9. Only two modes are selected as candidate mode. To reduce further computation, we have used thresholding technique based on relative SATD values between mode with rank 1 and 2. It is reasonable to say that if the difference between the SATD value of mode with rank 1 and that of most probable mode (rank 2) is relatively small, the probability of the most probable mode ( rank 2) to be the RDO mode is higher. The relative SATD value between most probable mode ( rank 2) and mode with rank 1 is calculated as follows: sequences at QP=24. It is shown that for all of the sequences minimum error is found with threshold value of around 15 and. From similar experiments of different QP factors, it is shown that threshold values for minimum error are within range 15 to 25 for all QP factors and within this range variation of conditional error probability is very low and around the minimum value. Therefore, the threshold value (T 1 ) of this algorithm is any value within the range 15-25. Conditional Probability(%) 1 paris 1 2 3 4 5 6 7 8 9 Rate Fig 2. Conditional probability based on case 2 Conditional Error Probability (%) 1 Carphone Paris SATD2 SATD RSATD 1 2 > 1 = 1% (3) SATD2 where, SATD 2 and SATD 1 are the SATD value of mode with rank 2 and mode with rank 1, respectively. In this case, the algorithm of proposed mode decision scheme is given as follows: if( RSATD 2->1 < T 1 ) Best mode = Mode with rank2; else Best mode = Mode with rank1; Now the factor is how to find out the threshold (T 1 ) value. In order to justify the proposed algorithm and to find out the threshold value, we have done some experiments with different video sequences at different QP values and observed the accuracy of mode decision with different values of threshold. By varying the value of threshold from to 1, we have calculated the probability that a wrong mode is chosen for the current block. This probability is called as conditional error probability. Here first condition is the most probable mode is same as mode with rank 2 and another condition is the value of threshold is given. Fig. 3 shows variation of the probability of wrong mode decision with threshold value (T 1 ) for difference video 1 3 5 7 Threshold(T1) Fig 3. Variation of conditional error probability with threshold value (T 1 ) for case 2 3.2.3 Most probable mode is the mode associated with rank 3 to 9. Fig. 4 shows the conditional probability of different modes with the condition Most probable mode is the mode associated with rank 3 to 9. In this figure, most probable mode is represented as rank. It is clear that most of the modes are within rank to 2. In order to further reduce the complexity, we have used some early termination algorithms. If SATD of rank 2 is much larger than SATD of rank1, then probability of the event Mode with rank1 is the best mode is higher. The relative SATD between mode with rank 1 and 2 is calculated in (3). It is reasonable to say that if the SATD value of mode with rank 1, 2 and most probable mode are more similar, the chance of most probable mode to be the best mode is higher. To measure the similarity, we have used deviation of SATD values between most probable mode, mode with rank 1 and mode with rank 2. The deviation (D) is defines as follows: 1494

2 D = μ (4) rank = SATD rank where, μ is the mean SATD of mode with rank 1, 2 and most probable mode. represents the most probable mode.algorithm of mode decision for case 3 is summarized as follows: if( RSATD 2->1 > T 2 ) Best mode = Mode with rank1; else if( D< T 3 ) Best mode = Most probable mode; else Best mode = Mode which has minimum RD cost between mode with rank1 and 2; Conditional Probability (% ) 1 1 2 3 4 5 6 7 8 9 Fig 4. Conditional probability of case 3 In order to set the threshold T 2 and T 3, we have done several experiments for three different types of video sequences at different QP values. We observed that T 2 is quietly independent on both of the type of video sequence and QP values and better rate distortion performance was found at T 2 =35. Threshold T 3 is also independent on the type of video sequence but depends on the QP values. Fig. 5 shows the variation of selected threshold T 3 with QP values of three different video sequences. A generalized threshold curve is formed by averaging the threshold values of all three sequences for each QP which is shown in Fig. 5. By using the polynomial fitting technique, the generalized threshold value T 3 is approximated as follows: 2 T 3 = 5.41 1.2QP +. 6QP (5) Threshold (T3) Generalized Paris The proposed fast mode decision algorithm was tested using the first 1 frames of different video sequences with QCIF format. The experiment was carried out in the JVT JM9.6 [2] encoder and the test parameters are listed as follows: CABAC is enabled; Frame rate is 3; All frames are I frame; Intra 4x4 prediction only; Threshold ( T 1 ) is 17; The rate-distortion and complexity comparisons between the original encoder and the proposed mode decision method and J SATD are tabulated in Table 2. Δ Psnr means the difference of PSNR between original encoder and encoder with proposed method. The positive values mean increments whereas negative values mean decrements. The average value of three different QPs is presented. Δ T % is the percentage of reduction of mode decision time as compared to original encoder. In case of J SATD the average PSNR reduction is about.26 db and average bit rate increment is about 2.7%. Whereas in our proposed method, the average PSNR reduction is about.5 db and average bit rate increment is about 1.3%. So the coding results of proposed method are very similar to actual RDO method. In the proposed method RD cost calculation is not required during case 1, case 2 and part of case 3. So in these conditions, computation of DCT, quantization, entropy coding, inverse quantization and inverse DCT have saved. The proposed algorithm reduced about 95% of mode decision time as compared to ratedistortion optimized cost function. For simple sequences (i.e. akiyo and ), the computation of proposed method is very similar with J SATD. This is because these types of sequences has high spatially correlation. So most of the modes are fall within case 1 and case 2. For complex sequences (, mobile), the proposed algorithm reduces about 89% of mode decision time whereas J SATD reduces about 96% of mode decision time. However, the rate-distortion performance of proposed method is much better as compared with J SATD. Fig. 6 shows the RD curves of sequence. It is shown that RD curve of proposed method close match with original RD curve. Similar results were found for other video sequences. 5 1 15 25 3 35 QP Fig 5. Threshold (T 3 ) of different QP 4. Simulation results Table 2. Experimental results of proposed method J SATD Proposed Sequence Δ Δ Δ Δ T Δ Δ T 1495

Bit% P snr (%) Bit% P snr (%) 2.56 -.16 96.5 1.54.4 92.8 4.76 -.12 96.1 2.38.11 93.9 3.52 -.17 96.2 2.8.1 92.2 3.17 -.19 96.3 1.95 -.3 93..78 -.47 96.8 -.3 -.24 89.7 Mobile 1.27 -.44 96.4.2 -.21 89.3 PSNR (db) 44 42 38 36 34 32 J (SATD) 3 1 3 5 Rate (Kb/s) J (RD) Fig 6. RD curves of Proposed Table 3. Comparison with fast mode decision method [5] PSNR Bit-rate Complexity increment reduction reduction Sequence in db (%) (%).5 4.7 74.6.13 7.29 77.3.6.39 7.7.1 2.36 73.6 -.4 1.53 65.2 Mobile -.2 1.3 61.3 Table 3 shows the comparison of the proposed method with fast intra mode decision method described in [5]. The proposed method reduced the bit rate of about 2.8% and increases the PSNR of about.3 db on average. It is shown that for high motion sequences such as and Mobile, PSNR of proposed method is smaller than fast mode decision method in [5]. However, bit rate is also reduced; the resulting RD performance is very closed. The proposed method saves complexity of about 7% as compared to fast mode decision method [5]. performance very close to the standard, the proposed scheme affords significant time saving as compared to H.264/AVC. The proposed technique reduces mode decision time by about 95% during intra frame coding of H.264/AVC. 6. Acknowledgment The work described in this paper was substantially supported by a grant from Hong Kong SAR Government with CERG Projects 941251. 7. References [1] Information Technology-Coding of audio-visual objects-part 1: Advanced video coding, Final Draft International Standard, ISO/IEC FDIS 14496-1, Dec. 3. [2] Joint Video Team (JVT) reference software version 9.6, http://iphome.hhi.de/suehring/tml/download/old_jm/ [3] B. Meng, O. Au, C. Wang, anfd H. Lam, Efficient intra-prediction mode selection for 4x4 blocks in H.264. proceeding of ICME 3, pp. III521-III524, Baltimore, USA. [4] C. Kim, H. Shih, and C. Kuo, Feature-based intra prediction mode decision for H.264, Proceeding of ICIP 4, pp. 769-772, Oct. 4, Singapore. [5] Feng Pan, Xiao Lin, Susanto Rahardja, Keng Pang Lim, Z.G. Li, Dajun Wu, and Si WU, Fast Mode Decision Algorithm for Intra-prediction in H.264/AVC Video Coding, IEEE Trans. Circuits Syst. Video Tech.., vol. 15, no. 7, pp-813-822, July 5. [6] Yeping Su, Jun Xin, Anthony Vetro, Hui fan sun, Efficient MPEG-2 to H.264/AVC Intra Transcoding in Transform-domain, ISCAS 5, pp-1234-1237. [7] Iain E. G. Richardson, H.264 and MPEG-4 Video Compression video coding for next generation multimedia, John Wily & Sons, 3, pp. 1-181. 5. Conclusions In this paper, an efficient SATD based intra mode decision algorithm is presented. This algorithm is motivated by the fact that there is strong correlation between RDO cost and SATD. Also natural video sequences are highly spatially correlated. So the probability of mode of upper or left block to be the best mode of current block is high. For RD 1496