• 
    

    
    

      99热精品在线国产_美女午夜性视频免费_国产精品国产高清国产av_av欧美777_自拍偷自拍亚洲精品老妇_亚洲熟女精品中文字幕_www日本黄色视频网_国产精品野战在线观看 ?

      High-performance multi-transform architecture for H.264/AVC

      2013-09-17 06:00:28WangGangWangQingLiBingChenRui

      Wang Gang Wang Qing Li Bing Chen Rui

      (1School of Instrument Science and Engineering, Southeast University, Nanjing 210096, China)

      (2Wuxi Branch, Southeast University, Wuxi 214135, China)

      (3Institute of Electronics, Chinese Academy of Sciences, Beijing 100190, China)

      T o obtain better compression performance, the H.264/AVC video coding standard has defined various transforms for different prediction modes,such as an 8×8 integer transform,a 4×4 integer transform,a 4×4 Hadamard transform,a 2×2 Hadamard transform and their inverses.The integer transforms,which are similar to a discrete cosine transform(DCT),can be used to avoid mismatch and reduce computation complexity.Among them,the 8×8 integer transform is only adopted in the high profile and the Hadamard transform is utilized for 4×4 array luma DC coefficients of intra 16×16 prediction modes and 2×2 array chroma DC coefficients.This paper focuses on the 4 ×4 integer transform and the 2×2 Hadamard transform.

      In accordance with the architecture,the existing designs can be divided into three kinds.The first kinds of architectures are the parallel architectures[1-4].Hong et al.[1]proposed a parallel 4×4 transform architecture based on bit-extended arithmetic.Rubin[2]proposed a parallel architecture based on bit-serial shared memory.Both bit-extended arithmetic and bit serial shared memory are used to improve the processing rate.To realize forward transforms,Porto et al.[3]proposed a parallel architecture which is called T module,and this kind of architecture achieves a very high throughput.And the design of Wang et al.[4]is another parallel architecture to realize multiple transforms.These parallel architectures achieve high throughput at the expense of high area cost.The second kinds of architectures are reconfigurable architectures[5-6]. Cao et al.[5]proposed a reconfigurable 2-D architecture of two novel signal flow graphs(SFG)of 4×4 forward and inverse transforms which achieves a data processing rate up to 16 pixels/cycle, with greatly increased throughput.By the revised design, Cao et al.[6]optimized the architecture to reduce the data processing rate and throughput.Reconfigurable architectures improve area efficiency and flexibility.However, these architectures are very complex.The third kinds of architectures are direct 2-D architectures[7-9].Chen et al.[7]proposed a direct 2-D transform algorithm and a correspondent direct 2-D transform architecture.Peng et al.[8]combined direct 2-D transform with quantization.Hwangbo et al.[9]realized inverse transform by dividing the 4×4 matrix multiplication into four 2×2 components,utilizing block multiplication instead of 4×4 matrix multiplication which still belongs to direct 2-D architecture.Direct 2-D transform architectures can improve data throughput and efficiency.However, these architectures need more hardware resources.Some architectures to support multi-standard video applications with the adaptive block-size transform are proposed[10-11].The throughput values of these architectures are not sufficient to satisfy the real-time requirement of transform in real-time decoding digital cinema video.

      To obtain better performance at low-cost,a new multitransform architecture is proposed in this paper.A new algorithm is proposed to integrate a 4×4 forward integer transform,a 4×4 inverse integer transform,a 4×4 Hadamard transform and a 2×2 Hadamard transform into a single block.A low-cost and high-performance architecture is proposed to realize the multi-transform algorithm.Experimental results demonstrate that the data throughput rate per unit area(DTUA)of the proposed architecture is at least 40.28%higher than the reference design under the area cost of 3 704 gates.In addition, this architecture satisfies the requirements of real-time decoding digital cinema video(4 096×2 048@30 Hz).

      1 Transform Coding in H.264

      This paper mainly focuses on implementing 4×4 transforms and the 2 ×2 Hadamard transform of H.264/AVC because all these 4×4 and 2×2 transforms can be used in every H.264/AVC profile/level combination.

      1.1 4 ×4 transforms of H.264/AVC

      The 4×4 forward integer transform(FIT),4×4 inverse integer transform(IIT)and the 4×4 Hadamard transform(HT)are defined as

      As can be seen in Eq.(1), the forms of 4 ×4 transforms employed in H.264/AVC are similar to each other.The transform matrices for the 4 ×4 transforms are given as

      where Cf, Ciand H are transform matrices for 4 ×4 FIT,4×4 IIT and 4×4 HT,respectively.The H.264/AVC standard has defined fast algorithms for implementing 1-D matrix multiplication,and 2-D matrix multiplication can be realized by cascading two 1-D matrix multiplications.And the 1-D matrix multiplication only needs shift,addition and subtraction operations, as shown in Fig.1.

      1.2 2 ×2 Hadamard transform

      The 2×2 Hadamard transform,which is always applied to a 2×2 array of DC coefficients of each chroma component,is defined as

      where X is a 2×2 residual block input to the Hadamard transform.The transform matrix is given as

      Fig.1 Signal flow of 4×4 inverse integer transform.(a)4×4 forward integer transform;(b)4×4 inverse integer transform;(c)4×4 Hadamard transform

      2 Proposed Algorithm for Multi-Transform

      The 4×4 transforms and the 2×2 Hadamard transform defined in the H.264/AVC standards are characterized by their high regularity and low complexity.A generic 2-D transform is illustrated as

      whereX,WandCdenote the input data,the output data and the transform coefficient, respectively.

      To improve the hardware utilization rate and to achieve viable hardware implementations,algorithm decomposition is used.The row-column decomposition method for realizingN-point 2-D transforms is as follows:

      where M denotes the intermediate data between the firstdimensional and the second-dimensional transforms,and MTdenotes the transpose matrix of M.Eq.(6)represents the column-wise transform and Eq.(7)represents the row-wise transform.

      The row-column decomposition reduces the hardware cost of the circuit when implementing the transform algorithm,which only consists of a simpler 1-D matrix multiplication,and it significantly increases the utilization rate of its processor elements(PEs).PEs, which are designed to compute a restricted and very well defined set of operations, are proposed in this paper, and the detailed formulae are presented.

      From Eq.(1), Eq.(2)and Fig.1, it is easy to find that there are similarities among these fast algorithms and matrices.For the matrices, the differences are the coefficients in corresponding position.For example, the firstcoefficient in the second row of Cfis 2,while those of Ciand H are 1.The signal flow of the 4×4 inverse integer transform and the 4×4 Hadamard transform are the same.Therefore, these matrices may be integrated into one matrix.And these fast algorithms are possible to be realized by one fast algorithm.Eq.(1)can be expanded as

      Then Y can be decomposed as

      Applying the same process as Eq.(1), Eq.(2)and Eq.(3)can be expanded as

      Comparing the three equations with each other,it is easy to find that Eqs.(9), (11)and(13)are similar.Based on this similarity,a new fast algorithm to implement 1-D matrix multiplication for all the three 4×4 transforms is proposed.For the 2×2 Hadamard transform, the expansion equation of Eq.(3)is

      And Eq.(14)can be further expanded as

      Finally, the following equation is obtained, which is similar to the 4×4 Hadamard transform.

      Based on Eq.(16), the 2 ×2 Hadamard transform is integrated into the 4×4 Hadamard transform,which can be treated as a 1-D 4×4 Hadamard transform.

      According to the previous analysis,a fast algorithm which integrates four kinds of 1-D matrix multiplication is proposed.As demonstrated in Fig.2, X0to X3represent the data input,and Y0to Y3are the 1-D matrix multiplication results.And the fast algorithm contains three modes corresponding to the three transforms.If the algorithm mode is not the 4×4 forward integer transform,then the data input and output orders are X0, X2, X1, X3and Y0, Y1, Y2, Y3, respectively;else, the data input and output order will change to X1, X2, X0, X3and Y0,Y1, Y3, Y2, respectively(notice that, as shown in Eq.(9), the output signals Y3and Y2exchange position).Coefficients on the dataflow arrow(for example, -1, 1/2,1)in Fig.2 correspond to the 4 ×4 Hadamard transform,the 4×4 inverse integer transform and the 4×4 forward integer transform,respectively.If there is no coefficient on the dataflow arrow,the coefficient will be 1 for all transforms.If the coefficient on the dataflow arrow is-1, the coefficient will be-1 for all transforms.

      Fig.2 Proposed fast algorithm

      3 Proposed Architecture for Multi-Transform

      The proposed fast algorithm yields a high-performance architecture for multiple transforms.It adopts the method defined in the H.264/AVC standard, which implements 2-D matrix multiplication by cascading two 1-D matrix multiplications.Although these two 1-D matrix multiplications are all based on the proposed algorithm,there are some differences in their structures.The first 1-D one is controlled by a finite state machine(FSM),while the second one is adopted to realize Eq.(8), Eq.(10)and Eq.(12),which multiplies the transform matrix with the results of the first 1-D matrix multiplication.The proposed architecture for multi-transform is illustrated in Fig.3,which contains three parts, PE1 array, MODE generator and PE0.

      Fig.3 Block diagram of proposed architecture

      3.1 PE0

      The block diagram of PE0 is shown in Fig.4.As the second 1-D matrix multiplication,it aims at obtaining the product of the transform matrix and multiplying the results of the first 1-D matrix multiplication.PE0,which is composed of registers, left shifters, right shifters, MUXs,subtractors and adders,and controlled by a two bit mode selected signal generated by the mode generator,can realize 1-D 4×4 FIT,1-D 4×4 IIT and 1-D 4×4 HT.The left and right shifters are used to substitute for“×2”and“/2”operations, respectively.MUXs are controlled by input mode selected signals,and the registers are used to ensure the validity of timing.The values of the mode selected signal(named as PE0_SEL)for selecting operation mode are illustrated in Tab.1.

      Fig.4 Block diagram of PE0

      Tab.1 PE0_SEL and PE0 functions

      3.2 PE1 array

      2-D matrix multiplication can be implemented by cascading two 1-D matrix multiplications.In the proposed architecture,PE0 represents a 1-D matrix multiplication and PE1 array represents another.PE1 is also composed of left shifters, right shifters, adders/subtractors and MUXs, which is controlled by PE1_SEL and PE0_SEL.And these two signals are generated by the mode generator.PE0_SEL is used to select the transform mode and PE1_SEL is used to control the operation of PE1s.Each transform mode has four PE1 operation modes,which corresponds to the equations embraced in the brace in Eqs.(8), (10)and(12).PE1 operation modes can be controlled by an FSM,which has four statements corresponding to the four equations embraced in the brace of the third column in Eqs.(9), (11)and(13).

      3.3 MODE generator

      There are four functions of the MODE generator:PE0_SEL generation, PE1_SEL generation, FSM for PE1 array and PE0 data input selection.PE0_SEL is equal to the configuration signal,which is a 5-bit width signal used to control MUXs and adders/subtractors.If the transform mode is a 2×2 Hadamard transform,the data input of PE0 isX00_H2T,X01_H2T,X10_H2TandX11_H2T.Else,the data inputs are the outputs of PE1 array.

      4 Synthesis Results and Validation

      The proposed architecture for multi-transform is implemented by Verilog HDL,functionally simulated with ModelSim SE 6.6 and synthesized by Synopsys Design Compiler under a SMIC 0.18 μm CMOS technology.Tab.2 shows the hardware cost(in terms of gate count),optimum operating frequency, criticalpath delay,throughput and DTUA.DTUA is defined as the ratio of data throughput rate over gate count.The higher the DTUA is, the more efficient the architecture is.

      The reference designs listed in Tab.2 are all synthesized by CMOS technology and the multiple transform is realized by utilizing reconfigurable architecture[6], parallel structure[4], direct 2-D structure[7,12]and multi-transform architecture[10].The results shown in Tab.2 indicate that the DTUA of the proposed architecture is at least 40.28%higher than the reference design.And the hardware cost(in terms of gate count)is smaller than all of the reference designs.Additionally, it does not need transpose memory.

      Tab.2 Performance comparison for the proposed architecture

      The data processing rate of the proposed multi-transform architecture is 4 pixels/cycle.Therefore, decoding a 4×4 block needs 4 cycles and utilizing the proposed architecture decoding a macroblock needs about 64 cycles.

      As for digital cinema video(4 096×2 048@30 Hz),the real-time decoding requirement is 983 040 macroblocks per second and the proposed architecture utilized for decoding one frame of digital cinema video needs 64×983 040 cycles, which is 62 914 560.Thus, by using the proposed architecture,the minimum operating frequency to decode this kind of video format is about 62.9 MHz,which is much smaller than the optimum operating frequency(200 MHz).So, it is concluded that the proposed architecture satisfies the real-time decoding requirement of digital cinema video.

      5 Conclusion

      This paper proposes a high-performance multiple transform architecture for H.264/AVC video coding standard and a novel fast algorithm for 1-D matrix multiplication of multi-transforms with the data processing rate of 4 pixels/cycle.By using the SMIC 0.18 μm CMOS technology,the maximum operating clock frequency of the proposed multi-transform architecture is 200 MHz and the data throughput rate can achieve as many as 800×106pixels/s with the hardware cost of 3 704 gates.The synthesize results indicate that the proposed architecture is able to increase at least 40.28%of the DTUA and efficiently reduce the hardware cost to satisfy the requirement of real-time decoding digital cinema video(4 096×2 048@30 Hz).

      [1]Hong E P,Jung E G,F(xiàn)raz H,et al.Parallel 4×4 transform architecture based on bit extended arithmetic for H.264/AVC [C]//Proc of International Symposium on Signals,Circuits and Systems.New York, USA, 2005,1:95-98.

      [2]Rubin G.Parallel 4×4 transform on bit serial shared memory architecture for H.264/AVC [C]//Proc of the16th International Conference on Mixed Design of Integrated Circuits&Systems.Lodz, Poland,2009:675-680.

      [3]Porto R, Bampi M, Agostini S, et al.High throughput architecture for forward transforms of H.264/AVC video coding standard [C]//Proc of the14th IEEE International Conference on Electronics,Circuits and Systems.Marrakech, Morocco, 2007:150-153.

      [4]Wang T C,Huang Y W,F(xiàn)ang H C,et al.Parallel 4×4 2D transform and inversetransform architecture for MPEG-4 AVC/H.264 [C]//Proc of the2003International Symposium on Circuits and Systems.Bangkok,Thailand, 2003: Ⅱ-800-Ⅱ-803.

      [5]Cao W,Hou H,Lai J M, et al.A high-performance reconfigurable 2-D transform architecture for H.264[C]//Proc of the15th IEEE International Conference on Electronics, Circuits and Systems.St.Julien's, 2008:606-609.

      [6]Cao W,Hou H,Lai J M,et al.A novel dynamic reconfigurable VLSI architecture for H.264 transforms [C]//Proc of IEEE Asia Pacific Conference on Circuits and Systems.Macao, China, 2008:1810-1813.

      [7]Chen K H, Guo J I, Wang J S.A high-performance direct 2-D transform coding IP design for MPEG-4 AVC/H.264 [J].IEEE Transactions on Circuits and Systems for Video Technology, 2006, 16(4):472-483.

      [8]Peng C, Yu D, Cao X, et al.A new high throughput VLSI architecture for H.264 transform and quantization[C]//Proc of the7th International Conference on ASIC.Guilin, China, 2007:950-953.

      [9]Hwangbo W,Kim J,Kyung C M.A high-performance 2-D inverse transform architecture for the H.264/AVC decoder[C]//Proc of IEEE International Symposium on Circuits and Systems.New Orleans, LA, USA, 2007:1613-1616.

      [10]Hwangbo W,Kyung C M.A multi-transform architecture for H.264/AVC high-profile coders [J].IEEE Transactions on Multimedia, 2010, 12(3):157-167.

      [11]Wang K W,Chen J L,Cao W,et al.A reconfigurable multi-transform VLSI architecture supporting video codec design[J].IEEE Transactions on Circuits and SystemsⅡ,2011,58(7):432-436.

      [12]Huang C Y, Chen L F, Lai Y K.A high-speed 2-D transform architecture with unique kernel for multistandard video applications[C]//Proc of IEEE International Symposium on Circuits and Systems.Seattle,WA,USA,2008:21-24.

      江北区| 丘北县| 宁武县| 重庆市| 石城县| 台前县| 华安县| 双桥区| 塘沽区| 双鸭山市| 宜昌市| 江陵县| 东丽区| 大余县| 徐水县| 宁河县| 班玛县| 外汇| 通州区| 宽甸| 萍乡市| 樟树市| 沐川县| 商城县| 剑河县| 罗甸县| 嘉祥县| 河曲县| 澄江县| 五大连池市| 临西县| 绥芬河市| 阳新县| 钟山县| 福清市| 汉沽区| 东台市| 白银市| 洛阳市| 满城县| 阿合奇县|