IMPROVED CONTEXT-ADAPTIVE ARITHMETIC CODING IN H.264/AVC

Similar documents
Improved Context-Based Adaptive Binary Arithmetic Coding in MPEG-4 AVC/H.264 Video Codec

Optimized architectures of CABAC codec for IA-32-, DSP- and FPGAbased

Context-Adaptive Binary Arithmetic Coding with Precise Probability Estimation and Complexity Scalability for High- Efficiency Video Coding*

Video Coding Using Spatially Varying Transform

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

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

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

STUDY AND IMPLEMENTATION OF VIDEO COMPRESSION STANDARDS (H.264/AVC, DIRAC)

Reduced Frame Quantization in Video Coding

An Efficient Table Prediction Scheme for CAVLC

A COMPARISON OF CABAC THROUGHPUT FOR HEVC/H.265 VS. AVC/H.264. Massachusetts Institute of Technology Texas Instruments

Content-Based Adaptive Binary Arithmetic Coding (CABAC) Li Li 2017/2/9

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

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

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

OPTIMIZATION OF LOW DELAY WAVELET VIDEO CODECS

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

H.264 STREAM REPLACEMENT WATERMARKING WITH CABAC ENCODING

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

Performance Comparison between DWT-based and DCT-based Encoders

An Efficient Adaptive Binary Arithmetic Coder and Its Application in Video Coding

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

Upcoming Video Standards. Madhukar Budagavi, Ph.D. DSPS R&D Center, Dallas Texas Instruments Inc.

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

H.264 / AVC Context Adaptive Binary Arithmetic Coding (CABAC)

SCALABLE HYBRID VIDEO CODERS WITH DOUBLE MOTION COMPENSATION

A comparison of CABAC throughput for HEVC/H.265 VS. AVC/H.264

H.264/AVC und MPEG-4 SVC - die nächsten Generationen der Videokompression

EE Low Complexity H.264 encoder for mobile applications

Digital Video Processing

Wavelet-Based Video Compression Using Long-Term Memory Motion-Compensated Prediction and Context-Based Adaptive Arithmetic Coding

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

High Efficiency Video Coding (HEVC) test model HM vs. HM- 16.6: objective and subjective performance analysis

OVERVIEW OF IEEE 1857 VIDEO CODING STANDARD

JPEG 2000 vs. JPEG in MPEG Encoding

Performance Analysis of DIRAC PRO with H.264 Intra frame coding

VHDL Implementation of H.264 Video Coding Standard

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

H.264 / AVC (Advanced Video Coding)

New Techniques for Improved Video Coding

ESTIMATION OF THE UTILITIES OF THE NAL UNITS IN H.264/AVC SCALABLE VIDEO BITSTREAMS. Bin Zhang, Mathias Wien and Jens-Rainer Ohm

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

BLOCK MATCHING-BASED MOTION COMPENSATION WITH ARBITRARY ACCURACY USING ADAPTIVE INTERPOLATION FILTERS

Image and Video Coding I: Fundamentals

Pattern based Residual Coding for H.264 Encoder *

Coding of Coefficients of two-dimensional non-separable Adaptive Wiener Interpolation Filter

Unit-level Optimization for SVC Extractor

Advanced Encoding Features of the Sencore TXS Transcoder

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

Vector Bank Based Multimedia Codec System-on-a-Chip (SoC) Design

PERFORMANCE ANALYSIS OF INTEGER DCT OF DIFFERENT BLOCK SIZES USED IN H.264, AVS CHINA AND WMV9.

Fraunhofer Institute for Telecommunications - Heinrich Hertz Institute (HHI)

COMPARISON OF HIGH EFFICIENCY VIDEO CODING (HEVC) PERFORMANCE WITH H.264 ADVANCED VIDEO CODING (AVC)

Video Quality Analysis for H.264 Based on Human Visual System

Optimum Quantization Parameters for Mode Decision in Scalable Extension of H.264/AVC Video Codec

RECOMMENDATION ITU-R BT

Introduction to Video Coding

DIGITAL TELEVISION 1. DIGITAL VIDEO FUNDAMENTALS

An Implementation of Multiple Region-Of-Interest Models in H.264/AVC

Low-complexity video compression based on 3-D DWT and fast entropy coding

EFFICIENT PU MODE DECISION AND MOTION ESTIMATION FOR H.264/AVC TO HEVC TRANSCODER

Advances of MPEG Scalable Video Coding Standard

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

ISSN: An Efficient Fully Exploiting Spatial Correlation of Compress Compound Images in Advanced Video Coding

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

Testing HEVC model HM on objective and subjective way

Professor, CSE Department, Nirma University, Ahmedabad, India

Scalable Video Coding

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

Video Codecs. National Chiao Tung University Chun-Jen Tsai 1/5/2015

Objective: Introduction: To: Dr. K. R. Rao. From: Kaustubh V. Dhonsale (UTA id: ) Date: 04/24/2012

System Modeling and Implementation of MPEG-4. Encoder under Fine-Granular-Scalability Framework

Lecture 13 Video Coding H.264 / MPEG4 AVC

Motion Modeling for Motion Vector Coding in HEVC

A LOW-COMPLEXITY AND LOSSLESS REFERENCE FRAME ENCODER ALGORITHM FOR VIDEO CODING

AVC VIDEO CODERS WITH SPATIAL AND TEMPORAL SCALABILITY. Marek Domański, Łukasz Błaszak, Sławomir Maćkowiak,

Design of a High Speed CAVLC Encoder and Decoder with Parallel Data Path

CONTENT ADAPTIVE COMPLEXITY REDUCTION SCHEME FOR QUALITY/FIDELITY SCALABLE HEVC

Block-Matching based image compression

BANDWIDTH-EFFICIENT ENCODER FRAMEWORK FOR H.264/AVC SCALABLE EXTENSION. Yi-Hau Chen, Tzu-Der Chuang, Yu-Jen Chen, and Liang-Gee Chen

Video coding. Concepts and notations.

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

Bit Allocation for Spatial Scalability in H.264/SVC

THE H.264 ADVANCED VIDEO COMPRESSION STANDARD

Audio and video compression

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

Outline Introduction MPEG-2 MPEG-4. Video Compression. Introduction to MPEG. Prof. Pratikgiri Goswami

WITH the growth of the transmission of multimedia content

H.264 Video Transmission with High Quality and Low Bitrate over Wireless Network

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

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

White paper: Video Coding A Timeline

Development and optimization of coding algorithms for mobile 3DTV. Gerhard Tech Heribert Brust Karsten Müller Anil Aksay Done Bugdayci

Mesh Based Interpolative Coding (MBIC)

CABAC Entropy Decoding Algorithm Implementation on FPGA For H.264

INTERNATIONAL ORGANISATION FOR STANDARISATION ORGANISATION INTERNATIONALE DE NORMALISATION ISO/IEC JTC1/SC29/WG11 CODING OF MOVING PICTURES AND AUDIO

HIKVISION H.265+ Encoding Technology. Halve Your Bandwidth and Storage Enjoy the Ultra HD and Fluency

A Hybrid Temporal-SNR Fine-Granular Scalability for Internet Video

Image and Video Coding I: Fundamentals

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

Transcription:

17th European Signal Processing Conference (EUSIPCO 2009) Glasgow, Scotland, August 24-28, 2009 IMPROVED CONTEXT-ADAPTIVE ARITHMETIC CODING IN H.264/AVC Damian Karwowski, Marek Domański Poznań University of Technology, Chair of Multimedia Telecommunication and Microelectronics Polanka 3, 60-965 Poznań, POLAND phone: + (48) 61 665 39 00, fax: + (48) 61 665 38 99, email: dkarwow@multimedia.edu.pl, domanski@et.put.poznan.pl web: www.multimedia.edu.pl ABSTRACT In the paper, an improved Context-based Adaptive Binary Arithmetic Coding (CABAC) is proposed for applications in video compression. The improved CABAC is characterized by higher coding efficiency as compared to that of the original CABAC as standardized in ISO MPEG-4 AVC (Advanced Video Coding) and ITU-T H.264. In the proposal, the increase of compression ratio is obtained by application of more exact data statistics estimation based on well-known data modeling algorithm: Context-Tree Weighting (CTW). The improved CABAC codec has been tested in the framework of AVC video codec. The extensive experiments show that application of the modified AVC yields 1.2% - 5.4% bitrate reduction. Computational effort of the modified AVC decoder is about 5-10% and 15-25% greater relative to the original AVC decoder for SD and HD video sequences respectively. 1. INTRODUCTION For high compression efficiency, entropy coding is commonly used at the output stage of hybrid video encoders. Entropy coding reduces statistical redundancy that exists within data streams that represent transform coefficients of residual signal, motion data and control information. Currently, in video encoders, the state-of-the-art entropy coding technique is Context-based Adaptive Binary Arithmetic Coding (CABAC) [1] that has been incorporated into the new international standard called Advanced Video Coding (AVC) [6]. Compared to other entropy coders hitherto used in video compression, CABAC technique exploits more efficient arithmetic coding and far more sophisticated mechanisms of data statistics modeling. Currently, CABAC technique is distinguished by the highest compression ratio among entropy coders used in digital video compression. Very high compression efficiency of CABAC is mainly a result of application of an advanced technique for data statistics estimation. The goal of this paper is to prove that compression performance of CABAC may be further improved with the help of even more sophisticated data statistics modeling. The paper presents in detail the proposed modified CABAC codec together with new mechanisms of data statistics modeling based on the wellknown Context-Tree Weighting (CTW) method [2, 3, 7, 12]. This paper reports outlines obtained in continuation of previous works of the authors [8-11]. In [8,9] an older version of modified CABAC codec has been described. As compared to authors previous works, this paper describes a modified CABAC codec with three significant modifications that improve compression performance and reduce computational effort. These modifications are the following: More sophisticated method of context trees initialization; Adaptation of the CTW-based context modeler to fast binary arithmetic codec (M-codec) applied in the original CABAC [1, 5]; Improved mechanism of data statistics estimation that reduces computational complexity of the codecs previously proposed by the authors. In order to verify the ideas, a complete AVC video codec with the modified CABAC codec has been implemented and used in experimental tests. All experiments have been performed by producing compressed bitstreams and decoding of video. For the modified CABAC codec, implementation correctness has been verified by comparing video clips decoded from the standard bitstreams and bitstreams produced by the AVC encoder with the modified CABAC encoder. The compression ratio of the presented improved CABAC encoder has been thoroughly tested with various test video sequences. The results have been compared to the efficiency of the original CABAC encoder. Both adaptive entropy codecs have been tested within the framework of AVC video codec. Complexity of the modified AVC video decoder (with the improved CABAC) has also been tested against the complexity of the original AVC video decoder. 2. STANDARD CABAC ALGORITHM Firstly we are going to review some features of the standard adaptive arithmetic CABAC encoder (see Figure 1). In order to obtain high throughput of CABAC codec and to decrease the context modeling cost, fast core of binary arithmetic codec (M-codec) has been used [1, 5]. Application of binary arithmetic coding created necessity of mapping all non-binary valued syntax elements into a string of binary symbols. In CABAC encoder, this task is performed by the binarizer. The mapping algorithms that are used in the binarizer strongly influence coding efficiency as well as complexity of entropy codec. Therefore, CABAC EURASIP, 2009 2216

takes advantage of adaptive binarization with several different binarization schemes for all coded syntax elements. Figure 1 Block diagram of CABAC encoder. The core of binary arithmetic codec encodes binary symbols according to the probabilities of their occurrence in the video data stream. The probabilities of binary symbols are estimated by the context modeler. The way of calculating these probabilities has a great influence on compression ratio of entropy encoder. Therefore, in order to obtain accurate adaptation to the current signal statistics, 399 individual finite-state machines are used by the context modeler (this is only for the case of a transform calculated in 4 4 blocks) see Figure 2. 3. IMPROVED STATISTICAL MODELING IN MODIFIED CABAC The main idea of improved CABAC algorithm is to replace the existing (i.e. used in original CABAC) methods of data statistics modeling by more advanced mechanisms of data statistics estimation. The idea is to use more sophisticated and more accurate technique of conditional probabilities estimation in the context modeler. Previous works [8,9] of the authors have yielded a conclusion that it can be done by use of the method of Context-Tree Weighting (CTW) [2, 3]. Details of application of the CTW method within CABAC have already been presented in [8, 9, 10, 11]. In the modified CABAC codec, other functional blocks i.e., the binarizer and the core of binary arithmetic codec remain unchanged with respect to the original CABAC. The general structure of the proposed improved CABAC encoder has been presented in Figure 3. Figure 2 Definition of finite-state machines in CABAC context modeler. An individual finite-state machine calculates probabilities of symbols for an individual context. The context depends on the currently coded syntax element (e.g. mb_type, mb_qp_delta etc.) and its values in neighboring blocks within an image. This way CABAC realizes two levels of adaptation to the current signal statistics. The mechanisms of binarization and data statistics estimation are quite advanced and they constitute the major part of the whole CABAC codec implementation (about 90% of whole CABAC implementation in C) [10]. Nevertheless, the main limitation of CABAC that negatively affects its compression ratio is using the same set of probability states and the same transition rules for all 399 finite-state machines (see Figure 2). Moreover, the same set of probabilities and the same transition rules are used for higher bitrates as well as for lower bitrates. This simplification surely reduces the ability of CABAC to precisely adapt to current signal statistics. Therefore, an extremely interesting research problem is how to possibly increase compression ratio of CABAC by application of even more exact mechanisms of data statistics estimation. Figure 3 Block diagram of improved CABAC encoder. In our proposal, each of the 399 predefined finite state machines has been replaced with a binary context tree of depth D = 8 (see Figure 4). Figure 4 Context trees in improved context modeler. The choice of depth D of context trees has been experimentally investigated by authors. The conclusion was that depth D = 8 is a good compromise between compression ratio and complexity of the improved CABAC [8, 9, 10]. Higher depths result in negligible increase of compression ratio but substantially increase the codec complexity. Context trees are used to store information about symbol statistics of binary source data. In the improved context modeler, context trees keep statistics of binary symbols that appeared in video data stream for a given context. For a given context, probabilities of binary symbols 0 and 1 are calculated with CTW method based on the statistics of symbols saved in context trees. The way of choosing a proper context (and context tree thereby) is the same as the way of choosing a proper finite state machine in 2217

the original CABAC. Furthermore, uniform probability distribution is assumed for some binary symbols likewise in the original CABAC (no computation of CTW method is needed). In general, the improved context modeler generates values of conditional probabilities in a significantly greater set of numbers as compared to the original CABAC. The problem is that the core of fast binary arithmetic codec (Mcodec) is not able to work properly with this extended set of probabilities. It has been adopted to work properly with a limited set of only 128 predefined values of probabilities (64 probabilities for MPS symbol and 64 probabilities for LPS symbol). Therefore, each probability calculated with the improved context modeler has to be mapped to a value from smaller set of 128 predefined probabilities. Criterion of minimization of absolute difference between two probabilities has been assumed by authors in implementation of the improved CABAC. 4. INITIALIZATION OF CONTEXT TREES The algorithm of context tree initialization influences the compression ratio of the improved CABAC encoder. In [8, 9] a prototype architecture of the modified CABAC codec has been tested with two relatively simple mechanisms of context trees initialization. The current version of the improved CABAC codec has been adapted to work with more advanced mechanism of context trees initialization that is based on QP- and slice-dependent context initialization used in the original CABAC. The slice- and QP-dependent contexts initialization of the original CABAC sets the initial probabilities for 0 and 1 symbols for each of 399 defined contexts. In the current version of improved CABAC, the counters of the number of 0 symbols and the number of 1 symbols in roots of 399 context trees are set to values that allow for obtaining of original CABAC initial probabilities for 0 and 1 symbols. The counters of 0 and 1 symbol in remaining nodes of all 399 context trees are initialized to zero. Initialization of context trees is made at the beginning of each slice, as it takes place in the original CABAC. 5. EXPERIMENTAL RESULTS The proposed improved context modeler with authors mechanism of data statistics estimation has been implemented and embedded into the structure of CABAC within the reference software JM 10.2 [4] of AVC video codec. In order to obtain reliable experimental results, both video encoder and video decoder have been implemented. This way, the improved AVC video codec has been obtained. The coding efficiency of the improved AVC video encoder has been explored and compared against the coding efficiency of the original AVC. Video encoders (improved AVC and original AVC) have been compared in the following scenario of experiments: Four HD test video sequences have been used: CITY, CREW, NIGHT, BIGSHIPS (spatial resolution: 1280x720, temporal resolution: 60 Hz); The IBBPBBP structure of group of pictures (GOP) has been assumed; Experiments have been done for a wide range of quantization parameter (QP) values, from QP = 20 to QP = 44 with step 6. The QP parameter is responsible for the quality of decoded video sequence. For a given QP value, experiments have been done by encoding and decoding of 298 frames of each test sequence; Both the improved and the original AVC encoders have been tested with rate-distortion optimization switched off. In this way, the entropy encoders can be directly compared because they do not affect the control mechanism of video encoder (two sequences decoded with improved and original AVC decoders are identical and only sizes of encoded bitstreams are different). Experimental results showed better compression ratio of the improved AVC encoder in comparison to the original AVC video encoder. Average experimental results obtained for CITY, CREW, NIGHT and BIGSHIPS test video sequences have been presented in Figure 5 (for I-slices only, P-slices only, B-slices only and for whole test sequences). Figure 6 presents results obtained for individual test sequences. bitrate reduction [%] bitrate reduction [%] 5.6 5.2 4.8 4.4 3.6 3.2 2.8 2.4 1.6 1.2 0.8 0.4 I-slices P-slices B-slices whole sequences Figure 5 Average bitrate reduction due to application of the improved AVC encoder instead of the original AVC encoder. 7.5 7.0 City 6.5 Crew 6.0 5.5 Night 5.0 BigShips 4.5 3.5 3.0 2.5 1.5 1.0 0.5 bitrates less than 14 Mbit/s Figure 6 Bitrate reduction using the improved AVC encoder compared to the original AVC encoder. The obtained bitrate reduction strongly depends on the value of QP parameter. The best results have been observed for 2218

lower bitrates that correspond to higher values of QP. Different results have been achieved for individual slice types. The worst results have been obtained for P-slices (1.2% - % bitrate reduction) and the best results have been observed for B-slices (1.6% - 5.4% bitrate reduction). On average, bitrate reduction of 1.6% - 3.4% has been achieved for test video sequences. The gap in coding efficiency between the improved and the original AVC video encoders is also different for individual test sequences (see Figure 6). The best results have been obtained for CREW sequence. Therefore, efficiency of both improved and original AVC encoders depends on the content of test video sequence. 6. COMPLEXITY OF THE MODIFIED CABAC Higher compression ratio of improved AVC codec relative to the original AVC codec is burdened with higher complexity of both improved encoder and improved decoder in comparison to the original ones. Of course, higher complexity of the improved AVC codec is a result of application of more sophisticated context modeler in CABAC. In order to test the influence of application of improved context modeler on complexity of whole AVC video decoder, some experiments have been done. In comparison to video encoders, a video decoder is much more often used by the end users. Therefore, complexity tests have been done for AVC decoders. As a matter of fact, preliminary complexity tests of the prototype version of improved AVC decoder have been already presented in [8]. Nevertheless, complexity tests presented in this paper concern the current version of improved AVC with three significant modifications (from the complexity point of view) relative to the older prototype improved AVC: Current version of improved AVC works with more advanced mechanism of context trees initialization; Current version of improved AVC works with fast M- codec core. Mechanism of context trees update has been algorithmically optimized in presented improved AVC. Complexity of the improved AVC decoder has been measured by the effort of the processor. Experiments have been done in the following scenario: Two test video sequences have been used in tests: CREW and NIGHT. Experiments have been done for QP parameter values changing from 20 to 44 with step equal to 6. In this way experiments on complexity of the improved AVC decoder have been done for a wide range of bitrates from excellent (QP = 20) to very poor subjective quality of decoded video (QP = 44); Tests have been done on Intel Core 2 Duo E6600 platform (2.4 GHz, 4MB of Level 2 memory cache) with 2 GB of RAM under 32-bit Windows XP with Service Pack 2 operating system. Realtive increase of the total decoding time of the improved AVC with respect to the total decoding time of the original AVC has been presented in Figure 7 for CREW and NIGHT test sequences. increase of total decoding time [%] 40 35 30 25 20 15 10 5 0 Crew Night 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 bitrate [Mbit/s] Figure 7 Increase of total decoding time of the improved AVC decoder relative to total decoding time of the original AVC decoder. From experimental results it is clear that the target bitrate of encoded video sequence has a significant impact on increase of total decoding time for the improved AVC decoder. For useful range of bitrates (less than 8-10 Mbit/s for HD sequences) maximum relative increase of total decoding time for improved AVC is below 25% relative to the original AVC decoder. For useful range of bitrates for standard definition (SD) sequences (less than 3 Mbit/s), the relative increase of total decoding time due to application of improved AVC decoder is below 10%. 7. FURTHER IMPROVEMENTS The mechanism of context tree initialization and the frequency of resetting contexts to default values influence compression ratio of the improved AVC encoder. Presented in this paper version of improved AVC codec performs context tree initialization each time before a new slice, likewise in the original AVC codec. For the improved AVC codec, the authors have also investigated the idea of extended slices where one slice contains one or more consecutive pictures of the same type. It must be stated that such an approach is not compliant with AVC video coding standard. In the considered structure of GOP (IBBPBBP ), a given sequence contains regular slice with an I-picture, regular slice with a P-picture and the extended slice with two consecutive B-pictures. Because of much smaller numbers of bits in B-picture representations, such an approach is reasonable. In this approach, context trees are initialized at the beginning of a regular slice or at the beginning of an extended slice. So, in the case of the extended slice, context trees are initialized only before the first B-picture from a pair (see assumed structure of GOP). In this way, the second B-picture from pair takes advantage of data statistics collected in the previous B-picture. Figure 8 shows experimental results for improved AVC encoder with modified mechanism of context trees initialization from Section 4. 2219

bitrate reduction [%] 6.0 5.6 B-slices, ctx propagation over slices 5.2 B-slices, ctx init before slice 4.8 4.4 3.6 3.2 2.8 2.4 1.6 1.2 0.8 0.4 Figure 8 Influence of frequency of context initialization on compression ratio of the improved AVC video encoder. The results are relative to the standard AVC codec. Experimental results proved the possibility of further improving compression ratio for B-pictures when using the idea of extended slice that reduces the problem of context dilution. Higher bitrate savings have been observed for lower bitrates. 8. CONCLUSIONS Experimental results presented in the paper proved that application of more sophisticated mechanisms of adaptation of arithmetic coding increases compression ratio of contemporary adaptive arithmetic coders used in video compression. Experiments have been done in the context of the state-of-the-art CABAC algorithm that is used in the newest AVC video coding standard. The authors have presented the new architecture of improved CABAC codec that uses proposed original technique of data statistics estimation. The proposed improved CABAC codec outperforms the original CABAC codec by 1.2% - 5.4% when working within the framework of AVC video encoder. The authors answered also another important question, how strongly the application of more advanced mechanisms of the conditional probabilities estimation influences complexity of the improved AVC video decoder. Algorithmically optimized implementation of the improved AVC decoder has been used for tests. Obtained results showed that, compared to original AVC, total decoding time for improved AVC is approximately 5-10% and 15-25% longer for SD and HD video sequences, respectively. ACKNOWLEDGMENT The work was supported by the public founds as a research project in year 2009. REFERENCES [1] D. Marpe, H. Schwarz, and T. Wiegand, "Context- Based Adaptive Binary Arithmetic Coding in the H.264/AVC Video Compression Standard". IEEE Transactions on Circuits and Systems for Video Technology, Vol. 13, No. 7, pp. 620-636, July 2003. [2] F. M. J. Willems, Y. M. Shtarkov, and Tj. J. Tjalkens, "The Context-Tree Weighting Method: Basic Properties". IEEE Transactions on Information Theory, Vol. 41, No. 3, pp. 653-664, May 1995. [3] F. M. J. Willems, "The Context-Tree Weighting Method: Extensions". IEEE Transactions on Information Theory, Vol. 44, No. 2, pp. 792-797, March 1998. [4] H.264/AVC software coordination site http://bs.hhi.de/~suehring/tml. [5] D. Marpe, G. Marten, and H. L. Cycon, "A Fast Renormalization Technique for H.264/MPEG4-AVC Arithmetic Coding". 51st Internationales Wissenschaftliches Kolloquium Technische Universitat Ilmenau, September 2006. [6] ISO/IEC 14496-10, Generic Coding of Audio-Visual Objects, Part 10: Advanced Video Coding, March 2006. [7] F. M. J. Willems, and Tj. J. Tjalkens, "Complexity Reduction of the Context-Tree Weighting Algorithm: A study for KPN research". Technical Report EIDMA- RS.97.01, Euler Institute for Discrete Mathematics and its Applications, Eindhoven University of Technology, 1997. [8] D. Karwowski, "Improved Arithmetic Coding in H.264/AVC Using Context-Tree Weighting and Prediction by Partial Matching". European Signal Processing Conf. EUSIPCO 2007, pp. 1270-1274, September 2007, Poznań, Poland. [9] D. Karwowski, and M. Domański, "Improved Arithmetic Coding In H.264/AVC Using Context-Tree Weighting Method". Picture Coding Symposium PCS 2007, November 2007, Lisboa, Portugal. [10] D. Karwowski, "Advanced Adaptation Algorithms of Arithmetic Coding in Hybrid Video Compression". Doctoral Dissertation, Poznań University of Technology, 2008. [11] D. Karwowski, M. Domański, ITU-T VCEG SG 16 Q.6, Doc. VCEG-AI15, "Improved Context-based Adaptive Binary Arithmetic Coding using Context-Tree Weighting", 35th VCEG Meeting, Berlin, Germany, 16-18 July 2008. [12] D. Salomon, Data Compression. The Complete Reference 4th Edition, Springer-Verlag, 2006. [13] D. Hong, M. van der Schaar, B. Pesquet Popescu, "Arithmetic Coding with Adaptive Context-Tree Weighting for the H.264 Video Coders", Visual Communications and Image Processing 2004, Vol. 5308, pp. 1226-1235, January 2004. [14] M. H. Firooz, M. S. Sadri, "Improving H.264/AVC Entropy Coding Engine Using CTW Method", Picture Coding Symposium, April 2006. 2220