CN103491373A - Four-level stream filtering method of block-removing filter suitable for HEVC standard - Google Patents

Four-level stream filtering method of block-removing filter suitable for HEVC standard Download PDF

Info

Publication number
CN103491373A
CN103491373A CN201310402353.XA CN201310402353A CN103491373A CN 103491373 A CN103491373 A CN 103491373A CN 201310402353 A CN201310402353 A CN 201310402353A CN 103491373 A CN103491373 A CN 103491373A
Authority
CN
China
Prior art keywords
value
piece
formula
pixel
limit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310402353.XA
Other languages
Chinese (zh)
Other versions
CN103491373B (en
Inventor
范益波
沈蔚炜
尚青
曾晓洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fudan University
Original Assignee
Fudan University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fudan University filed Critical Fudan University
Priority to CN201310402353.XA priority Critical patent/CN103491373B/en
Publication of CN103491373A publication Critical patent/CN103491373A/en
Application granted granted Critical
Publication of CN103491373B publication Critical patent/CN103491373B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention belongs to the technical field of high-definition digital video compression encoding and decoding and particularly relates to a four-level stream filtering method of a block-removing filter suitable for the HEVC standard. In an original video stream, each image is set to comprise a luminance component Y, and each luminance component corresponds to two chrominance components Cb and Cr; Y, Cb and Cr are filtered in a block-removing filter module, and the minimum basic unit in each time of processing is the side of a 4*4 pixel block; the luminance component Y and the two chrominance components Cb and Cr are used for filtering the side of each 4*4 pixel block in a four-level stream manner. The four-level stream filtering method of the block-removing filter suitable for the HEVC standard can effectively shorten the processing time, improve the highest working frequency and the processing capacity of a chip, and therefore efficiently achieve real-time encoding of a high-definition video.

Description

A kind of level Four flowing water filtering method that is applicable to the deblocking filter of HEVC standard
Technical field
The invention belongs to high-definition digital video compression coding and decoding technical field, for the HEVC video encoding and decoding standard, be specifically related to a kind of level Four flowing water filtering method of deblocking filter of the HEVC of being applicable to standard.
Background technology
HEVC (High Efficiency Video Coding) is combined the video encoding and decoding standard of future generation of organizing JCTVC to propose of establishment by international telecommunication tissue (ITU) and Motion Picture Experts Group (MPEG).Target is under the prerequisite of identical visual effect, and than the previous generation standard H.264/AVC, compression ratio doubles.
Video encoder based on HEVC, its structure chart as shown in Figure 1, mainly is comprised of following module: the modules such as infra-frame prediction, inter prediction, conversion, quantification, inverse quantization, inverse transformation, reconstruction, deblocking filter, the compensation of self adaptation sampling point form.The basic process of video compression coding can be summarized as follows: 1. utilize infra-frame prediction or inter prediction mode to be predicted current original video stream pixel; 2. original pixel value is subtracted each other and obtains residual values with prediction pixel value out; 3. residual error is converted and quantification treatment, the residual error coefficient that obtains output advanced CABAC(Context-based Adaptive Binary Arithmetic Coding again) the last compression output code flow of entropy coding formation; 4. residual error coefficient is processed through inverse quantization and inverse transformation, then obtains rebuilding pixel with the predict pixel addition obtained before, and storage is as the reference frame pixel of prediction.
Processing unit piece in HEVC has been introduced the structure of quaternary tree, and the size of image processing block is 64 * 64 to the maximum, and it can also continue recursively to be divided into 32 * 32,16 * 16,8 * 8,4 * 4 fritter combination, and is processed respectively.Coding side will once travel through all dividing condition of piece, to determine the best that is treated to of which kind of dividing condition.
The deblocking filter module as shown in fig. 1, this module mainly judges the PU(predicting unit) and the TU(converter unit) feature of both sides, border pixel value, pixel to the both sides, border carries out filtering, to eliminate some frame effects that caused due to the piece coded system, make reconstructed image there is better quality and PSNR value (Y-PSNR).
In canonical reference software HM9.0, the perpendicular edge that this module first drops on the 8x8 border to entire image is processed, then the horizontal sides that entire image drops on the 8x8 border is processed.And this filtering processing procedure is very complicated, can cause the maximum operating frequency of chip very low, can't carry out real-time coding to video flowing efficiently.
Summary of the invention
The object of the invention is to propose a kind of level Four streamline filtering method that can overcome the prior art deficiency, can effectively be applicable to the deblocking filter of HEVC standard.
In usual original video stream, every width image comprises a luminance component, is designated as Y, and corresponding two chromatic components of each luminance component, be designated as respectively Cb, Cr.In the deblocking filter module, be to Y, Cb and Cr carry out the filtering processing.Each minimum basic unit of processing is a 4x4 piece limit, as shown in Figure 2, wherein heavy black line is the 4x4 piece limit that need to carry out filtering, P piece and Q piece are the adjacent 4x4 pixel pieces in these both sides, limit, if when front is perpendicular edge, P piece and Q piece are respectively this left side, limit 4x4 pixel piece adjacent with the right, if when front be horizontal sides, P piece and Q piece are respectively this above limit and following adjacent 4x4 pixel piece.
Shown in Fig. 2, establish:
p 3,0, p2,0, p1,0, p0,0, q0,0, q1,0, q2,0, q3,0,
p 3,1, p2,1, p1,1, p0,1, q0,1, q1,1, q2,1, q3,1,
p 3,2, p2,2, p1,2, p0,2, q0,2, q1,2, q2,2, q3,2,
p 3,3, p2,3, p1,3, p0,3, q0,3, q1,3, q2,3, q3,3,
The value of 16 relevant position pixels in the P piece that the left side square formation is 4x4; The value of 16 relevant position pixels in the Q piece that the right side square formation is 4x4; In two square formations, 8 pixels of the first row are first group, and 8 pixels of the second row are second group, and 8 pixels of the third line are the 3rd group, and 8 pixels of fourth line are the 4th group;
The level Four flowing water filtering method that the present invention proposes, both can carry out the filtering processing to the Y component, also can carry out the filtering processing to Cb and Cr component, and the concrete steps of level Four flowing water filtering method of the present invention are as follows:
(1) first order
Signal to memory, read the P piece on corresponding 4x4 piece limit and the pixel number certificate of Q piece, calculate the filtering strength BS value on current 4x4 piece limit simultaneously, BS can be obtained by table 1 judgement; Calculate threshold value beta and threshold value tc value when the 4x4 piece limit of pre-treatment.
Following the example of of table 1 BS value
The BS value Condition
2 In P piece and Q piece, have at least one to be infra-frame prediction
1 In P piece and Q piece, have at least a piece residual transform coefficient of non-zero to be arranged, the limit that this limit is converter unit simultaneously
1 The absolute value of the motion vector difference of P piece and Q piece is more than or equal to a whole pixel
1 The inter prediction reference of P piece and Q piece be different reference frame, or motion vector number between the two is different
0 Other situation
The value of β and tc can be by formula (1), and (2) obtain, and wherein Bitdepth refers to the bit number of this each pixel of image, for an image, is a constant.β ', tc ' can be that input is tabled look-up and 2 can be obtained by Q, Q is an input variable.
(1)
(2)
Table 2 β ' and tc ' table look-up
Q 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
β′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 7 8
tc′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Q 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
β′ 9 10 11 12 13 14 15 16 17 18 20 22 24 26 28 30 32 34 36
tc′ 1 1 1 1 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4
Q 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
β′ 38 40 42 44 46 48 50 52 54 56 58 60 62 64 - -
tc′ 5 5 6 6 7 8 9 10 11 13 14 16 18 20 22 24
(2) second level
Calculate the filtering decision value dE when the 4x4 piece limit of pre-treatment, p point decision value dEp, q point decision value dEq, filtering judgment condition value CON, weak filtering judgment condition value CON_W, luminance threshold
Figure 201310402353X100002DEST_PATH_IMAGE003
, Chroma threshold
Figure 926952DEST_PATH_IMAGE003
the value of C.
Figure 201310402353X100002DEST_PATH_DEST_PATH_IMAGE004
calculate dE value, if formula (3) establishment, dE is 1, otherwise is 0, dp0 wherein, dp3, dq0, dq3 can be by formula (4), (5), and (6), (7) obtain, wherein p2,0, p1,0, p0,0, p2,3, p1,3, p0,3, q2,0, q1,0, q0,0, q2,3, q1,3, q0,3 values that are relevant position pixel in Fig. 2.
Figure 201310402353X100002DEST_PATH_IMAGE005
(3)
(4)
Figure 201310402353X100002DEST_PATH_IMAGE007
(5)
Figure 244167DEST_PATH_IMAGE008
(6)
Figure 201310402353X100002DEST_PATH_IMAGE009
(7)
Figure 353113DEST_PATH_IMAGE010
calculate dEp, the value of dEq, if formula (8) is set up, dEp is 1, otherwise is 0.If formula (9) is set up, dEq is 1, otherwise is 0.
Figure 201310402353X100002DEST_PATH_IMAGE011
(8)
Figure 416884DEST_PATH_IMAGE012
(9)
calculate the value of CON, if formula (10), (11), set up simultaneously (12), and the value of CON is 1, otherwise is 0.
(10)
Figure 201310402353X100002DEST_PATH_IMAGE015
(11)
Figure 550242DEST_PATH_IMAGE016
(12)
Figure 201310402353X100002DEST_PATH_IMAGE017
calculate CON_W and value, if formula (13) is set up, the value of CON_W is 1, otherwise is 0.Wherein
Figure 360252DEST_PATH_IMAGE003
expression formula be shown in formula (14).
Figure 894002DEST_PATH_IMAGE018
(13)
Figure 201310402353X100002DEST_PATH_IMAGE019
(14)
Figure 417387DEST_PATH_IMAGE020
calculate
Figure 378390DEST_PATH_IMAGE003
cvalue, can be obtained by formula (15).
Figure 201310402353X100002DEST_PATH_IMAGE021
(15)。
(3) third level
To P piece and the corresponding data of Q piece, the data that obtain according to prime are carried out the filtering processing; Specific as follows:
Figure 354436DEST_PATH_IMAGE004
if what work as pre-treatment is the 4x4 piece limit of Y component, process as follows:
Figure 193341DEST_PATH_IMAGE022
. if the BS value on current 4x4 piece limit is 0, or dE equals 0, and the pixel point value of P piece and Q piece does not process, and keeps initial value.Otherwise carry out Step II and III.
Figure 201310402353X100002DEST_PATH_IMAGE023
. if the CON value on current 4x4 piece limit is 1, P piece and Q piece is carried out to strong filtering.We take shown in Fig. 2 the 1st group of 8 pixels and are processed as example.Use p0, q0, p1, q1, p2, the value of q2 is replaced original p0,0, q0,0, p1,0, q1,0, p2,0, q2,0 value, p0, q0, p1, q1, p2, the value of q2 can be by formula (16), (17), (18), (19), and (20), (21) obtain.
Figure 367971DEST_PATH_IMAGE024
(16)
Figure 201310402353X100002DEST_PATH_IMAGE025
(17)
Figure 703137DEST_PATH_IMAGE026
(18)
Figure 201310402353X100002DEST_PATH_IMAGE027
(19)
(20)
Figure 201310402353X100002DEST_PATH_IMAGE029
(21)
The 2nd of P piece and Q piece, the strong filter processing method of 8 pixels of 3,4 groups similarly.
. if the CON value on current 4x4 piece limit is 0, and simultaneously the value of CON_W is 1, P piece and Q piece is carried out to weak filtering, otherwise the pixel point value of P piece and Q piece do not process, and keeps initial value.We take shown in Fig. 2 the 1st group of 8 pixels and are processed as example.Use p0, the value of q0 is replaced original p0,0, q0, and 0 value, p0, the value of q0 can be by formula (22), and (23) obtain, if the value in Clip1 computing representative expression formula is less than 0, this value equals 0, if be greater than 255, equals 255, otherwise equals initial value. 1can be obtained by formula (19), the Clip3 computing represents that in the formula bracket, the 3rd value is less than first value, equals first value, if be greater than second value, equals second value, otherwise equals the 3rd value.
(22)
Figure 639552DEST_PATH_IMAGE032
(23)
Figure 201310402353X100002DEST_PATH_IMAGE033
(24)
If dEp is 1, by the value of p1, replace original p1,0 value, the value of p1 can be obtained by formula (26), wherein, intermediate quantity
Figure 386928DEST_PATH_IMAGE003
p can be obtained by formula (27).
Figure 269433DEST_PATH_IMAGE034
(26)
Figure 201310402353X100002DEST_PATH_IMAGE035
(27)
If dEq is 1, by the value of q1, replace original q1,0 value, the value of q1 can be obtained by formula (28), wherein, intermediate quantity
Figure 920120DEST_PATH_IMAGE003
q can be obtained by formula (29).
Figure 659406DEST_PATH_IMAGE036
(28)
Figure 201310402353X100002DEST_PATH_IMAGE037
(29)
The 2nd of P and Q piece, the weak filter processing method of 8 pixels of 3,4 groups similarly.
Figure 97340DEST_PATH_IMAGE010
if what work as pre-treatment is the 4x4 piece limit of Cb or Cr component, process as follows.
If the BS value on current 4x4 piece limit equals 2, P piece and Q piece are carried out to colourity filtering, otherwise the pixel point value of P piece and Q piece do not process, keep initial value.Here the processing method of the 1st group of 8 pixels shown in Fig. 2 of take describes as example.Use p0, the value of q0 is replaced original p0,0, q0,0 value.P0, the value of q0 can be by formula (30), and (31) obtain.
Figure 49116DEST_PATH_IMAGE038
(30)
(31)
The 2nd of P piece and Q piece, the processing method of 8 pixels of 3,4 groups similarly.
(4) fourth stage
To carry out by input requirements P piece and Q piece that filtering handles well and write back corresponding memory.
The present invention adopts a kind of level Four flowing water filtering method that effectively is applicable to the deblocking filter of HEVC standard, effectively reduces the processing time, maximum operating frequency and the chip disposal ability of raising property chip.
The accompanying drawing explanation
Fig. 1: HEVC video encoder structural diagrams.
Fig. 2: need the 4x4 pixel piece edge graph of filtering to show.
Embodiment
Below by example also by reference to the accompanying drawings, further specifically describe the inventive method.
The level Four pipeline organization that the present invention proposes, both can carry out the filtering processing to the Y component, also can carry out the filtering processing to Cb and Cr component, and in this level Four pipeline organization, the detailed process of every one-level is as described below.
(1) first order
Signal to memory, read the P on corresponding 4x4 piece limit and the pixel number certificate of Q piece, calculate the BS value on current 4x4 piece limit simultaneously, BS can be obtained by table one judgement.Calculate β and tc value when the 4x4 piece limit of pre-treatment, the value of β and tc can be by formula (1), and (2) obtain, and wherein Bitdepth refers to the bit number of this each pixel of image, for an image, is a constant.β ', tc ' can be that input is tabled look-up and 2 can be obtained by Q, the unique input variable of Q.
Figure 318423DEST_PATH_IMAGE040
(1)
Figure DEST_PATH_IMAGE041
(2)
Table 2 β ' and tc ' table look-up
Q 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
β′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 7 8
tc′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Q 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
β′ 9 10 11 12 13 14 15 16 17 18 20 22 24 26 28 30 32 34 36
tc′ 1 1 1 1 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4
Q 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
β′ 38 40 42 44 46 48 50 52 54 56 58 60 62 64 - -
tc′ 5 5 6 6 7 8 9 10 11 13 14 16 18 20 22 24
(2) second level
Figure DEST_PATH_553236DEST_PATH_IMAGE004
calculate dE value, if formula (3) establishment, dE is 1, otherwise is 0, dp0 wherein, dp3, dq0, dq3 can be by formula (4), (5), and (6), (7) obtain, wherein p2,0, p1,0, p0,0, p2,3, p1,3, p0,3, q2,0, q1,0, q0,0, q2,3, q1,3, q0,3 values that are relevant position pixel in Fig. 2.
(3)
Figure 846991DEST_PATH_IMAGE042
(4)
(5)
Figure 970804DEST_PATH_IMAGE044
(6)
Figure DEST_PATH_IMAGE045
(7)
Figure 786314DEST_PATH_IMAGE010
calculate dEp, the value of dEq, if formula (8) is set up, dEp is 1, otherwise is 0.If formula (9) is set up, dEq is 1, otherwise is 0.
Figure 198840DEST_PATH_IMAGE046
(8)
Figure DEST_PATH_IMAGE047
(9)
Figure 259463DEST_PATH_IMAGE013
calculate the value of CON, if formula (10), (11), set up simultaneously (12), and the value of CON is 1, otherwise is 0.
(10)
(11)
Figure DEST_PATH_IMAGE049
(12)
Figure 327279DEST_PATH_IMAGE017
calculate CON_W and value, if formula (13) is set up, the value of CON_W is 1, otherwise is 0.Wherein
Figure 726216DEST_PATH_IMAGE003
can be obtained by formula (14).
(13)
Figure DEST_PATH_IMAGE051
(14)
Figure 536226DEST_PATH_IMAGE020
calculate
Figure 171607DEST_PATH_IMAGE003
cvalue, can be obtained by formula (15).
Figure 327782DEST_PATH_IMAGE052
(15)。
(3) third level
Figure 921574DEST_PATH_IMAGE004
if what work as pre-treatment is the 4x4 piece limit of Y component, process as follows.
Figure 530410DEST_PATH_IMAGE022
. if the BS value on current 4x4 piece limit is 0, or dE equals 0, and the pixel point value of P and Q piece does not process, and keeps initial value.Otherwise carry out Step II and III.
Figure 703902DEST_PATH_IMAGE023
. if the CON value on current 4x4 piece limit is 1, P and Q piece is carried out to strong filtering.We take shown in Fig. 2 the 1st group of 8 pixels and are processed as example.Use p0, q0, p1, q1, p2, the value of q2 is replaced original p0,0, q0,0, p1,0, q1,0, p2,0, q2,0 value, p0, q0, p1, q1, p2, the value of q2 can be by formula (16), (17), (18), (19), and (20), (21) obtain.
Figure DEST_PATH_IMAGE053
(16)
Figure 543945DEST_PATH_IMAGE054
(17)
Figure DEST_PATH_IMAGE055
(18)
Figure 511901DEST_PATH_IMAGE056
(19)
Figure DEST_PATH_IMAGE057
(20)
(21)
The 2nd of P and Q piece, the strong filter processing method of 8 pixels of 3,4 groups similarly.
. if the CON value on current 4x4 piece limit is 0, and simultaneously the value of CON_W is 1, P and Q piece is carried out to weak filtering, otherwise the pixel point value of P and Q piece do not process, and keeps initial value.We take shown in Fig. 2 the 1st group of 8 pixels and are processed as example.Use p0, the value of q0 is replaced original p0,0, q0, and 0 value, p0, the value of q0 can be by formula (22), and (23) obtain, if the value in Clip1 computing representative expression formula is less than 0, this value equals 0, if be greater than 255, equals 255, otherwise equals initial value.
Figure 512721DEST_PATH_IMAGE003
1can be obtained by formula (19), the Clip3 computing represents that in the formula bracket, the 3rd value is less than first value, equals first value, if be greater than second value, equals second value, otherwise equals the 3rd value.
(22)
(23)
Figure DEST_PATH_IMAGE061
(24)
If dEp is 1, by the value of p1, replace original p1,0 value, the value of p1 can be obtained by formula (26), wherein
Figure 562902DEST_PATH_IMAGE003
p can be obtained by formula (27).
(26)
(27)
If dEq is 1, by the value of q1, replace original q1,0 value, the value of q1 can be obtained by formula (28), wherein
Figure 96094DEST_PATH_IMAGE003
q can be obtained by formula (29).
Figure 405852DEST_PATH_IMAGE064
(28)
Figure DEST_PATH_IMAGE065
(29)
The 2nd of P and Q piece, the weak filter processing method of 8 pixels of 3,4 groups similarly.
Figure 7735DEST_PATH_IMAGE010
if what work as pre-treatment is the 4x4 piece limit of Cb or Cr component, process as follows.
If the BS value on current 4x4 piece limit equals 2, P piece and Q piece are carried out to colourity filtering, otherwise the pixel point value of P and Q piece do not process, keep initial value.Here the processing method of the 1st group of 8 pixels shown in Fig. 2 of take describes as example.Use p0, the value of q0 is replaced original p0,0, q0,0 value.P0, the value of q0 can be by formula (30), and (31) obtain.
Figure 61142DEST_PATH_IMAGE066
(30)
Figure DEST_PATH_IMAGE067
(31)
The 2nd of P and Q piece, the processing method of 8 pixels of 3,4 groups similarly.
(4) fourth stage
To carry out by input requirements P and Q piece that filtering handles well and write back corresponding memory.

Claims (1)

1. a level Four flowing water filtering method that is applicable to the deblocking filter of HEVC standard, establish in original video stream, and every width image comprises a luminance component, is designated as Y, and corresponding two chromatic components of each luminance component, be designated as respectively Cb, Cr; In the deblocking filter module, Y, Cb and all right filtering of Cr are processed, the limit that each minimum basic unit of processing is a 4x4 pixel piece, if P piece and the Q piece adjacent 4x4 pixel piece that is these both sides, limit, if when front is perpendicular edge, P piece and Q piece are respectively this left side, limit 4x4 pixel piece adjacent with the right, if when front be horizontal sides, P piece and Q piece are respectively this above limit and following adjacent 4x4 pixel piece; If:
p 3,0, p2,0, p1,0, p0,0, q0,0, q1,0, q2,0, q3,0,
p 3,1, p2,1, p1,1, p0,1, q0,1, q1,1, q2,1, q3,1,
p 3,2, p2,2, p1,2, p0,2, q0,2, q1,2, q2,2, q3,2,
p 3,3, p2,3, p1,3, p0,3, q0,3, q1,3, q2,3, q3,3,
The value of 16 relevant position pixels in the P piece that the left side square formation is 4x4; The value of 16 relevant position pixels in the Q piece that the right side square formation is 4x4; In two square formations, 8 pixels of the first row are first group, and 8 pixels of the second row are second group, and 8 pixels of the third line are the 3rd group, and 8 pixels of fourth line are the 4th group;
It is characterized in that concrete steps are as follows:
(1) first order
Signal to memory, read the P piece on corresponding 4x4 piece limit and the pixel number certificate of Q piece, calculate the filtering strength BS value on current 4x4 pixel piece limit simultaneously, BS is obtained by table 1 judgement;
Following the example of of table 1 BS value
The BS value Condition 2 In P piece and Q piece, have at least one to be infra-frame prediction 1 In P piece and Q piece, have at least a piece residual transform coefficient of non-zero to be arranged, the limit that this limit is converter unit simultaneously 1 The absolute value of the motion vector difference of P piece and Q piece is more than or equal to a whole pixel 1 The inter prediction reference of P piece and Q piece be different reference frame, or motion vector number between the two is different 0 Other situation
By formula (1), (2) calculate threshold value beta and the threshold value tc value when the 4x4 pixel piece limit of pre-treatment;
Wherein, Bitdepth refers to the bit number of this each pixel of image, for an image, is a constant; β ', tc ' is that input is tabled look-up and 2 obtained by Q, Q is an input variable;
Figure 201310402353X100001DEST_PATH_IMAGE001
(1)
Figure 832222DEST_PATH_IMAGE002
(2)
Table 2 β ' and tc ' table look-up
Q 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 β′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 7 8 tc′ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 Q 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 β′ 9 10 11 12 13 14 15 16 17 18 20 22 24 26 28 30 32 34 36 tc′ 1 1 1 1 1 1 1 1 2 2 2 2 3 3 3 3 4 4 4 Q 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 β′ 38 40 42 44 46 48 50 52 54 56 58 60 62 64 - - tc′ 5 5 6 6 7 8 9 10 11 13 14 16 18 20 22 24
(2) second level
Calculate the filtering decision value dE when the 4x4 pixel piece limit of pre-treatment, p point decision value dEp, q point decision value dEq, filtering judgment condition value CON, weak filtering judgment condition value CON_W, luminance threshold
Figure 201310402353X100001DEST_PATH_IMAGE003
, Chroma threshold
Figure 573170DEST_PATH_IMAGE003
the value of C:
Figure 982285DEST_PATH_IMAGE004
calculate dE value, if formula (3) establishment, dE is 1, otherwise is 0, dp0 wherein, and dp3, dq0, dq3 is by formula (4), (5), and (6), (7) obtain:
Figure 201310402353X100001DEST_PATH_IMAGE005
(3)
Figure 505670DEST_PATH_IMAGE006
(4)
Figure 201310402353X100001DEST_PATH_IMAGE007
(5)
Figure 935515DEST_PATH_IMAGE008
(6)
Figure 201310402353X100001DEST_PATH_IMAGE009
(7)
Figure 708299DEST_PATH_IMAGE010
calculate dEp, the value of dEq, if formula (8) is set up, dEp is 1, otherwise is 0; If formula (9) is set up, dEq is 1, otherwise is 0;
Figure 201310402353X100001DEST_PATH_IMAGE011
(8)
Figure 655526DEST_PATH_IMAGE012
(9)
calculate the value of CON, if formula (10), (11), set up simultaneously (12), and the value of CON is 1, otherwise is 0;
Figure 298997DEST_PATH_IMAGE014
(10)
(11)
Figure 40688DEST_PATH_IMAGE016
(12)
calculate CON_W and
Figure 566347DEST_PATH_IMAGE003
value, if formula (13) is set up, the value of CON_W is 1, otherwise is 0; Wherein,
Figure 645162DEST_PATH_IMAGE003
shown in formula (14),
(13)
Figure 201310402353X100001DEST_PATH_IMAGE019
(14)
Figure 819846DEST_PATH_IMAGE020
calculate cvalue, can be obtained by formula (15);
Figure 201310402353X100001DEST_PATH_IMAGE021
(15)
(3) third level
To P piece and the corresponding data of Q piece, the data that obtain according to prime are carried out the filtering processing; Specific as follows:
Figure 325094DEST_PATH_IMAGE004
if what work as pre-treatment is the 4x4 pixel piece limit of Y component, process as follows:
Figure 474315DEST_PATH_IMAGE022
. if the BS value on current 4x4 pixel piece limit is 0, or dE equals 0, and the pixel point value of P piece and Q piece does not process, and keeps initial value, otherwise carries out Step II and III;
Figure 201310402353X100001DEST_PATH_IMAGE023
. if the CON value on current 4x4 pixel piece limit is 1, P and Q piece is carried out to strong filtering, carries out processing method for the 1st group of 8 pixels to be: use p0, q0, p1, q1, p2, the value of q2 is replaced original p0,0, q0,0, p1,0, q1,0, p2,0, q2,0 value, p0, q0, p1, q1, p2, the value of q2 is by formula (16), (17), (18), (19), (20), (21) obtain:
Figure 823388DEST_PATH_IMAGE024
(16)
Figure 201310402353X100001DEST_PATH_IMAGE025
(17)
Figure 933427DEST_PATH_IMAGE026
(18)
(19)
Figure 58771DEST_PATH_IMAGE028
(20)
Figure 201310402353X100001DEST_PATH_IMAGE029
(21)
The 2nd of P piece and Q piece, the strong filter processing method of 8 pixels of 3,4 groups is similarly;
Figure 62499DEST_PATH_IMAGE030
. if the CON value on current 4x4 pixel piece limit is 0, and the value of CON_W is 1 simultaneously, P piece and Q piece are carried out to weak filtering, otherwise the pixel point value of P piece and Q piece does not process; Carrying out processing method for the 1st group of 8 pixels is: use p0, the value of q0 is replaced original p0,0, q0,0 value, p0, the value of q0 is by formula (22), and (23) obtain, if the value in Clip1 computing representative expression formula is less than 0, this value equals 0, if be greater than 255, equals 255, otherwise equals initial value; Intermediate quantity 1by formula (19), obtained, the Clip3 computing represents that in the formula bracket, the 3rd value is less than first value, equals first value, if be greater than second value, equals second value, otherwise equals the 3rd value:
Figure 201310402353X100001DEST_PATH_IMAGE031
(22)
Figure 773283DEST_PATH_IMAGE032
(23)
Figure DEST_PATH_IMAGE033
(24)
If dEp is 1, by the value of p1, replace original p1,0 value, the value of p1 is obtained by formula (26), wherein, intermediate quantity
Figure 404116DEST_PATH_IMAGE003
p is obtained by formula (27):
Figure 465613DEST_PATH_IMAGE034
(26)
Figure DEST_PATH_IMAGE035
(27)
If dEq is 1, by the value of q1, replace original q1,0 value, the value of q1 is obtained by formula (28), wherein, intermediate quantity
Figure 546701DEST_PATH_IMAGE003
q is obtained by formula (29):
Figure 959228DEST_PATH_IMAGE036
(28)
Figure DEST_PATH_IMAGE037
(29)
The 2nd of P piece and Q piece, the weak filter processing method of 8 pixels of 3,4 groups is similarly;
Figure 659331DEST_PATH_IMAGE010
if what work as pre-treatment is the 4x4 pixel piece limit of Cb or Cr component, process as follows:
If the BS value on current 4x4 pixel piece limit equals 2, P piece and Q piece are carried out to colourity filtering, otherwise the pixel point value of P piece and Q piece do not process, keep initial value; Processing method for the 1st group of 8 pixels is: use p0, the value of q0 is replaced original p0,0, q0,0 value; P0, the value of q0 is by formula (30), and (31) obtain:
Figure 840913DEST_PATH_IMAGE038
(30)
Figure DEST_PATH_IMAGE039
(31)
The 2nd of P piece and Q piece, the processing method of 8 pixels of 3,4 groups is similarly;
(4) fourth stage
To carry out by input requirements P piece and Q piece that filtering handles well and write back corresponding memory.
CN201310402353.XA 2013-09-06 2013-09-06 A kind of level Four flowing water filtering method of deblocking filter suitable for HEVC standard Active CN103491373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310402353.XA CN103491373B (en) 2013-09-06 2013-09-06 A kind of level Four flowing water filtering method of deblocking filter suitable for HEVC standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310402353.XA CN103491373B (en) 2013-09-06 2013-09-06 A kind of level Four flowing water filtering method of deblocking filter suitable for HEVC standard

Publications (2)

Publication Number Publication Date
CN103491373A true CN103491373A (en) 2014-01-01
CN103491373B CN103491373B (en) 2018-04-27

Family

ID=49831293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310402353.XA Active CN103491373B (en) 2013-09-06 2013-09-06 A kind of level Four flowing water filtering method of deblocking filter suitable for HEVC standard

Country Status (1)

Country Link
CN (1) CN103491373B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253998A (en) * 2014-09-25 2014-12-31 复旦大学 Hardware on-chip storage method of deblocking effect filter applying to HEVC (High Efficiency Video Coding) standard
CN111131821A (en) * 2018-10-31 2020-05-08 北京字节跳动网络技术有限公司 Deblocking filtering under dependent quantization
CN113812163A (en) * 2019-05-11 2021-12-17 北京字节跳动网络技术有限公司 Deblocking filter for video coding and decoding
CN114979633A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453651A (en) * 2007-11-30 2009-06-10 华为技术有限公司 A deblocking filtering method and apparatus
CN101472175A (en) * 2007-12-29 2009-07-01 智多微电子(上海)有限公司 De-block effect filter capable of supporting multi-video standard
CN101754010A (en) * 2008-12-18 2010-06-23 北京中星微电子有限公司 Loop filtering method of video data encoding and filter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453651A (en) * 2007-11-30 2009-06-10 华为技术有限公司 A deblocking filtering method and apparatus
CN101472175A (en) * 2007-12-29 2009-07-01 智多微电子(上海)有限公司 De-block effect filter capable of supporting multi-video standard
CN101754010A (en) * 2008-12-18 2010-06-23 北京中星微电子有限公司 Loop filtering method of video data encoding and filter

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
BENJAMIN BROSS: "High efficiency video coding (HEVC) text specification draft 8", 《JCTVC-J1003_D7》 *
WEIWEI SHEN等: "A high-throughput VLSI architecture for deblockin} filter in HEVC", 《IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS)》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253998A (en) * 2014-09-25 2014-12-31 复旦大学 Hardware on-chip storage method of deblocking effect filter applying to HEVC (High Efficiency Video Coding) standard
CN104253998B (en) * 2014-09-25 2017-05-10 复旦大学 Hardware on-chip storage method of deblocking effect filter applying to HEVC (High Efficiency Video Coding) standard
CN114979636A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples
CN114979637B (en) * 2017-10-09 2023-10-27 佳能株式会社 Method, apparatus and storage medium for filtering a sample block
CN114979633A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples
CN114979635A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples
CN114979637A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples
CN114979634A (en) * 2017-10-09 2022-08-30 佳能株式会社 Method, apparatus and storage medium for filtering a block of samples
CN114979633B (en) * 2017-10-09 2023-10-27 佳能株式会社 Method, apparatus and storage medium for filtering a sample block
CN114979636B (en) * 2017-10-09 2023-10-27 佳能株式会社 Method, apparatus and storage medium for filtering a sample block
CN114979634B (en) * 2017-10-09 2023-10-27 佳能株式会社 Method, apparatus and storage medium for filtering a sample block
CN114979635B (en) * 2017-10-09 2023-10-27 佳能株式会社 Method, apparatus and storage medium for filtering a sample block
CN111131821B (en) * 2018-10-31 2023-05-09 北京字节跳动网络技术有限公司 Deblocking filtering under dependency quantization
CN111131821A (en) * 2018-10-31 2020-05-08 北京字节跳动网络技术有限公司 Deblocking filtering under dependent quantization
CN113812163A (en) * 2019-05-11 2021-12-17 北京字节跳动网络技术有限公司 Deblocking filter for video coding and decoding
CN113812163B (en) * 2019-05-11 2022-11-25 北京字节跳动网络技术有限公司 Deblocking filter for video coding and decoding

Also Published As

Publication number Publication date
CN103491373B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US20230353734A1 (en) Method and apparatus for encoding/decoding image information
CN103404151B (en) Image encoding/decoding method and apparatus for same
CN105898335B (en) Promote the loop circuit filtering method and loop filter of hardware efficiency
JP2023179682A (en) Intra prediction using linear or affine transformation with adjacent sample reduction
JP2024010188A (en) System and method for adopting deblocking filter to restored video data
CN103947208B (en) Reduce the method and device of deblocking filter
KR102138828B1 (en) Method and Apparatus for image encoding
EP2664149A1 (en) Deblocking filtering
NO20110939A1 (en) Method of video compression
CN111741299B (en) Method, device and equipment for selecting intra-frame prediction mode and storage medium
CN105306957A (en) Adaptive loop filtering method and device
CN103491373A (en) Four-level stream filtering method of block-removing filter suitable for HEVC standard
CN103442229A (en) Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard
GB2459568A (en) Overlap transform and de-blocking of decompressed video signal using an edge filter on sub-blocks for upper and left macroblocks
CN103442238A (en) Encoder SAO hardware processing method applicable to HEVC standard
EP3878185A1 (en) Asymmetric deblocking in a video encoder and/or video decoder
CN103491372B (en) A kind of filtering method of deblocking filter suitable for HEVC standard
CN104243985A (en) Sample self-adaption compensation in HEVC (high-efficiency video coding)
US20220141464A1 (en) Deblocking in a video encoder and/or video decoder
CN112806006B (en) Method and apparatus for encoding and decoding using reference samples determined by predefined criteria
KR100711025B1 (en) The method for filtering a residual signal to improve performance in the standard coding mode of motion picture
KR20130078320A (en) Method and device for encoding depth image
CN103442230B (en) The Lagrange multiplier obtaining value method of SAO mode adjudgings suitable for the encoder of HEVC standard
CN113906763B (en) Chroma deblocking coordination for video coding
JP6357133B2 (en) Intra prediction processing device, intra prediction processing method, intra prediction processing program, image encoding device, and image decoding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant