亚洲免费av电影一区二区三区,日韩爱爱视频,51精品视频一区二区三区,91视频爱爱,日韩欧美在线播放视频,中文字幕少妇AV,亚洲电影中文字幕,久久久久亚洲av成人网址,久久综合视频网站,国产在线不卡免费播放

        ?

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

        2013-01-08 12:56:04WangGangWangQingLiBingChenRui

        Wang Gang Wang Qing Li Bing Chen Rui

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

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

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

        To 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 multi-transform 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

        (1)

        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

        (2)

        whereCf,CiandHare 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

        (3)

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

        (4)

        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

        (5)

        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:

        (6)

        (7)

        whereMdenotes the intermediate data between the first-dimensional and the second-dimensional transforms, andMTdenotes the transpose matrix ofM. 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 first coefficient in the second row ofCfis 2, while those ofCiandHare 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

        (8)

        ThenYcan be decomposed as

        (9)

        where

        Y0=(Y00,Y01,Y02,Y03)T,X0=(X00,X01,X02,X03)T

        Y1=(Y10,Y11,Y12,Y13)T,X1=(X10,X11,X12,X13)T

        Y2=(Y20,Y21,Y22,Y23)T,X2=(X20,X21,X22,X23)T

        Y3=(Y30,Y31,Y32,Y33)T,X3=(X30,X31,X32,X33)T

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

        (10)

        (11)

        (12)

        (13)

        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

        (14)

        And Eq.(14) can be further expanded as

        (15)

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

        (16)

        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,X0toX3represent the data input, andY0toY3are 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 areX0,X2,X1,X3andY0,Y1,Y2,Y3, respectively; else, the data input and output order will change toX1,X2,X0,X3andY0,Y1,Y3,Y2, respectively (notice that, as shown in Eq.(9), the output signalsY3andY2exchange 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, critical path 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, Fraz H, et al. Parallel 4×4 transform architecture based on bit extended arithmetic for H.264/AVC [C]//ProcofInternationalSymposiumonSignals,CircuitsandSystems. 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]//Procofthe16thInternationalConferenceonMixedDesignofIntegratedCircuits&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]//Procofthe14thIEEEInternationalConferenceonElectronics,CircuitsandSystems. Marrakech, Morocco, 2007:150-153.

        [4] Wang T C, Huang Y W, Fang H C, et al. Parallel 4×4 2D transform and inverse transform architecture for MPEG-4 AVC/H.264 [C]//Procofthe2003InternationalSymposiumonCircuitsandSystems. 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]//Procofthe15thIEEEInternationalConferenceonElectronics, 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]//ProcofIEEEAsiaPacificConferenceonCircuitsandSystems. 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].IEEETransactionsonCircuitsandSystemsforVideoTechnology, 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]//Procofthe7thInternationalConferenceonASIC. 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]//ProcofIEEEInternationalSymposiumonCircuitsandSystems. 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].IEEETransactionsonMultimedia, 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].IEEETransactionsonCircuitsandSystemsⅡ, 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 multi-standard video applications [C]//ProcofIEEEInternationalSymposiumonCircuitsandSystems. Seattle, WA, USA, 2008:21-24.

        国产精品538一区二区在线| 国产一区二区三区日韩精品| 蓝蓝的天空,白白的云| 欧美性高清另类videosex| 国产乱人视频在线播放| 国产精品爆乳在线播放| 综合图区亚洲偷自拍熟女| 日本不卡在线视频二区三区| 亚洲日韩一区二区一无码| 亚洲欧美另类自拍| 玩弄放荡人妻一区二区三区| 国产成人精品一区二三区孕妇| 中文字幕av一区二区三区人妻少妇| 7878成人国产在线观看| 蜜臀av中文人妻系列| 国产一级黄色录像大片| 国产精品亚洲综合色区| 日本色噜噜| 国内精品熟女一区二区| 亚洲综合一区中文字幕| av人摸人人人澡人人超碰妓女| 精品无码av不卡一区二区三区| 久久精品亚洲乱码伦伦中文| 欧美熟妇另类久久久久久多毛 | 国产av专区一区二区三区| 中文字幕人乱码中文字幕乱码在线| 日本动漫瀑乳h动漫啪啪免费 | 香蕉成人伊视频在线观看| 国产精品人妻一码二码尿失禁| 在线观看av国产自拍| 国产在线视频网友自拍| 亚洲欧美日韩另类精品一区| 日日摸夜夜添夜夜添无码免费视频| 午夜日本精品一区二区| 国语对白福利在线观看| 亚洲成av人片一区二区| 国产成人久久蜜一区二区| 亚洲av成人永久网站一区| 国产在线精品一区二区三区直播| 久久精品国产亚洲av瑜伽| 白色橄榄树在线阅读免费|