One realizes wheel based on code tree unit CTU buffer and turns method of operation and system
Technical field
The present invention relates to video coding and decoding technology field, particularly relate to and a kind of realize wheel based on code tree unit CTU buffer and turn method of operation and system.
Background technology
In the design of HEVC coding and decoding video, generally have rear class data reconstruction module (recon), data filtering module (deblocking), and between self adaptation sampling point compensation (sao) module, have the data interaction based on CTU rank.
Original HEVC codec design scheme carries out time-sharing operation for one and same coding tree unit CTU Buffer (encoder) between employing two modules, and this sample loading mode efficiency is lower.
Summary of the invention
One of the technical problem to be solved in the present invention, be that providing one to realize wheel based on code tree unit CTU buffer turns method of operation, realizes the wheel of three modules to CTU and turns and time-sharing operation, achieve the operation of CTU pipelining-stage, accelerate all decode operation flow processs, improve decoding efficiency.
One of problem of the present invention is achieved in that one realizes wheel based on code tree unit CTU buffer and turns method of operation, described method comprises data reconstruction module, data filtering module, self adaptation sampling point compensating module, it is characterized in that: described method also needs to provide caching control module and four code tree unit CTU buffer; Described caching control module characterizes each code tree unit CTU buffer by cache blocks count status and cache blocks state control signal and is in which module operation; Perform data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Thus improve video decode efficiency.
Further, describedly perform data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Be specially:
Data reconstruction module is in operation four during the first code tree unit CTU buffer, by caching control module, data filtering module can learn whether the first code tree unit CTU buffer is released, no, data filtering module uses the second code tree unit CTU buffer in four to operate, that then data filtering module uses the first code tree unit CTU buffer in four to operate; By caching control module, self adaptation sampling point compensating module can learn whether the first code tree unit CTU buffer and the second code tree unit CTU buffer is released; Be and be released, then self adaptation sampling point compensating module uses the 3rd code tree unit CTU buffer in four to operate; First code tree unit CTU buffer discharges, then self adaptation sampling point compensating module uses the first code tree unit CTU buffer to operate; First code tree unit CTU buffer does not discharge, and the second code tree unit CTU buffer discharges, then self adaptation sampling point compensating module uses the second code tree unit CTU buffer to operate; By caching control module, data reconstruction module learns whether the first code tree unit CTU buffer, the second code tree unit CTU buffer, the 3rd code tree unit CTU buffer are released when next round turns operation again; All be not released, then data reconstruction module uses the 4th code tree unit CTU buffer to operate, the like operated in turn by four code tree unit CTU buffer, thus improve video decode efficiency.
Further, data reconstruction module, having operated in four after a code tree unit CTU buffer, can send data reconstruction module operation settling signal, then will be released by the code tree unit CTU buffer operated; Data filtering module, after having operated a code tree unit CTU buffer, can send data filtering module operation settling signal, then will be released by the code tree unit CTU buffer operated; Self adaptation sampling point compensating module, after having operated a code tree unit CTU buffer, can send self adaptation sampling point compensating module operation settling signal, then will be released by the code tree unit CTU operated.
The technical problem to be solved in the present invention two, be that providing one to realize wheel based on code tree unit CTU buffer turns operating system, realizes the wheel of three modules to CTU and turns and time-sharing operation, achieve the operation of CTU pipelining-stage, accelerate all decode operation flow processs, improve decoding efficiency.
Two of problem of the present invention is achieved in that one realizes wheel based on code tree unit CTU buffer and turns operating system, and described system comprises a data reconstructed module, a data filtration module, a self adaptation sampling point compensating module, a caching control module and four code tree unit CTU buffer; Described data reconstruction module, data filtering module, self adaptation sampling point compensating module are all connected with described caching control module, and described four code tree unit CTU buffer are all connected with described caching control module; Described caching control module control data reconstructed module, data filtering module, self adaptation sampling point compensating module are to the operation of four code tree unit CTU buffer; Described caching control module characterizes each code tree unit CTU buffer by cache blocks count status and cache blocks state control signal and is in which module operation.
Further, described data reconstruction module, having operated in four after a code tree unit CTU buffer, can send data reconstruction module operation settling signal, then will be released by the code tree unit CTU buffer operated; Data filtering module, after having operated a code tree unit CTU buffer, can send data filtering module operation settling signal, then will be released by the code tree unit CTU buffer operated; Self adaptation sampling point compensating module, after having operated a code tree unit CTU buffer, can send self adaptation sampling point compensating module operation settling signal, then will be released by the code tree unit CTU operated.
Tool of the present invention has the following advantages: the present invention performs data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Improve the data interaction of CTU rank between HEVC Video Decoder design module, realize CTU water operation, video decode efficiency is provided, improve decoder design performance.
Accompanying drawing explanation
Fig. 1 is the sequential flow chart operated code tree unit CTU buffer of the inventive method.
Fig. 2 is the structure principle chart of present system.
Embodiment
Refer to shown in Fig. 1, one of the present invention realizes wheel based on code tree unit CTU buffer and turns method of operation, described method comprises data reconstruction module, data filtering module, self adaptation sampling point compensating module, and described method also needs to provide caching control module and four code tree unit CTU buffer; Described caching control module characterizes each code tree unit CTU buffer by cache blocks count status and cache blocks state control signal and is in which module operation; Perform data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Describedly perform data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Be specially:
Data reconstruction module is in operation four during the first code tree unit CTU buffer, by caching control module, data filtering module can learn whether the first code tree unit CTU buffer is released, no, data filtering module uses the second code tree unit CTU buffer in four to operate, that then data filtering module uses the first code tree unit CTU buffer in four to operate; By caching control module, self adaptation sampling point compensating module can learn whether the first code tree unit CTU buffer and the second code tree unit CTU buffer is released; Be and be released, then self adaptation sampling point compensating module uses the 3rd code tree unit CTU buffer in four to operate; First code tree unit CTU buffer discharges, then self adaptation sampling point compensating module uses the first code tree unit CTU buffer to operate; First code tree unit CTU buffer does not discharge, and the second code tree unit CTU buffer discharges, then self adaptation sampling point compensating module uses the second code tree unit CTU buffer to operate; By caching control module, data reconstruction module learns whether the first code tree unit CTU buffer, the second code tree unit CTU buffer, the 3rd code tree unit CTU buffer are released when next round turns operation again; All be not released, then data reconstruction module uses the 4th code tree unit CTU buffer to operate, the like operated in turn by four code tree unit CTU buffer, thus improve video decode efficiency.
Wherein, data reconstruction module, having operated in four after a code tree unit CTU buffer, can send data reconstruction module operation settling signal, then will be released by the code tree unit CTU buffer operated; Data filtering module, after having operated a code tree unit CTU buffer, can send data filtering module operation settling signal, then will be released by the code tree unit CTU buffer operated; Self adaptation sampling point compensating module, after having operated a code tree unit CTU buffer, can send self adaptation sampling point compensating module operation settling signal, then will be released by the code tree unit CTU operated.
Here it should be noted that: in prior art, data reconstruction module (recon), data filtering module (dblocking), self adaptation sampling point compensating module (sao) three moulds are completely isolated to the operation of code tree unit CTU buff soon, be equivalent to wait data reconstruction module (recon) all operations complete after just can carry out data filtering module (dbking) operation, just have the operation of self adaptation sampling point compensating module (sao) afterwards, such efficiency is low.
The present invention can see see on the left figure sequential chart of Fig. 1: operating sequence is data reconstruction module (recon), data filtering module (dbking), self adaptation sampling point compensating module (sao), data reconstruction module (recon) can be stored in code tree unit CTU buff0 information, this time only has write operation, that data filtering module (dbling) is carried out code tree unit CTU buff0 and operated afterwards, the write operation of code tree unit CTU buff1 can be carried out data reconstruction module in this time (recon) simultaneously, third shot starts to be exactly that self adaptation sampling point compensating module (sao) carries out read operation to code tree unit CTU buff0, data reconstruction module in this time (recon) carries out write operation to buff2, data filtering module (dbking) can carry out code tree unit CTU buff1, operation, by that analogy, be exactly with area throw-over degree in fact, realize CTU level flowing water, thus expedited data writes out.
Refer to shown in Fig. 2, one of the present invention realizes wheel based on code tree unit CTU buffer and turns operating system, and described system comprises a data reconstructed module, a data filtration module, a self adaptation sampling point compensating module, a caching control module and four code tree unit CTU buffer; Described data reconstruction module, data filtering module, self adaptation sampling point compensating module are all connected with described caching control module, and described four code tree unit CTU buffer are all connected with described caching control module; Described caching control module control data reconstructed module, data filtering module, self adaptation sampling point compensating module are to the operation of four code tree unit CTU buffer; Described caching control module characterizes each code tree unit CTU buffer by cache blocks count status and cache blocks state control signal and is in which module operation.
Wherein, described data reconstruction module, having operated in four after a code tree unit CTU buffer, can send data reconstruction module operation settling signal, then will be released by the code tree unit CTU buffer operated; Data filtering module, after having operated a code tree unit CTU buffer, can send data filtering module operation settling signal, then will be released by the code tree unit CTU buffer operated; Self adaptation sampling point compensating module, after having operated a code tree unit CTU buffer, can send self adaptation sampling point compensating module operation settling signal, then will be released by the code tree unit CTU operated.
In a word, the present invention performs data reconstructed module by caching control module, data filtering module, the use of self adaptation sampling point compensating module to four code tree unit CTU buffer distribute; Improve the data interaction of CTU rank between HEVC Video Decoder design module, realize CTU water operation, video decode efficiency is provided, improve decoder design performance.
The foregoing is only preferred embodiment of the present invention, all equalizations done according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.