Non Blocking Filter Design and Improve
Non Blocking Filter Design and Improve
264 Decoder
1st Le Bao Ngoc 2nd Vu Minh Nhat 3rd Vu Minh Duc
Student ID:20182930 Student ID:20182931 Student ID:20182911
Class: ET-E4 K63 Class: ET-E4 K63 Class: ET-E4 K63
Abstract—Important developments in the fields of image pro- • Motion compensation–(MC) reconstructs the macroblock
cessing were born efficient image transmission and compression (MB) from neighbor reference frames.
techniques allow solving a lot of bandwidth problems. Among • INTRA prediction reconstructs the macroblock from the
them, the most outstanding is the introduction of the compression
standard, H.264 is considered the best video compression stan- neighbor macroblocks in the same frame.
dard today. The H.264 compression standard allows data whether • INTER or INTRA prediction reconstructed macroblock
the video is compressed with a very high compression ratio but is added to the residues.
still meets the quality requirements image quality. The purpose • The reconstructed frame is filtered by non-blocking filter
of this thesis is to focus on research and simulation programming and the result is sent to the frame memory.
Deblocking filter algorithm in H.264 standard. This is an image
recovery algorithm for allows to improve the quality of video
images compressed according to the H.264 standard, in order
to overcome degradation of image quality due to the factors
themselves in the compression methods caused data. Deblocking
algorithms can be installed on specialized hardware use as well
as by software.
Index Terms—deblocking filter, H.264 decoder, pipelined ar-
chitecture
I. I NTRODUCTION
Most video compression standards such as: ITU- H.2631,2,
MPEG-43 and H.264 use block-based transformations to ex-
ploit spatial redundancy in frames (Transformations based on
blocks include: cosine transform discrete - DCT, quantiza-
tion and entropy encoding. . . ). Quantizing by dividing the
coefficients obtained from the DCT transformation for the
quantization coefficients do most of the coefficients with small Fig. 1. H.264/AVC Decoder Architecture
values in each block are suppressed. As a result, when the
compression ratio is high, only remaining DC coefficient and
a few other coefficients. This loses relevance and calculation
continuity of pixels at the boundary between adjacent blocks.
This phenomenon is known as blocking artifacts [1, 4-10].
TABLE I
D EBLOCKING F ILTER W ITH E ACH S TANDARD
Fig. 4. Edge positions for a given 4x4 block inside a 16x16 macroblock
Fig. 6. Oversegmented Image
• The color format is YCbCr 4:2:0 (croma-luma).
q0, q1, q2, q3
B. Edge Filter
In the non-blocking filter process, the edge filter is the heart
of the process:
• The Edge Filter architecture can accept one LOP per
Fig. 10. Deblocking Filter Algorithm Diagram(Continue) cycle for Q and P blocks and produce the filtered Q’
and P’ LOP.
For chroma component filtering, only the p0 and q0 values • An entire block border will enter in the Edge Filter each
can be modified. These values are filtered in the same way four cycles (one block border is four LOPs tall).
D. Deblocking Filter Architecture
1.Design Block
Fig. 22. Input Block Sequence In Input Buffer Of The Deblocking Filter
Fig. 19. Architecture of 8 pixels parallel-in parallel-out filter Fig. 23. Deblocking Filter Output Block Sequence
∗Result:
Algorithm 4: YUV
∗QP = 18, searching window size is 8, the threshold
parameters are set equal to 4. Inter prediction mode with
variable dimensions, using Intra mode for the first frame: